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: Bhumika Goyal
Appli
h Patil ,
"Chopra, Manish" , Dept-GE Linux NIC Dev
Cc: Bhumika Goyal
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
>arguments are
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 | 2 +-
1 file change