tracing: Prefer kcalloc over kzalloc with multiply
authorGil Fruchter <gilf@ezchip.com>
Tue, 9 Jun 2015 07:32:34 +0000 (10:32 +0300)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 21 Jul 2015 02:30:42 +0000 (22:30 -0400)
commit9fe6b778ca93e6171dbb8e54df557a278a91abea
tree2a576a48a6c22654d75a3e093292516b7afb42d8
parent52721d9d3334c1cb1f76219a161084094ec634dc
tracing: Prefer kcalloc over kzalloc with multiply

Use kcalloc for allocating an array instead of kzalloc with multiply,
as that is what kcalloc is used for.
Found with checkpatch.

Link: http://lkml.kernel.org/r/1433835155-6894-2-git-send-email-gilf@ezchip.com
Signed-off-by: Gil Fruchter <gilf@ezchip.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c