Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269825
b: refs/heads/master
c: 8ffc024
h: refs/heads/master
i:
  269823: 670fac9
v: v3
  • Loading branch information
Chris Wilson authored and Keith Packard committed Oct 20, 2011
1 parent 17ce2ca commit 29eefca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6dacfd2faa398dc5206523ae6a2f8dd037488de8
refs/heads/master: 8ffc02468145ac92b1b88896e0f18bd7bcd52591
2 changes: 2 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ i915_gem_create(struct drm_file *file,
u32 handle;

size = roundup(size, PAGE_SIZE);
if (size == 0)
return -EINVAL;

/* Allocate the new object */
obj = i915_gem_alloc_object(dev, size);
Expand Down

0 comments on commit 29eefca

Please sign in to comment.