public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] net: vlan: fix up vlan_proto_idx() for CONFIG_BUG=n
@ 2013-04-21 10:09 Patrick McHardy
  2013-04-21 10:09 ` [PATCH 2/3] net: fix netdev features shift for features bit > 31 Patrick McHardy
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Patrick McHardy @ 2013-04-21 10:09 UTC (permalink / raw)
  To: davem; +Cc: netdev, amwang

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>
---
 net/8021q/vlan.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h
index abc9cb6..ba5983f 100644
--- 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;
 	}
 }
 
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-21 20:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-21 10:09 [PATCH 1/3] net: vlan: fix up vlan_proto_idx() for CONFIG_BUG=n Patrick McHardy
2013-04-21 10:09 ` [PATCH 2/3] net: fix netdev features shift for features bit > 31 Patrick McHardy
2013-04-21 19:50   ` David Miller
2013-04-21 20:43     ` Patrick McHardy
2013-04-21 10:09 ` [PATCH 3/3] qeth: fix VLAN related compilation errors Patrick McHardy
2013-04-21 19:58   ` David Miller
2013-04-21 19:58 ` [PATCH 1/3] net: vlan: fix up vlan_proto_idx() for CONFIG_BUG=n David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox