Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358296
b: refs/heads/master
c: af1ac18
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Ben Skeggs committed Feb 20, 2013
1 parent 93c6c2e commit deb14ee
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 264ce192b3e7f45d0adb37bfbab2b01a3fbe6c30
refs/heads/master: af1ac18a19b80f922046fd383a3a3e780ee94915
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ nv50_disp_sync_ctor(struct nouveau_object *parent,
struct nv50_disp_dmac *dmac;
int ret;

if (size < sizeof(*data) || args->head > 1)
if (size < sizeof(*args) || args->head > 1)
return -EINVAL;

ret = nv50_disp_dmac_create_(parent, engine, oclass, args->pushbuf,
Expand Down Expand Up @@ -372,7 +372,7 @@ nv50_disp_ovly_ctor(struct nouveau_object *parent,
struct nv50_disp_dmac *dmac;
int ret;

if (size < sizeof(*data) || args->head > 1)
if (size < sizeof(*args) || args->head > 1)
return -EINVAL;

ret = nv50_disp_dmac_create_(parent, engine, oclass, args->pushbuf,
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/core/engine/disp/nvd0.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ nvd0_disp_sync_ctor(struct nouveau_object *parent,
struct nv50_disp_dmac *dmac;
int ret;

if (size < sizeof(*data) || args->head >= priv->head.nr)
if (size < sizeof(*args) || args->head >= priv->head.nr)
return -EINVAL;

ret = nv50_disp_dmac_create_(parent, engine, oclass, args->pushbuf,
Expand Down Expand Up @@ -268,7 +268,7 @@ nvd0_disp_ovly_ctor(struct nouveau_object *parent,
struct nv50_disp_dmac *dmac;
int ret;

if (size < sizeof(*data) || args->head >= priv->head.nr)
if (size < sizeof(*args) || args->head >= priv->head.nr)
return -EINVAL;

ret = nv50_disp_dmac_create_(parent, engine, oclass, args->pushbuf,
Expand Down

0 comments on commit deb14ee

Please sign in to comment.