Commit 39f58860 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

net/mlx5: add missing void argument to function mlx5_devlink_alloc

Function mlx5_devlink_alloc is missing a void argument, add it
to clean up the non-ANSI function declaration.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent da21ad27
...@@ -37,7 +37,7 @@ static const struct devlink_ops mlx5_devlink_ops = { ...@@ -37,7 +37,7 @@ static const struct devlink_ops mlx5_devlink_ops = {
.flash_update = mlx5_devlink_flash_update, .flash_update = mlx5_devlink_flash_update,
}; };
struct devlink *mlx5_devlink_alloc() struct devlink *mlx5_devlink_alloc(void)
{ {
return devlink_alloc(&mlx5_devlink_ops, sizeof(struct mlx5_core_dev)); return devlink_alloc(&mlx5_devlink_ops, sizeof(struct mlx5_core_dev));
} }
......
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