projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d195ea4
)
Fix ipv4/igmp.c compile with gcc-4 and IP_MULTICAST
author
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 31 Jan 2006 21:11:41 +0000
(13:11 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 31 Jan 2006 21:11:41 +0000
(13:11 -0800)
Modern versions of gcc do not like case statements at the end of a block
statement: you need at least an empty statement. Using just a "break;"
is preferred for visual style.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/ipv4/igmp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/igmp.c
b/net/ipv4/igmp.c
index f70ba622c856489b6382daf79ccf32a002ca8a22..0b4e95f93dad62cbfed26297ada2fbe86cf07163 100644
(file)
--- a/
net/ipv4/igmp.c
+++ b/
net/ipv4/igmp.c
@@
-970,6
+970,7
@@
int igmp_rcv(struct sk_buff *skb)
case IGMP_MTRACE_RESP:
break;
default:
+ break;
}
drop: