summaryrefslogtreecommitdiffstats
path: root/net/ncsi
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-11-02 11:15:28 +0000
committerDavid S. Miller <davem@davemloft.net>2017-11-03 15:44:10 +0900
commit5a6d80034471d4407052c4bf3758071df5cadf33 (patch)
treea6d158b1441e56a3e89837d0df21d72d66f45f4d /net/ncsi
parent1a3deb11d66ec4509462bbe9f162fc4bb991b061 (diff)
downloadlinux-5a6d80034471d4407052c4bf3758071df5cadf33.tar.gz
linux-5a6d80034471d4407052c4bf3758071df5cadf33.tar.bz2
linux-5a6d80034471d4407052c4bf3758071df5cadf33.zip
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: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ncsi')
-rw-r--r--net/ncsi/ncsi-manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ncsi/ncsi-manage.c b/net/ncsi/ncsi-manage.c
index 28c42b22b748..47baf914eec2 100644
--- a/net/ncsi/ncsi-manage.c
+++ b/net/ncsi/ncsi-manage.c
@@ -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;