From: Saeed Mahameed Date: Fri, 29 May 2020 07:47:12 +0000 (-0700) Subject: net/mlx5: IPSec: Fix incorrect type for spi X-Git-Tag: baikal/mips/sdk5.9~13530^2~49^2~3 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=f1367c8cfbb35edc61fb4ef2e9bbaf87b686f4e6;p=kernel.git net/mlx5: IPSec: Fix incorrect type for spi spi is __be32, fix that. Fixes sparse warning: drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c:74:64 warning: incorrect type Signed-off-by: Saeed Mahameed --- diff --git a/include/linux/mlx5/accel.h b/include/linux/mlx5/accel.h index b919d143a9a6e..96ebaa94a92e5 100644 --- a/include/linux/mlx5/accel.h +++ b/include/linux/mlx5/accel.h @@ -76,7 +76,7 @@ struct aes_gcm_keymat { struct mlx5_accel_esp_xfrm_attrs { enum mlx5_accel_esp_action action; u32 esn; - u32 spi; + __be32 spi; u32 seq; u32 tfc_pad; u32 flags;