]> asedeno.scripts.mit.edu Git - linux.git/commit
ice: Silence semantic parser warnings
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 16 Apr 2019 17:24:38 +0000 (10:24 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 May 2019 17:51:54 +0000 (10:51 -0700)
commitfeee3cb3064ac1a67349a524a5d541cc73b4fe32
tree741c7e6d40973319506adad7483d3b0497942aa5
parentaa6ccf3f2d7042f94c4e91538956ce7051e7856e
ice: Silence semantic parser warnings

Recent versions of sparse warn about casting pointers to/from restricted
endian types in the Linux driver.  Silence those with the compiler
attribute __force macro from the Linux kernel to force casts to/from
restricted endian types.

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_nvm.c
drivers/net/ethernet/intel/ice/ice_switch.c