u-boot-brain/arch/arm/mach-tegra
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
..
tegra20 treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
tegra30 treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
tegra114 Kconfig: Migrate BOARD_LATE_INIT to a select 2017-01-24 10:35:54 -05:00
tegra124 treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
tegra186 treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
tegra210 treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ap.c bug.h: move BUILD_BUG_* defines to include/linux/bug.h 2016-01-25 10:39:59 -05:00
arm64-mmu.c ARM: tegra: reduce DRAM size mapped into MMU on ARM64 2016-10-10 11:00:03 -07:00
board.c serial, ns16550: bugfix: ns16550 fifo not enabled 2017-01-20 09:15:19 -05:00
board2.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
board186.c ARM: tegra: add SoC-level hook for board_late_init() 2016-11-07 11:28:15 -06:00
cache.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
clock.c dm: tegra: Convert clock_decode_periph_id() to support livetree 2017-07-28 12:02:47 -06:00
cmd_enterrcm.c ARM: tegra: collect SoC sources into mach-tegra 2015-02-21 08:23:51 -05:00
cpu.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
cpu.h ARM: tegra: reduce CSITE clock from 204M to 136M 2016-08-15 10:26:14 -07:00
dt-setup.c ARM: tegra: move ft_system_setup() 2016-08-15 10:26:13 -07:00
emc.c ARM: tegra: move NVIDIA common files to arch/arm/mach-tegra 2015-05-13 09:46:19 -07:00
emc.h ARM: tegra: move NVIDIA common files to arch/arm/mach-tegra 2015-05-13 09:46:19 -07:00
gpu.c ARM: tegra: enable GPU node by compatible value 2016-05-04 13:31:03 -07:00
ivc.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
Kconfig env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
lowlevel_init.S ARM: Tegra210: Add support to common Tegra source/config files 2015-07-28 10:30:20 -07:00
Makefile ARM: tegra: move ft_system_setup() 2016-08-15 10:26:13 -07:00
pinmux-common.c ARM: tegra: Build warning fixes for 64-bit 2015-07-27 15:54:18 -07:00
powergate.c tegra: Introduce SRAM repair on tegra124 2015-06-09 09:56:14 -07:00
psci.S ARM: PSCI: Switch to per-CPU target PC storage in secure data section 2016-07-15 15:54:58 +02:00
spl.c tegra: spl: Enable debug UART 2017-07-28 12:02:47 -06:00
sys_info.c ARM: tegra: collect SoC sources into mach-tegra 2015-02-21 08:23:51 -05:00
xusb-padctl-common.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
xusb-padctl-common.h dm: tegra: Convert USB setup to livetree 2017-07-28 12:02:47 -06:00
xusb-padctl-dummy.c dm: tegra: Convert USB setup to livetree 2017-07-28 12:02:47 -06:00