From: Octavian Purdila Date: Thu, 14 Jan 2010 02:10:36 +0000 (-0800) Subject: net: fix build erros with CONFIG_BUG=n, CONFIG_GENERIC_BUG=n X-Git-Tag: v2.6.33-rc6~29^2~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd65c3c7d1081290b7365897c2290a84aa967d4d;p=profile%2Fcommon%2Fkernel-common.git net: fix build erros with CONFIG_BUG=n, CONFIG_GENERIC_BUG=n Fixed build errors introduced by commit 7ad6848c (ip: fix mc_loop checks for tunnels with multicast outer addresses) Signed-off-by: Octavian Purdila Signed-off-by: David S. Miller --- diff --git a/include/net/ip.h b/include/net/ip.h index d9a0e74..fb63371 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -338,7 +338,7 @@ static inline int sk_mc_loop(struct sock *sk) return inet6_sk(sk)->mc_loop; #endif } - __WARN(); + WARN_ON(1); return 1; }