Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142769
b: refs/heads/master
c: 7635b03
h: refs/heads/master
i:
  142767: bf2b500
v: v3
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Apr 3, 2009
1 parent a4a267d commit 3f326f0
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: a4b3ada83d06554d307dd54abdc62b2e5648264a
refs/heads/master: 7635b03adf3d7b84da7649b81efa91e6ebf11b85
2 changes: 1 addition & 1 deletion trunk/kernel/trace/blktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ static ssize_t blk_msg_write(struct file *filp, const char __user *buffer,
char *msg;
struct blk_trace *bt;

if (count > BLK_TN_MAX_MSG - 1)
if (count >= BLK_TN_MAX_MSG)
return -EINVAL;

msg = kmalloc(count + 1, GFP_KERNEL);
Expand Down

0 comments on commit 3f326f0

Please sign in to comment.