mirror-linux/drivers/video/fbdev/sis
Rustam Subkhankulov 3eb8fccc24 video: fbdev: sis: fix typos in SiS_GetModeID()
The second operand of a '&&' operator has no impact on expression
result for cases 400 and 512 in SiS_GetModeID().

Judging by the logic and the names of the variables, in both cases a
typo was made.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Rustam Subkhankulov <subkhankulov@ispras.ru>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Helge Deller <deller@gmx.de>
2022-07-26 09:16:38 +02:00
..
300vtbl.h
310vtbl.h
Makefile
init.c video: fbdev: sis: fix typos in SiS_GetModeID() 2022-07-26 09:16:38 +02:00
init.h
init301.c
init301.h
initdef.h
initextlfb.c
oem300.h
oem310.h video: fbdev: sis: Fix defined but not used warning of SiS_TVDelay 2020-11-30 20:02:50 +01:00
sis.h video: fbdev: sis: Fix defined but not used warnings 2020-11-30 19:29:40 +01:00
sis_accel.c
sis_accel.h
sis_main.c video: fbdev: sis: fix potential NULL dereference in sisfb_post_sis300() 2022-04-04 08:55:23 +02:00
sis_main.h
vgatypes.h
vstruct.h