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:
986eb9f
)
staging/xgifb: Fix always false condition in vb_setmode.c (smatch)
author
Peter Huewe
<peterhuewe@gmx.de>
Mon, 13 May 2013 21:41:49 +0000
(23:41 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:02:35 +0000
(16:02 -0700)
Smatch complains:
drivers/staging/xgifb/vb_setmode.c:3181
XGI_SetLockRegs() warn: bitwise AND condition is false here
Since SetNTSCTV is defined as 0 in drivers/video/sis/initdef.h this is
correct.
-> Change the condition to == to fix this.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found