Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143117
b: refs/heads/master
c: a3e0ab0
h: refs/heads/master
i:
  143115: 432f019
v: v3
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Apr 12, 2009
1 parent d22eb50 commit ea32435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: bcabd91c271e50eebc0cb9220ac92700332b452e
refs/heads/master: a3e0ab050774117d4a6173087c8bf3888662a83f
5 changes: 3 additions & 2 deletions trunk/kernel/trace/trace_events_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,12 +419,13 @@ int filter_parse(char **pbuf, struct filter_pred *pred)
if (!pred->field_name)
return -ENOMEM;

pred->val = simple_strtoull(val_str, &tmp, 10);
pred->val = simple_strtoull(val_str, &tmp, 0);
if (tmp == val_str) {
pred->str_val = kstrdup(val_str, GFP_KERNEL);
if (!pred->str_val)
return -ENOMEM;
}
} else if (*tmp != '\0')
return -EINVAL;

return 0;
}
Expand Down

0 comments on commit ea32435

Please sign in to comment.