Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140969
b: refs/heads/master
c: c269fc8
h: refs/heads/master
i:
  140967: 652ac81
v: v3
  • Loading branch information
Tom Zanussi authored and Ingo Molnar committed Mar 17, 2009
1 parent a413231 commit 61fc0db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: e4106133341121aeaad732d4613de06d9033b5ac
refs/heads/master: c269fc8c537d761f36cb98e637ae934d9331a9d5
6 changes: 3 additions & 3 deletions trunk/kernel/trace/trace_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,15 +378,15 @@ event_format_read(struct file *filp, char __user *ubuf, size_t cnt,
char *buf;
int r;

if (*ppos)
return 0;

s = kmalloc(sizeof(*s), GFP_KERNEL);
if (!s)
return -ENOMEM;

trace_seq_init(s);

if (*ppos)
return 0;

/* If any of the first writes fail, so will the show_format. */

trace_seq_printf(s, "name: %s\n", call->name);
Expand Down

0 comments on commit 61fc0db

Please sign in to comment.