rv1126-uboot/drivers/net
Masahiro Yamada 90aa625c9a treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:

  # define __compiletime_error(message) __attribute__((error(message)))

This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux.  (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

Let's convert error() into now treewide-available pr_err().

Done with the help of Coccinelle, excluing tools/ directory.

The semantic patch I used is as follows:

// <smpl>
@@@@
-error
+pr_err
 (...)
// </smpl>

Change-Id: I921807c1770d36a91e692c48ab477558bb2ed0b8
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 9b643e312d528f291966c1f30b0d90bf3b1d43dc)
2018-01-17 15:27:28 +08:00
..
fm UPSTREAM: blk: Remove various places that do flush cache after read 2018-01-16 18:16:48 +08:00
fsl-mc env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
ldpaa_eth
phy UPSTREAM: net: phy: micrel: Convert to livetree 2018-01-16 18:16:48 +08:00
8390.h
Kconfig
Makefile
ag7xxx.c
altera_tse.c
altera_tse.h
armada100_fec.c
armada100_fec.h
at91_emac.c
ax88180.c
ax88180.h
ax88796.c
ax88796.h
bcm-sf2-eth-gmac.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
bcm-sf2-eth-gmac.h
bcm-sf2-eth.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
bcm-sf2-eth.h
calxedaxgmac.c
cpsw-common.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
cpsw.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
cs8900.c
cs8900.h
davinci_emac.c
davinci_emac.h
dc2114x.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
designware.c UPSTREAM: net: designware: Convert to livetree 2018-01-16 18:16:48 +08:00
designware.h
dm9000x.c
dm9000x.h
dnet.c
dnet.h
dwc_eth_qos.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
e1000.c
e1000.h
e1000_spi.c
eepro100.c
enc28j60.c
enc28j60.h
ep93xx_eth.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
ep93xx_eth.h
ethoc.c
fec_mxc.c Merge git://www.denx.de/git/u-boot-imx 2017-08-16 18:12:00 -04:00
fec_mxc.h
fsl_mcdmafec.c net: fix typos 2017-09-07 13:23:52 -05:00
fsl_mdio.c
ftgmac100.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
ftgmac100.h
ftmac100.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
ftmac100.h
ftmac110.c
ftmac110.h
gmac_rockchip.c net: gmac_rockchip: export set_rgmii delayline function 2017-11-13 09:48:50 +08:00
keystone_net.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
ks8851_mll.c
ks8851_mll.h
lan91c96.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
lan91c96.h
lpc32xx_eth.c
macb.c
macb.h
mcffec.c net: fix typos 2017-09-07 13:23:52 -05:00
mcfmii.c
mpc8xx_fec.c
mvgbe.c
mvgbe.h
mvneta.c net: fix typos 2017-09-07 13:23:52 -05:00
mvpp2.c
natsemi.c
ne2000.c
ne2000.h
ne2000_base.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
ne2000_base.h
netconsole.c env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
ns8382x.c
pch_gbe.c
pch_gbe.h
pcnet.c
pic32_eth.c
pic32_eth.h
pic32_mdio.c
ravb.c
rtl8139.c
rtl8169.c
sandbox-raw.c
sandbox.c
sh_eth.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
sh_eth.h
smc911x.c
smc911x.h
smc91111.c
smc91111.h
sun8i_emac.c
sunxi_emac.c
tsec.c
tsi108_eth.c
uli526x.c
vsc7385.c
vsc9953.c
xilinx_axi_emac.c
xilinx_emaclite.c
xilinx_ll_temac.c
xilinx_ll_temac.h
xilinx_ll_temac_fifo.c
xilinx_ll_temac_fifo.h
xilinx_ll_temac_mdio.c
xilinx_ll_temac_mdio.h
xilinx_ll_temac_sdma.c
xilinx_ll_temac_sdma.h
zynq_gem.c