Skip to content
Snippets Groups Projects
Commit baeb2ffa authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

drivers/net: Convert unbounded kzalloc calls to kcalloc


These changes may be slightly safer in some instances.

There are other kzalloc calls with a multiply, but those
calls are typically "small fixed #" * sizeof(some pointer)"
and those are not converted.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
Acked-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5a68d5ee
No related branches found
No related tags found
Loading
Showing
with 36 additions and 37 deletions
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