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:
9fae27b
)
net: vlan: fix up vlan_proto_idx() for CONFIG_BUG=n
author
Patrick McHardy
<kaber@trash.net>
Sun, 21 Apr 2013 00:09:32 +0000
(
00:09
+0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 21 Apr 2013 19:58:19 +0000
(15:58 -0400)
Add missing return statement for CONFIG_BUG=n.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.h
patch
|
blob
|
history
diff --git
a/net/8021q/vlan.h
b/net/8021q/vlan.h
index
abc9cb6
..
ba5983f
100644
(file)
--- a/
net/8021q/vlan.h
+++ b/
net/8021q/vlan.h
@@
-121,6
+121,7
@@
static inline unsigned int vlan_proto_idx(__be16 proto)
return VLAN_PROTO_8021AD;
default:
BUG();
+ return 0;
}
}