Re: [Nbd] [PATCH 4/6] qlogic: make device_attribute const
- To: David Miller <davem@...2890...>
- Cc: Julia Lawall <julia.lawall@...3043...>, "Rafael J. Wysocki" <rjw@...3025...>, Len Brown <lenb@...1285...>, jbacik@...2204..., Jiri Kosina <jikos@...1285...>, Benjamin Tissoires <benjamin.tissoires@...696...>, manish.chopra@...3044..., rahul.verma@...3044..., Dept-GELinuxNICDev@...3044..., harish.patil@...3044..., cascardo@...3045..., don@...3046..., Darren Hart <dvhart@...1270...>, Andy Shevchenko <andy@...1270...>, Sebastian Reichel <sre@...1285...>, ACPI Devel Maling List <linux-acpi@...25...>, Linux Kernel Mailing List <linux-kernel@...25...>, linux-block@...25..., nbd-general@lists.sourceforge.net, linux-input@...25..., netdev@...25..., Platform Driver <platform-driver-x86@...25...>, Linux PM <linux-pm@...25...>
- Subject: Re: [Nbd] [PATCH 4/6] qlogic: make device_attribute const
- From: Bhumika Goyal <bhumirks@...17...>
- Date: Mon, 21 Aug 2017 22:56:56 +0530
- Message-id: <CAOH+1jEieKFo0=+xb-8FUJgaQpa_FNyvipCuokeFQmYANby2iw@...18...>
- In-reply-to: <20170821.102506.1119648270525550825.davem@...2890...>
- References: <1503315792-14837-1-git-send-email-bhumirks@...17...> <1503315792-14837-5-git-send-email-bhumirks@...17...> <20170821.102506.1119648270525550825.davem@...2890...>
On Mon, Aug 21, 2017 at 10:55 PM, David Miller <davem@...2890...> wrote:
> From: Bhumika Goyal <bhumirks@...17...>
> Date: Mon, 21 Aug 2017 17:13:10 +0530
>
>> Make these const as they are only passed as an argument to the
>> function device_create_file and device_remove_file and the corresponding
>> arguments are of type const.
>> Done using Coccinelle
>>
>> Signed-off-by: Bhumika Goyal <bhumirks@...17...>
>
> Applied.
>
> But I would seriously suggest that when you have to cross subsystems
> like this, just send the patches individually to the respective
> maintainers rather than trying to make a "series" out of it.
>
Yes, noted. Thanks for the pointer.
Thanks,
Bhumika
> Thanks.
Reply to: