Re: [Nbd] [PATCH 4/6] qlogic: make device_attribute const
- To: bhumirks@...17...
- Cc: julia.lawall@...3043..., rjw@...3025..., lenb@...1285..., jbacik@...2204..., jikos@...1285..., benjamin.tissoires@...696..., manish.chopra@...3044..., rahul.verma@...3044..., Dept-GELinuxNICDev@...3044..., harish.patil@...3044..., cascardo@...3045..., don@...3046..., dvhart@...1270..., andy@...1270..., sre@...1285..., linux-acpi@...25..., linux-kernel@...25..., linux-block@...25..., nbd-general@lists.sourceforge.net, linux-input@...25..., netdev@...25..., platform-driver-x86@...25..., linux-pm@...25...
- Subject: Re: [Nbd] [PATCH 4/6] qlogic: make device_attribute const
- From: David Miller <davem@...2890...>
- Date: Mon, 21 Aug 2017 10:25:06 -0700 (PDT)
- Message-id: <20170821.102506.1119648270525550825.davem@...2890...>
- In-reply-to: <1503315792-14837-5-git-send-email-bhumirks@...17...>
- References: <1503315792-14837-1-git-send-email-bhumirks@...17...> <1503315792-14837-5-git-send-email-bhumirks@...17...>
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.
Thanks.
Reply to: