u-boot-2016/drivers/net
Masahiro Yamada 9b643e312d 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>

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>
2017-10-04 11:59:44 -04:00
..
fm blk: Remove various places that do flush cache after read 2017-09-15 08:05:10 -04:00
fsl-mc drivers:net:fsl-mc: Update MC address calculation 2017-09-11 07:55:36 -07:00
ldpaa_eth armv8: fsl-layerscape: Support to add RGMII for ls1088aqds 2017-09-11 08:01:05 -07:00
phy net: phy: micrel: Convert to livetree 2017-09-18 20:40:34 +02:00
8390.h
ag7xxx.c net: ag7xxx: Propagate errors on phy access 2017-08-07 15:18:29 -05:00
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() 2017-10-04 11:59:44 -04:00
bcm-sf2-eth-gmac.h
bcm-sf2-eth.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
bcm-sf2-eth.h net: move Broadcom SF2 driver to Kconfig 2017-08-07 15:18:30 -05:00
calxedaxgmac.c
cpsw-common.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
cpsw.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04: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 net: designware: Convert to livetree 2017-09-18 20:40:34 +02:00
designware.h
dm9000x.c
dm9000x.h
dnet.c
dnet.h
dwc_eth_qos.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
e1000.c
e1000.h
e1000_spi.c
eepro100.c
enc28j60.c
enc28j60.h
ep93xx_eth.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04: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 nds32: ftmac100: Fix write mac addr fail problem. 2017-09-21 10:30:22 +08:00
ftmac100.h
ftmac110.c
ftmac110.h
gmac_rockchip.c net: gmac_rockchip: Add support for the RK3368 GMAC 2017-08-13 17:12:33 +02:00
Kconfig ARM: mvebu: Convert CONFIG_MVNETA to Kconfig 2017-09-26 06:51:30 +02:00
keystone_net.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04: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
Makefile
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 net: mvpp2x: Set BM poll size once during priv probe 2017-08-10 08:33:02 +02:00
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 env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
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