Re: [PATCH] stmmac: fix noderef.cocci warnings

From: David Miller
Date: Sun Mar 06 2016 - 22:46:50 EST


From: kbuild test robot <fengguang.wu@xxxxxxxxx>
Date: Thu, 3 Mar 2016 09:55:19 +0800

> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:115:15-21: ERROR: application of sizeof to pointer
>
> sizeof when applied to a pointer typed expression gives the size of
> the pointer
>
> Generated by: scripts/coccinelle/misc/noderef.cocci
>
> CC: Giuseppe Cavallaro <peppe.cavallaro@xxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>

Applied, thanks.