Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143115
b: refs/heads/master
c: 8433a40
h: refs/heads/master
i:
  143113: ffa5231
  143111: 66a73d4
v: v3
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Apr 12, 2009
1 parent 705591f commit 432f019
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: 0462b5664b2bda5a18fef7efb5bb32ce36590c1a
refs/heads/master: 8433a40eb7f2c4883ad57f9900f63e4d59240eb7
2 changes: 2 additions & 0 deletions trunk/kernel/trace/trace_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ event_filter_write(struct file *filp, const char __user *ubuf, size_t cnt,

if (copy_from_user(&buf, ubuf, cnt))
return -EFAULT;
buf[cnt] = '\0';

pred = kzalloc(sizeof(*pred), GFP_KERNEL);
if (!pred)
Expand Down Expand Up @@ -569,6 +570,7 @@ subsystem_filter_write(struct file *filp, const char __user *ubuf, size_t cnt,

if (copy_from_user(&buf, ubuf, cnt))
return -EFAULT;
buf[cnt] = '\0';

pred = kzalloc(sizeof(*pred), GFP_KERNEL);
if (!pred)
Expand Down

0 comments on commit 432f019

Please sign in to comment.