]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Constify global structures that can/should be
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 26 Oct 2018 18:44:42 +0000 (11:44 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 20 Nov 2018 19:39:04 +0000 (11:39 -0800)
commit6b65f23c1389574571a0516c25cb16e0531981c4
treefd40a57d2d2a62744de6b9f1400b5a592b89e1f4
parent24977ebef2abde81419124c6cc2666189dd44f40
ice: Constify global structures that can/should be

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@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c