summaryrefslogtreecommitdiffstats
path: root/net/iucv
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-15 02:20:44 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-16 00:25:56 +0200
commitd9cb9bd63eb27ac19f26a8547128c053f43a5da8 (patch)
treeddba8269435dd7fda01dcc59574ec474a02173a7 /net/iucv
parentMerge git://git.kernel.org/pub/scm/virt/kvm/kvm (diff)
downloadlinux-d9cb9bd63eb27ac19f26a8547128c053f43a5da8.tar.xz
linux-d9cb9bd63eb27ac19f26a8547128c053f43a5da8.zip
can: c_can: precedence error in c_can_chip_config()
(CAN_CTRLMODE_LISTENONLY & CAN_CTRLMODE_LOOPBACK) is (0x02 & 0x01) which is zero so the condition is never true. The intent here was to test that both flags were set. Cc: <stable@kernel.org> # 2.6.39+ Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions