diff options
author | Dan Carpenter <[email protected]> | 2012-06-15 00:20:44 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-06-15 15:25:56 -0700 |
commit | d9cb9bd63eb27ac19f26a8547128c053f43a5da8 (patch) | |
tree | ddba8269435dd7fda01dcc59574ec474a02173a7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 424d54d2dca03805942055e5b19926d33a7d1e31 (diff) |
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: <[email protected]> # 2.6.39+
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Oliver Hartkopp <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions