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:
655aa39
)
net: wimax: i2400m: control.c: Cleaning up conjunction always evaluates to false
author
Rickard Strandqvist
<rickard_strandqvist@spectrumdigital.se>
Sat, 7 Jun 2014 11:26:37 +0000
(13:26 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 11 Jun 2014 07:13:16 +0000
(
00:13
-0700)
Logical conjunction always evaluates to false: minor < 2 && minor > 1
I guess what you wanted is rather: minor > 2 || minor < 1
This was partly found using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found