From: David S. Miller Date: Fri, 4 Sep 2009 04:34:39 +0000 (-0700) Subject: WAN: dscc4: Fix warning pointing out a bug. X-Git-Tag: v2.6.32-rc1~703^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fab4e76373a614d3af624caedf18bee43fc6ca16;p=pandora-kernel.git WAN: dscc4: Fix warning pointing out a bug. Noticed by Stephen Rothwell: Today's linux-next build (x86_64 allmodconfig gcc-4.4.0) produced this warning: drivers/net/wan/dscc4.c: In function 'dscc4_rx_skb': drivers/net/wan/dscc4.c:670: warning: suggest parentheses around comparison in operand of '|' which actually points out a bug, I think. It is doing (x & (y | z)) != y | z when it probably means (x & (y | z)) != (y | z) Introduced by commit 5de3fcab91b0e1809eec030355d15801daf25083 ("WAN: bit and/or confusion"). Signed-off-by: David S. Miller --- Reading git-diff-tree failed