From: Roel Kluin Date: Tue, 31 Mar 2009 22:25:35 +0000 (-0700) Subject: uvesafb: bitwise OR has higher precedence than ?: X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1cc9fb6dbf915e5c7e7e59bb7fab10572ddbb349;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git uvesafb: bitwise OR has higher precedence than ?: Signed-off-by: Roel Kluin Acked-by: Michal Januszewski Cc: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c index 398fd25e0810..c288270e42f7 100644 --- a/drivers/video/uvesafb.c +++ b/drivers/video/uvesafb.c @@ -1552,7 +1552,7 @@ static void __devinit uvesafb_init_info(struct fb_info *info, } info->flags = FBINFO_FLAG_DEFAULT | - (par->ypan) ? FBINFO_HWACCEL_YPAN : 0; + (par->ypan ? FBINFO_HWACCEL_YPAN : 0); if (!par->ypan) info->fbops->fb_pan_display = NULL;