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 <>
Signed-off-by: Anirudh Venkataramanan <>
Tested-by: Andrew Bowers <>
Signed-off-by: Jeff Kirsher <>
2 files changed