Commit 5a6d8003 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller

net/ncsi: Make local function ncsi_get_filter() static

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a3deb11
...@@ -38,7 +38,7 @@ static inline int ncsi_filter_size(int table) ...@@ -38,7 +38,7 @@ static inline int ncsi_filter_size(int table)
return sizes[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; struct ncsi_channel_filter *ncf;
int size; int size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment