]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Change struct members from bool to u8
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 9 Aug 2018 13:29:02 +0000 (06:29 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 Aug 2018 18:32:59 +0000 (11:32 -0700)
commit5027aa5d7219a5804b2f65767617e7881931536f
treebfa3e7c93f73563a3f7b2adfe2ed7bfa70508be7
parentae14da486f35b0f5c6f572b8277b6c636e3b99c2
ice: Change struct members from bool to u8

Recent versions of checkpatch have a new warning based on a documented
preference of Linus to not use bool in structures due to wasted space and
the size of bool is implementation dependent.  For more information, see
the email thread at https://lkml.org/lkml/2017/11/21/384.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_switch.h
drivers/net/ethernet/intel/ice/ice_txrx.h
drivers/net/ethernet/intel/ice/ice_type.h