[PATCH] Atafb bug in #if 0 code

Geert Uytterhoeven (geert@linux-m68k.org)
Sun, 11 May 2003 12:30:57 +0200


Atafb bug in #if 0 code (from 2.4.x)

--- linux-2.5.x/drivers/video/atafb.c Wed Mar 19 11:00:46 2003
+++ linux-m68k-2.5.x/drivers/video/atafb.c Wed Mar 19 11:00:46 2003
@@ -1193,7 +1193,7 @@
par->HBB = gend2 - par->HHT - 2;
#if 0
/* One more Videl constraint: data fetch of two lines must not overlap */
- if (par->HDB & 0x200 && par->HDB & ~0x200 - par->HDE <= 5) {
+ if ((par->HDB & 0x200) && (par->HDB & ~0x200) - par->HDE <= 5) {
/* if this happens increase margins, decrease hfreq. */
}
#endif

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/