sfc: fix ef100 RX prefix macro
authorEdward Cree <ecree.xilinx@gmail.com>
Mon, 14 Nov 2022 13:15:50 +0000 (13:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2022 09:07:02 +0000 (09:07 +0000)
commit5ae0c22634029da089dc7ce2602679ba9005dc51
tree6e6f3b45dad248368984ba6e7b85637be62499da
parent7d63b21d2745d86994b2d0f2371c4e7027138b39
sfc: fix ef100 RX prefix macro

Macro PREFIX_WIDTH_MASK uses unsigned long arithmetic for a shift of up
 to 32 bits, which breaks on 32-bit systems.  This did not previously
 show up as we weren't using any fields of width 32, but we now need to
 access ESF_GZ_RX_PREFIX_USER_MARK.
Change it to unsigned long long.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef100_rx.c