Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23690
b: refs/heads/master
c: 232443e
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and Adrian Bunk committed Mar 24, 2006
1 parent 008b64d commit 011e24c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b74945547f0679003ede4d1afcd0aa169059a436
refs/heads/master: 232443e2c90cc2930624dec89df327615b002c55
3 changes: 1 addition & 2 deletions trunk/drivers/video/bw2.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,7 @@ static void bw2_init_one(struct sbus_dev *sdev)
} else
#else
{
if (!sdev)
BUG();
BUG_ON(!sdev);
all->par.physbase = sdev->reg_addrs[0].phys_addr;
resp = &sdev->resource[0];
sbusfb_fill_var(&all->info.var, (sdev ? sdev->prom_node : 0), 1);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/video/ffb.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,7 @@ static void ffb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
unsigned long flags;
u32 fg;

if (rect->rop != ROP_COPY && rect->rop != ROP_XOR)
BUG();
BUG_ON(rect->rop != ROP_COPY && rect->rop != ROP_XOR);

fg = ((u32 *)info->pseudo_palette)[rect->color];

Expand Down

0 comments on commit 011e24c

Please sign in to comment.