projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3deb1
)
net/ncsi: Make local function ncsi_get_filter() static
author
Wei Yongjun
<weiyongjun1@huawei.com>
Thu, 2 Nov 2017 11:15:28 +0000
(11:15 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 3 Nov 2017 06:44:10 +0000
(15:44 +0900)
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>
net/ncsi/ncsi-manage.c
patch
|
blob
|
history
diff --git
a/net/ncsi/ncsi-manage.c
b/net/ncsi/ncsi-manage.c
index
28c42b2
..
47baf91
100644
(file)
--- 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;