git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
446b792
)
[media] mxl111sf: fix a couple precedence bugs
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 29 Sep 2011 05:09:42 +0000
(
02:09
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 30 Sep 2011 16:32:00 +0000
(13:32 -0300)
Negate has higher precedence than bitwise AND. I2C_M_RD is 0x1 so
the original code is equivelent to just checking if (!msg->flags).
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Steven Toth <stoth@kernellabs.com>
Cc: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
No differences found