• Saeed Mahameed's avatar
    net/mlx5: Add missing include file to lib/crypto.c · eed6f7dc
    Saeed Mahameed authored
    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: 45d3b55d ("net/mlx5: Add crypto library to support create/destroy encryption key")
    Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
    eed6f7dc
crypto.c 2.13 KB