Skip to content
Snippets Groups Projects
Commit 4bc88f63 authored by Ravindran, Madhusudhanan (M.)'s avatar Ravindran, Madhusudhanan (M.) Committed by Greg Kroah-Hartman
Browse files

staging: netlogic: allocate right size in devm_kzalloc


sizeof when applied to a pointer typed expression gives
the size of the pointer.

The semantic patch that makes this change is available
in scripts/coccinelle/misc/noderef.cocci.

Signed-off-by: default avatarMadhusudhanan Ravindran <mravindr@visteon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 87794575
No related branches found
No related tags found
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