projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ca90c
)
caif_dev: fix sparse warnings for caif_flow_cb
author
Silviu-Mihai Popescu
<silviupopescu1990@gmail.com>
Sat, 2 Mar 2013 09:45:19 +0000
(09:45 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 3 Mar 2013 06:43:48 +0000
(
01:43
-0500)
This fixed the following sparse warning:
net/caif/caif_dev.c:121:6: warning: symbol 'caif_flow_cb' was not
declared. Should it be static?
Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_dev.c
patch
|
blob
|
history
diff --git
a/net/caif/caif_dev.c
b/net/caif/caif_dev.c
index
1ae1d9c
..
21760f0
100644
(file)
--- a/
net/caif/caif_dev.c
+++ b/
net/caif/caif_dev.c
@@
-118,7
+118,7
@@
static struct caif_device_entry *caif_get(struct net_device *dev)
return NULL;
}
-void caif_flow_cb(struct sk_buff *skb)
+
static
void caif_flow_cb(struct sk_buff *skb)
{
struct caif_device_entry *caifd;
void (*dtor)(struct sk_buff *skb) = NULL;