Commit 5e29e760 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] amifb sparse &=

Amiga Frame buffer: Use `&' instead of `&=' (found by sparse, present since at
least 2.0.x)
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent eab88c46
...@@ -1309,7 +1309,7 @@ static int amifb_set_par(struct fb_info *info) ...@@ -1309,7 +1309,7 @@ static int amifb_set_par(struct fb_info *info)
info->fix.ypanstep = 0; info->fix.ypanstep = 0;
} else { } else {
info->fix.ywrapstep = 0; info->fix.ywrapstep = 0;
if (par->vmode &= FB_VMODE_SMOOTH_XPAN) if (par->vmode & FB_VMODE_SMOOTH_XPAN)
info->fix.xpanstep = 1; info->fix.xpanstep = 1;
else else
info->fix.xpanstep = 16<<maxfmode; info->fix.xpanstep = 16<<maxfmode;
......
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