Commit 155717ab authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] sis comparison / assignment operator fix

From: Geoffrey Lee <glee@gnupilgrims.org>

This fixes what seems to be an obvious = vs == bug in the init301.c sis
file.
parent 695716f5
...@@ -11712,7 +11712,7 @@ SetOEMLCDData(SiS_Private *SiS_Pr, PSIS_HW_DEVICE_INFO HwDeviceExtension,USHORT ...@@ -11712,7 +11712,7 @@ SetOEMLCDData(SiS_Private *SiS_Pr, PSIS_HW_DEVICE_INFO HwDeviceExtension,USHORT
} }
temp = GetOEMLCDPtr(SiS_Pr,HwDeviceExtension, ROMAddr, 1); temp = GetOEMLCDPtr(SiS_Pr,HwDeviceExtension, ROMAddr, 1);
if(temp = 0xFFFF) return; if(temp == 0xFFFF) return;
index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex]._VB_LCDHIndex; index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex]._VB_LCDHIndex;
for(i=0x14, j=0; i<=0x17; i++, j++) { for(i=0x14, j=0; i<=0x17; i++, j++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment