Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271190
b: refs/heads/master
c: 3846e93
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart committed Aug 19, 2011
1 parent 39979fb commit efab78e
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: 2e1e5979bbe07f1a72276fd486abb3e693364628
refs/heads/master: 3846e93a65b1a127f59203606c0e92dd22f08782
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 efab78e

Please sign in to comment.