[Intel-wired-lan] [PATCH S9 10/15] ice: Constify global structures that can/should be

Bowers, AndrewX andrewx.bowers at intel.com
Tue Oct 30 22:23:48 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Friday, October 26, 2018 11:45 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S9 10/15] ice: Constify global structures
> that can/should be
> 
> From: Bruce Allan <bruce.w.allan at intel.com>
> 
> Indicate these structs should not be modified and take advantage of some
> compiler optimizations by making these structs const.
> 
> Signed-off-by: Bruce Allan <bruce.w.allan at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_ethtool.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list