Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217972
b: refs/heads/master
c: f4433a8
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Chris Wilson committed Sep 8, 2010
1 parent 9bb80c3 commit 8e39b76
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 19966754328d99ee003ddfc7a8c31ceb115483ac
refs/heads/master: f4433a8d5d3076775bdd1a996a47db7beb468ac0
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,9 @@ i915_wedged_read(struct file *filp,
"wedged : %d\n",
atomic_read(&dev_priv->mm.wedged));

if (len > sizeof (buf))
len = sizeof (buf);

return simple_read_from_buffer(ubuf, max, ppos, buf, len);
}

Expand Down

0 comments on commit 8e39b76

Please sign in to comment.