Star64_linux/drivers/net/ethernet/freescale
Colin Ian King 58066ac9d7 ptp_qoriq: don't pass a large struct by value but instead pass it by reference
Passing the struct ptp_clock_info caps by parameter is passing over 130 bytes
of data by value on the stack. Optimize this by passing it by reference instead.
Also shinks the object code size:

Before:
   text	   data	    bss	    dec	    hex	filename
  12596	   2160	     64	  14820	   39e4	drivers/ptp/ptp_qoriq.o

After:
   text	   data	    bss	    dec	    hex	filename
  12567	   2160	     64	  14791	   39c7	drivers/ptp/ptp_qoriq.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-19 14:15:40 -08:00
..
dpaa
dpaa2
enetc
fman
fs_enet
fec.h
fec_main.c
fec_mpc52xx.c
fec_mpc52xx.h
fec_mpc52xx_phy.c
fec_ptp.c
fsl_pq_mdio.c
gianfar.c
gianfar.h
gianfar_ethtool.c
Kconfig
Makefile
ucc_geth.c
ucc_geth.h
ucc_geth_ethtool.c
xgmac_mdio.c