Messages in this thread | | | Date | Wed, 07 Mar 2018 13:25:51 -0500 (EST) | Subject | Re: [PATCH][net-next] net: mvpp2: make function mvpp2_check_hw_buf_num static | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Tue, 6 Mar 2018 16:25:17 +0100
> From: Colin Ian King <colin.king@canonical.com> > > 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@canonical.com>
Someone else submitted this already, but thanks for the submission.
| |