Skip to contentSkip to conversation

amifb sparse &=

PATCH New Geert Uytterhoeven 1 participant 1 message Jul 20, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 amifb sparse &=

Amiga Frame buffer: Use &' instead of &=' (found by sparse, present since at least 2.0.x)

drivers/video/amifb.c +1 -1
@@ -1309,7 +1311,7 @@
 		info->fix.ypanstep = 0;
 	} else {
 		info->fix.ywrapstep = 0;
-		if (par->vmode &= FB_VMODE_SMOOTH_XPAN)
+		if (par->vmode & FB_VMODE_SMOOTH_XPAN)
 			info->fix.xpanstep = 1;
 		else
 			info->fix.xpanstep = 16<<maxfmode;

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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