Skip to content
Commit 6f7aa56b authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by David S. Miller
Browse files

ptp: use kcalloc when allocating arrays



kcalloc is more semantically correct when allocating arrays of objects, and
overflow-safe.

Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 882f312d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment