Re: [PATCH 2/2] qlcnic: add const to bin_attribute structure

2017-08-03 Thread David Miller
From: Bhumika Goyal Date: Wed, 2 Aug 2017 23:27:14 +0530 > Add const to bin_attribute structure as it is only passed to the > functions sysfs_{remove/create}_bin_file. The corresponding > arguments are of type const, so declare the structure to be const. > > Signed-off-by:

Re: [PATCH 2/2] qlcnic: add const to bin_attribute structure

2017-08-02 Thread Patil, Harish
x NIC Dev <dept-gelinuxnic...@cavium.com> Cc: Bhumika Goyal <bhumi...@gmail.com> Subject: [PATCH 2/2] qlcnic: add const to bin_attribute structure >Add const to bin_attribute structure as it is only passed to the >functions sysfs_{remove/create}_bin_file. The corresponding >argum

[PATCH 2/2] qlcnic: add const to bin_attribute structure

2017-08-02 Thread Bhumika Goyal
Add const to bin_attribute structure as it is only passed to the functions sysfs_{remove/create}_bin_file. The corresponding arguments are of type const, so declare the structure to be const. Signed-off-by: Bhumika Goyal --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c