Tag: 4bc88f63d7af89831fac82b67625f3e19156abba

staging: netlogic: allocate right size in devm_kzalloc

Author: Ravindran, Madhusudhanan (M.) <mravindr@visteon.com> 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: Madhusudhanan Ravindran Signed-off-by: Greg Kroah-Hartman — drivers/staging/netlogic/xlr_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/netlogic/xlr_net.c b/drivers/staging/netlogic/xlr_net.c index e8aae09..8ae0175 …

Continue reading