summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2020-05-29 10:47:12 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-05-30 07:20:22 +0300
commit44345c4c130ee3df9b9fbc366d59ab3ac707d7f8 (patch)
treea228fdc2122f41ad02e752e7f8a6198a4ace04f4 /include/linux
parentaee3e9c457f172870bdb87e675faf6c4528190b1 (diff)
downloadlinux-44345c4c130ee3df9b9fbc366d59ab3ac707d7f8.tar.xz
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/linux')
-rw-r--r--include/linux/mlx5/accel.h2
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;