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:
|
||
|---|---|---|
| .. | ||
| 300vtbl.h | ||
| 310vtbl.h | ||
| Makefile | ||
| init.c | ||
| init.h | ||
| init301.c | ||
| init301.h | ||
| initdef.h | ||
| initextlfb.c | ||
| oem300.h | ||
| oem310.h | ||
| sis.h | ||
| sis_accel.c | ||
| sis_accel.h | ||
| sis_main.c | ||
| sis_main.h | ||
| vgatypes.h | ||
| vstruct.h | ||