Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143116
b: refs/heads/master
c: bcabd91
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Apr 12, 2009
1 parent 432f019 commit d22eb50
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 8433a40eb7f2c4883ad57f9900f63e4d59240eb7
refs/heads/master: bcabd91c271e50eebc0cb9220ac92700332b452e
5 changes: 5 additions & 0 deletions trunk/kernel/trace/trace_events_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,11 @@ int filter_parse(char **pbuf, struct filter_pred *pred)
}
}

if (!val_str) {
pred->field_name = NULL;
return -EINVAL;
}

pred->field_name = kstrdup(pred->field_name, GFP_KERNEL);
if (!pred->field_name)
return -ENOMEM;
Expand Down

0 comments on commit d22eb50

Please sign in to comment.