mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
net/ncsi: Make local function ncsi_get_filter() static
commit 5a6d800344
upstream.
Fixes the following sparse warnings:
net/ncsi/ncsi-manage.c:41:5: warning:
symbol 'ncsi_get_filter' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e789904a09
commit
e49c41505a
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ static inline int ncsi_filter_size(int table)
|
|||
return sizes[table];
|
||||
}
|
||||
|
||||
u32 *ncsi_get_filter(struct ncsi_channel *nc, int table, int index)
|
||||
static u32 *ncsi_get_filter(struct ncsi_channel *nc, int table, int index)
|
||||
{
|
||||
struct ncsi_channel_filter *ncf;
|
||||
int size;
|
||||
|
|
Loading…
Reference in a new issue