Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271243
b: refs/heads/master
c: df2d798
h: refs/heads/master
i:
  271241: 3ad4261
  271239: 6b7e15f
v: v3
  • Loading branch information
Laurent Pinchart authored and Paul Mundt committed Jun 15, 2011
1 parent a75dba1 commit 28c2c7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: ff55fe9ac19d800bfab02bc877c06e74f3e2537d
refs/heads/master: df2d79810930ead3112b4ebab86ea0f9229ccf70
4 changes: 2 additions & 2 deletions trunk/drivers/video/hgafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ static int hgafb_pan_display(struct fb_var_screeninfo *var,
var->xoffset)
return -EINVAL;
} else {
if (var->xoffset + var->xres > info->var.xres_virtual
|| var->yoffset + var->yres > info->var.yres_virtual
if (var->xoffset + info->var.xres > info->var.xres_virtual
|| var->yoffset + info->var.yres > info->var.yres_virtual
|| var->yoffset % 8)
return -EINVAL;
}
Expand Down

0 comments on commit 28c2c7d

Please sign in to comment.