Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271228
b: refs/heads/master
c: a1bb701
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Paul Mundt committed Jun 15, 2011
1 parent 637c597 commit e932ace
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: c42a3d543d2bbd2cb72c7179234358a4a33a583d
refs/heads/master: a1bb7010d494d3fcde3814d7a8ac609f1dff96ee
3 changes: 2 additions & 1 deletion trunk/drivers/video/acornfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,8 @@ acornfb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
if (!(var->vmode & FB_VMODE_YWRAP))
y_bottom += var->yres;

BUG_ON(y_bottom > var->yres_virtual);
if (y_bottom > var->yres_virtual)
return -EINVAL;

acornfb_update_dma(info, var);

Expand Down

0 comments on commit e932ace

Please sign in to comment.