Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37516
b: refs/heads/master
c: 46acbf1
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie committed Sep 21, 2006
1 parent ad05287 commit 77e0345
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: b15ec36806ce3b89a2fddce958de9370efb249da
refs/heads/master: 46acbf13fb280e69c5cafe7c837d5a27c6e380c3
4 changes: 2 additions & 2 deletions trunk/drivers/char/drm/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static int i915_dma_init(DRM_IOCTL_ARGS)
retcode = i915_dma_resume(dev);
break;
default:
retcode = -EINVAL;
retcode = DRM_ERR(EINVAL);
break;
}

Expand Down Expand Up @@ -391,7 +391,7 @@ static int i915_emit_box(drm_device_t * dev,
RING_LOCALS;

if (DRM_COPY_FROM_USER_UNCHECKED(&box, &boxes[i], sizeof(box))) {
return EFAULT;
return DRM_ERR(EFAULT);
}

if (box.y2 <= box.y1 || box.x2 <= box.x1 || box.y2 <= 0 || box.x2 <= 0) {
Expand Down

0 comments on commit 77e0345

Please sign in to comment.