Atafb bug in #if 0 code
diff mbox series

Message ID 200305111030.h4BAUv9N019652@callisto.of.borg
State New, archived
Headers show
Series
  • Atafb bug in #if 0 code
Related show

Commit Message

Geert Uytterhoeven May 11, 2003, 10:30 a.m. UTC
Atafb bug in #if 0 code (from 2.4.x)


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/

Patch
diff mbox series

--- 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