u-boot/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 fdt: Rename a few functions in fdt_support 2017-06-01 07:03:11 -06:00
altera_tse.h net: altera_tse: add mSG-DMA support 2015-11-12 08:26:59 +08:00
armada100_fec.c Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
armada100_fec.h Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
at91_emac.c gpio: at91_gpio: remove CPU_HAS_PIO3 macro 2017-04-13 14:44:50 -06:00
ax88180.c Remove some merge markers 2016-10-23 18:33:18 -04:00
ax88180.h
ax88796.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ax88796.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
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 arm: bcm281xx: net: Add Ethernet Driver 2014-08-30 07:46:39 -04:00
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 net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
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 net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
cs8900.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
davinci_emac.c ti816x: Enable ethernet support 2017-06-28 11:43:39 -04:00
davinci_emac.h ti816x: Enable ethernet support 2017-06-28 11:43:39 -04:00
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 net: designware: Export the operation functions 2017-01-11 20:23:50 -07:00
dm9000x.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
dm9000x.h
dnet.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
dnet.h
dwc_eth_qos.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
e1000_spi.c net: e1000: Fix the build with driver model and SPI EEPROM 2016-08-15 13:34:45 -05:00
e1000.c net: e1000: fix indentation 2016-12-04 13:55:01 -05:00
e1000.h net: e1000: Convert to use DM PCI API 2016-02-05 12:47:23 +08:00
eepro100.c net: eepro100: Fix unused variable warning 2017-05-12 08:37:30 -04:00
enc28j60.c Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
enc28j60.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ep93xx_eth.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ep93xx_eth.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ethoc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
fec_mxc.c Merge git://www.denx.de/git/u-boot-imx 2017-08-16 18:12:00 -04:00
fec_mxc.h net: fec_mxc: Driver cleanups 2016-12-16 17:15:27 +01:00
fsl_mcdmafec.c net: fix typos 2017-09-07 13:23:52 -05:00
fsl_mdio.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ftgmac100.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
ftgmac100.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ftmac100.c nds32: ftmac100: Fix write mac addr fail problem. 2017-09-21 10:30:22 +08:00
ftmac100.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ftmac110.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ftmac110.h net: ftmac110: Update tx/rx descriptor format 2013-08-19 12:34:21 -05:00
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 net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
ks8851_mll.h net: ks8851_mll: add ethernet support 2013-06-24 19:11:14 -05:00
lan91c96.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
lan91c96.h arm: remove lubbock board support 2014-04-18 10:42:30 -04:00
lpc32xx_eth.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
macb.c net: macb: Fix GMAC not work when enable DM_ETH 2017-06-02 14:44:19 -05:00
macb.h net: macb: add gmac multi-queue support 2015-08-11 13:27:15 -05:00
Makefile powerpc, 8xx: move FEC Ethernet driver in drivers/net 2017-07-08 15:56:02 -04:00
mcffec.c net: fix typos 2017-09-07 13:23:52 -05:00
mcfmii.c net: mii: Changes not made by spatch 2016-08-15 15:29:03 -05:00
mpc8xx_fec.c powerpc, 8xx: fix missing function declarations. 2017-07-23 09:23:29 -04:00
mvgbe.c net: mvgbe: Fix build error with CONFIG_PHYLIB 2016-11-07 11:28:16 -06:00
mvgbe.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
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 net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
ne2000_base.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
ne2000_base.h Consolidate bool type 2013-04-01 16:33:52 -04:00
ne2000.c net: Use ARRAY_SIZE at appropriate places 2013-08-19 12:34:18 -05:00
ne2000.h
netconsole.c env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
ns8382x.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
pch_gbe.c net: pch_gbe: Add cache maintenance 2017-06-02 14:44:20 -05:00
pch_gbe.h net: pch_gbe: Convert to use DM PCI API 2016-02-05 12:47:23 +08:00
pcnet.c net: pcnet: Fix init on big endian 64 bit 2016-05-31 09:38:11 +02:00
pic32_eth.c dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
pic32_eth.h drivers: net: Add ethernet driver for Microchip PIC32. 2016-02-01 22:14:02 +01:00
pic32_mdio.c drivers: net: Add ethernet driver for Microchip PIC32. 2016-02-01 22:14:02 +01:00
ravb.c net: ravb: Add clock handling support 2017-08-03 04:26:25 +09:00
rtl8139.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
rtl8169.c net: rtl8169: remove unneeded definition 2016-12-04 13:55:01 -05:00
sandbox-raw.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
sandbox.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sh_eth.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
sh_eth.h Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
smc911x.c net: mii: Fix changes made by spatch 2016-08-15 15:29:03 -05:00
smc911x.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
smc91111.c arm: Remove xaeniax board 2015-09-11 17:14:43 -04:00
smc91111.h Blackfin: Remove 2017-04-05 13:52:01 -04:00
sun8i_emac.c dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00
sunxi_emac.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
tsec.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
tsi108_eth.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
uli526x.c net: uli526x: Fix unknown storage size error 2017-05-12 08:37:32 -04:00
vsc7385.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
vsc9953.c drivers: net: vsc9953: Fix bug when PVID is shown for disabled ports only 2016-04-06 08:34:44 -07:00
xilinx_axi_emac.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
xilinx_emaclite.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
xilinx_ll_temac_fifo.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
xilinx_ll_temac_fifo.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_mdio.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_mdio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_sdma.c powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
xilinx_ll_temac_sdma.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
xilinx_ll_temac.c powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
xilinx_ll_temac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
zynq_gem.c net: zynq_gem: Dont flush dummy descriptors 2017-06-02 14:44:20 -05:00