[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1509621328-152587-1-git-send-email-weiyongjun1@huawei.com>
Date: Thu, 2 Nov 2017 11:15:28 +0000
From: Wei Yongjun <weiyongjun1@...wei.com>
To: Samuel Mendoza-Jonas <sam@...dozajonas.com>,
Gavin Shan <gwshan@...ux.vnet.ibm.com>,
Arnd Bergmann <arnd@...db.de>
CC: Wei Yongjun <weiyongjun1@...wei.com>, <netdev@...r.kernel.org>
Subject: [PATCH net-next] 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@...wei.com>
---
net/ncsi/ncsi-manage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ncsi/ncsi-manage.c b/net/ncsi/ncsi-manage.c
index 28c42b2..47baf91 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;
Powered by blists - more mailing lists