From: Peter Huewe Date: Mon, 13 May 2013 21:41:49 +0000 (+0200) Subject: staging/xgifb: Fix always false condition in vb_setmode.c (smatch) X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~700 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85b38476fde05b4337115f0e830667e7156c6e2e;p=pandora-kernel.git staging/xgifb: Fix always false condition in vb_setmode.c (smatch) 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed