git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
video
/
ffb.c
diff --git
a/drivers/video/ffb.c
b/drivers/video/ffb.c
index
7633e41
..
9c9b21d
100644
(file)
--- a/
drivers/video/ffb.c
+++ b/
drivers/video/ffb.c
@@
-466,7
+466,8
@@
static void ffb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
unsigned long flags;
u32 fg;
- BUG_ON(rect->rop != ROP_COPY && rect->rop != ROP_XOR);
+ if (rect->rop != ROP_COPY && rect->rop != ROP_XOR)
+ BUG();
fg = ((u32 *)info->pseudo_palette)[rect->color];