diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-15 21:46:08 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-20 22:53:58 +0200 |
commit | eed6f7dc28d35bbed74115fc246b9a29af0918de (patch) | |
tree | 58376a0c492ddefe0debaa0787902eeffc2eef99 /drivers | |
parent | net/mlx5: Add XRQ legacy commands opcodes (diff) | |
download | linux-eed6f7dc28d35bbed74115fc246b9a29af0918de.tar.xz linux-eed6f7dc28d35bbed74115fc246b9a29af0918de.zip |
net/mlx5: Add missing include file to lib/crypto.c
Add missing include file to avoid compiler warnings:
drivers/net/ethernet/mellanox/mlx5/core//lib/crypto.c:6:5:
warning: no previous prototype for ‘mlx5_create_encryption_key’
6 | int mlx5_create_encryption_key(struct mlx5_core_dev *mdev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core//lib/crypto.c:60:6:
warning: no previous prototype for ‘mlx5_destroy_encryption_key’
60 | void mlx5_destroy_encryption_key(struct mlx5_core_dev *mdev, ...
Fixes: 45d3b55dc665 ("net/mlx5: Add crypto library to support create/destroy encryption key")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c b/drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c index ea9ee88491e5..22bc45c831d2 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c @@ -2,6 +2,7 @@ // Copyright (c) 2019 Mellanox Technologies. #include "mlx5_core.h" +#include "lib/mlx5.h" int mlx5_create_encryption_key(struct mlx5_core_dev *mdev, void *key, u32 sz_bytes, |