Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ static const struct devlink_ops mlx5_devlink_ops = {
	.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));
}