Skip to contentSkip to conversation

sis comparison / assignment operator fix

PATCH Thomas Winischhofer 1 participant 1 message Nov 24, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Geoffrey Lee

This fixes what seems to be an obvious = vs == bug in the init301.c sis file.

It has

if (temp = 0xffff) return;

which should always be true, so it always returns.

You did notice the "#if 0" - "#endif" around that code, didn't you?

BTW: Patching a more than 10 months old version of that driver is pointless anyway. The current fb-related development is exclusively done in James Simmon's fbdev tree, and current versions of the sisfb driver are obtainable at http://www.winischhofer.net/linuxsisvga.shtml

Thomas

Signature · 4 lines
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net          *** http://www.winischhofer.net/
twini AT xfree86 DOT org