Re: [PATCH] IB/mlx5: make function mlx5_ib_get_vector_affinity

2017-08-16 Thread Leon Romanovsky
On Wed, Aug 16, 2017 at 10:29:40AM +0100, Colin King wrote: > From: Colin Ian King > > The function mlx5_ib_get_vector_affinity is local to the source > and does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol

Re: [PATCH] IB/mlx5: make function mlx5_ib_get_vector_affinity

2017-08-16 Thread Leon Romanovsky
On Wed, Aug 16, 2017 at 10:29:40AM +0100, Colin King wrote: > From: Colin Ian King > > The function mlx5_ib_get_vector_affinity is local to the source > and does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'mlx5_ib_get_vector_affinity' was not

[PATCH] IB/mlx5: make function mlx5_ib_get_vector_affinity

2017-08-16 Thread Colin King
From: Colin Ian King The function mlx5_ib_get_vector_affinity is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'mlx5_ib_get_vector_affinity' was not declared. Should it be static? Signed-off-by: Colin

[PATCH] IB/mlx5: make function mlx5_ib_get_vector_affinity

2017-08-16 Thread Colin King
From: Colin Ian King The function mlx5_ib_get_vector_affinity is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'mlx5_ib_get_vector_affinity' was not declared. Should it be static? Signed-off-by: Colin Ian King ---