Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249046
b: refs/heads/master
c: cb048d5
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent 92145b9 commit cd6c92f
Show file tree
Hide file tree
Showing 3 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: 636fa5c78c73901022ed6c20c50543af8811e050
refs/heads/master: cb048d558690ba1468e6bb26b82594b4330fb21c
2 changes: 1 addition & 1 deletion trunk/drivers/staging/gma500/psb_2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ void psbfb_copyarea(struct fb_info *info,
if (unlikely(info->state != FBINFO_STATE_RUNNING))
return;

if (1 || (info->flags & FBINFO_HWACCEL_DISABLED))
if (info->flags & FBINFO_HWACCEL_DISABLED)
return cfb_copyarea(info, region);

/* psb_check_power_state(dev, PSB_DEVICE_SGX); */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/gma500/psb_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ static int psbfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg
return -EFAULT;
if (l > 32)
return -EMSGSIZE;
if (copy_from_user(buf, p + 1, l))
if (copy_from_user(buf, p + 1, l * sizeof(u32)))
return -EFAULT;
psbfb_2d_submit(dev_priv, buf, l);
return 0;
Expand Down

0 comments on commit cd6c92f

Please sign in to comment.