Re: [PATCH][net-next] net: mvpp2: make function mvpp2_check_hw_buf_num static

2018-03-07 Thread David Miller
From: Colin King Date: Tue, 6 Mar 2018 16:25:17 +0100 > From: Colin Ian King > > 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: symbo

Re: [PATCH][net-next] net: mvpp2: make function mvpp2_check_hw_buf_num static

2018-03-06 Thread Antoine Tenart
Hi Colin, On Tue, Mar 06, 2018 at 04:25:17PM +0100, Colin King wrote: > From: Colin Ian King > > 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:

[PATCH][net-next] net: mvpp2: make function mvpp2_check_hw_buf_num static

2018-03-06 Thread Colin King
From: Colin Ian King 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? Sign