Re: [PATCH] qlogic: netxen: constify bin_attribute structures

2017-02-22 Thread David Miller
From: Bhumika Goyal Date: Wed, 22 Feb 2017 00:17:48 +0530 > Declare bin_attribute structures as const as they are only passed as an > arguments to the functions device_remove_bin_file and > device_create_bin_file. These function arguments are of type const, so > bin_attribute

Re: [PATCH] qlogic: netxen: constify bin_attribute structures

2017-02-22 Thread David Miller
From: Bhumika Goyal Date: Wed, 22 Feb 2017 00:17:48 +0530 > Declare bin_attribute structures as const as they are only passed as an > arguments to the functions device_remove_bin_file and > device_create_bin_file. These function arguments are of type const, so > bin_attribute structures having

[PATCH] qlogic: netxen: constify bin_attribute structures

2017-02-21 Thread Bhumika Goyal
Declare bin_attribute structures as const as they are only passed as an arguments to the functions device_remove_bin_file and device_create_bin_file. These function arguments are of type const, so bin_attribute structures having this property can be made const too. Done using Coccinelle: @r1

[PATCH] qlogic: netxen: constify bin_attribute structures

2017-02-21 Thread Bhumika Goyal
Declare bin_attribute structures as const as they are only passed as an arguments to the functions device_remove_bin_file and device_create_bin_file. These function arguments are of type const, so bin_attribute structures having this property can be made const too. Done using Coccinelle: @r1