| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] Missing break in switch statement. |
| From: | davej@xxxxxxxxxx |
| Date: | Mon, 11 Aug 2003 17:48:57 +0100 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] ipv4 reuses freed mem, davej |
|---|---|
| Next by Date: | Re: [PATCH] Missing break in switch statement., YOSHIFUJI Hideaki |
| Previous by Thread: | [PATCH] ipv4 reuses freed mem, davej |
| Next by Thread: | Re: [PATCH] Missing break in switch statement., YOSHIFUJI Hideaki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |