Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260147
b: refs/heads/master
c: 9a11dd6
h: refs/heads/master
i:
  260145: 44a640b
  260143: 35538aa
v: v3
  • Loading branch information
Ben Skeggs committed Jun 23, 2011
1 parent e50bd16 commit 54582fd
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 6d13e9c18843092f3df418b42183f704f6dac053
refs/heads/master: 9a11dd65875f9e2401ded5d9a777574eacab814c
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ nouveau_gpuobj_mthd_call2(struct drm_device *dev, int chid,
int ret = -EINVAL;

spin_lock_irqsave(&dev_priv->channels.lock, flags);
if (chid > 0 && chid < dev_priv->engine.fifo.channels)
if (chid >= 0 && chid < dev_priv->engine.fifo.channels)
chan = dev_priv->channels.ptr[chid];
if (chan)
ret = nouveau_gpuobj_mthd_call(chan, class, mthd, data);
Expand Down

0 comments on commit 54582fd

Please sign in to comment.