mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 10:35:54 -04:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user