rv1126-uboot/drivers/pci
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
..
Kconfig x86: kconfig: Select PCI and DM_PCI 2017-08-01 20:17:02 +08:00
Makefile Drop CONFIG_WINBOND_83C553 2017-01-25 17:38:43 -05:00
fsl_pci_init.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
pci-emul-uclass.c
pci-uclass.c dm: ofnode: rename ofnode_read_prop() to ofnode_get_property() 2017-07-11 10:08:20 -06:00
pci.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
pci_auto.c
pci_auto_common.c
pci_auto_old.c
pci_common.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
pci_compat.c dm: pci: return the real controller in pci_bus_to_hose() 2017-01-18 09:25:14 -08:00
pci_ftpci100.c
pci_gt64120.c
pci_indirect.c powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
pci_internal.h
pci_msc01.c
pci_mvebu.c pci: mvebu: Fix Armada 38x support 2017-02-01 09:01:19 +01:00
pci_rom.c vbe: Drop vbe_get_video_info() 2017-08-24 11:00:47 +08:00
pci_sandbox.c dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci_sh4.c
pci_sh7751.c pci: sh7751: map PCI memory space into SDRAM 2016-12-02 21:32:43 -05:00
pci_sh7780.c
pci_tegra.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
pci_x86.c
pcie_dw_mvebu.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
pcie_imx.c drivers: pci: imx: add imx_pcie_remove function 2017-05-31 10:09:03 +02:00
pcie_layerscape.c PCI: layerscape: Fix assigning wrong address to LS2088A pcie cfg1 space 2017-08-09 09:57:32 -07:00
pcie_layerscape.h soc/fsl-layerscape: Update SVR number for LS2081A and LS2041A 2017-08-01 08:28:56 -07:00
pcie_layerscape_fixup.c common: freescale: Move arch-specific declarations 2017-06-05 12:30:55 -04:00
pcie_xilinx.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
tsi108_pci.c