diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-29 00:47:12 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-29 21:20:22 -0700 |
commit | 44345c4c130ee3df9b9fbc366d59ab3ac707d7f8 (patch) | |
tree | a228fdc2122f41ad02e752e7f8a6198a4ace04f4 /include | |
parent | aee3e9c457f172870bdb87e675faf6c4528190b1 (diff) | |
download | linux-44345c4c130ee3df9b9fbc366d59ab3ac707d7f8.tar.bz2 |
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 <saeedm@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mlx5/accel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/accel.h b/include/linux/mlx5/accel.h index b919d143a9a6..96ebaa94a92e 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; |