Skip to content
Commit 9fe6b778 authored by Gil Fruchter's avatar Gil Fruchter Committed by Steven Rostedt
Browse files

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: default avatarGil Fruchter <gilf@ezchip.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 52721d9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment