netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Missing break in switch statement.
@ 2003-08-11 16:48 davej
  2003-08-11 17:14 ` YOSHIFUJI Hideaki
  0 siblings, 1 reply; 3+ messages in thread
From: davej @ 2003-08-11 16:48 UTC (permalink / raw)
  To: netdev

Is this intentional? It should at least have a 
/* FALLTHROUGH */ or similar if so.

		Dave

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/net/ipv6/raw.c linux-2.5/net/ipv6/raw.c
--- bk-linus/net/ipv6/raw.c	2003-07-11 13:57:41.000000000 +0100
+++ linux-2.5/net/ipv6/raw.c	2003-07-11 14:08:05.000000000 +0100
@@ -833,6 +833,7 @@ static int rawv6_getsockopt(struct sock 
 			val = -1;
 		else
 			val = opt->offset;
+		break;
 
 	default:
 		return -ENOPROTOOPT;

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

end of thread, other threads:[~2003-08-12  5:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-11 16:48 [PATCH] Missing break in switch statement davej
2003-08-11 17:14 ` YOSHIFUJI Hideaki
2003-08-12  5:26   ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).