[Intel-wired-lan] [PATCH S19 14/15] ice: Silence semantic parser warnings

Bowers, AndrewX andrewx.bowers at intel.com
Fri Apr 26 22:02:24 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Tuesday, April 16, 2019 10:25 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S19 14/15] ice: Silence semantic parser
> warnings
> 
> From: Bruce Allan <bruce.w.allan at intel.com>
> 
> 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 at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> [Anirudh Venkataramanan <anirudh.venkataramanan at intel.com> cleaned
> up commit message]
> ---
>  drivers/net/ethernet/intel/ice/ice_nvm.c    | 4 ++--
>  drivers/net/ethernet/intel/ice/ice_switch.c | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)

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




More information about the Intel-wired-lan mailing list