Skip to contentSkip to conversation

vesafb: misplaced parentheses

PATCH In review Roel Kluin 2 participants 2 messages Feb 15, 2009 – Feb 16, 2009 Framebuffer layer

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 vesafb: misplaced parentheses

Fix misplaced parentheses

---

drivers/video/vesafb.c +1 -1
index e16322d..d6856f4 100644
@@ -438,7 +438,7 @@ static int __init vesafb_probe(struct platform_device *dev)
 	info->var = vesafb_defined;
 	info->fix = vesafb_fix;
 	info->flags = FBINFO_FLAG_DEFAULT |
-		(ypan) ? FBINFO_HWACCEL_YPAN : 0;
+		(ypan ? FBINFO_HWACCEL_YPAN : 0);
 
 	if (!ypan)
 		info->fbops->fb_pan_display = NULL;

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Roel Kluin

Fix misplaced parentheses

Quoted 7 lines

---

drivers/video/vesafb.c +0 -0
index e16322d..d6856f4 100644

drivers/video/vesafb.c static int __init vesafb_probe(struct platform_device *dev) · line 444

Quoted 8 lines
drivers/video/vesafb.c +1 -1
@@ -438,7 +438,7 @@ static int __init vesafb_probe(struct platform_device *dev)
       info->var = vesafb_defined;
       info->fix = vesafb_fix;
       info->flags = FBINFO_FLAG_DEFAULT |
-               (ypan) ? FBINFO_HWACCEL_YPAN : 0;
+               (ypan ? FBINFO_HWACCEL_YPAN : 0);
 
       if (!ypan)
               info->fbops->fb_pan_display = NULL;

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Linux-fbdev-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel