Re: [PATCH][net-next] net: mvpp2: make function mvpp2_check_hw_buf_num static
From: David Miller
Date: Wed Mar 07 2018 - 13:25:59 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Tue, 6 Mar 2018 16:25:17 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The function mvpp2_check_hw_buf_num is local to the source and does
> not need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> drivers/net/ethernet/marvell/mvpp2.c:4298:5: warning: symbol
> 'mvpp2_check_hw_buf_num' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Someone else submitted this already, but thanks for the submission.