Re: [PATCH][next] mlxsw: spectrum: make function mlxsw_sp_kvdl_part_occ static

From: David Miller
Date: Fri Jan 19 2018 - 14:36:21 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 17 Jan 2018 10:57:46 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The function mlxsw_sp_kvdl_part_occ is local to the source and does
> not need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> symbol 'mlxsw_sp_kvdl_part_occ' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks Colin.