Commit 44345c4c authored by Saeed Mahameed's avatar Saeed Mahameed

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: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent aee3e9c4
...@@ -76,7 +76,7 @@ struct aes_gcm_keymat { ...@@ -76,7 +76,7 @@ struct aes_gcm_keymat {
struct mlx5_accel_esp_xfrm_attrs { struct mlx5_accel_esp_xfrm_attrs {
enum mlx5_accel_esp_action action; enum mlx5_accel_esp_action action;
u32 esn; u32 esn;
u32 spi; __be32 spi;
u32 seq; u32 seq;
u32 tfc_pad; u32 tfc_pad;
u32 flags; u32 flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment