Skip to contentSkip to conversation

Fix priority mistakes in drivers/video/i810/i810_main.c

PATCH New Roel Kluin 1 participant 1 message Oct 26, 2007 Framebuffer layer

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 Fix priority mistakes in drivers/video/i810/i810_main.c

Fixes priority mistakes similar to '!x & y'

---

drivers/video/i810/i810_main.c +1 -1
index 1a7d778..1d13dd0 100644
@@ -1476,7 +1476,7 @@ static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
 	struct i810fb_par *par = info->par;
 	u8 __iomem *mmio = par->mmio_start_virtual;
 
-	if (!par->dev_flags & LOCKUP)
+	if (!(par->dev_flags & LOCKUP))
 		return -ENXIO;
 
 	if (cursor->image.width > 64 || cursor->image.height > 64)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/