stmmac: fix noderef.cocci warnings
authorWu Fengguang <fengguang.wu@intel.com>
Thu, 3 Mar 2016 01:55:19 +0000 (09:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2016 03:46:09 +0000 (22:46 -0500)
commit4c3e962df044c34d25403f8f58ff7b34c4966b4a
tree8e2a3805007bdf94719a6aa580c500cf67f93146
parentd1491fa54ceecfc32147626375e27937cb54b091
stmmac: fix noderef.cocci warnings

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@st.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c