diff options
author | 2009-02-28 09:03:58 +0100 | |
---|---|---|
committer | 2009-02-28 09:03:58 +0100 | |
commit | e9abf4c59d75cd71f118764376d037a677f573d0 (patch) | |
tree | 0b570eefd71926d441552d640114e0f7525e7b4c /kernel | |
parent | Merge branch 'tip/tracing/ftrace' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace (diff) | |
parent | tracing: replace kzalloc with kcalloc (diff) | |
download | wireguard-linux-e9abf4c59d75cd71f118764376d037a677f573d0.tar.xz wireguard-linux-e9abf4c59d75cd71f118764376d037a677f573d0.zip |
Merge branch 'tip/tracing/ftrace' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 5db7485158df..9c5987aca74b 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -3328,7 +3328,7 @@ create_trace_option_files(struct tracer *tracer) for (cnt = 0; opts[cnt].name; cnt++) ; - topts = kzalloc(sizeof(*topts) * (cnt + 1), GFP_KERNEL); + topts = kcalloc(cnt + 1, sizeof(*topts), GFP_KERNEL); if (!topts) return NULL; |