u-boot-brain/board/nvidia
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
..
beaver Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
cardhu mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
dalmore mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
e2220-1170 ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
harmony mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
jetson-tk1 treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
nyan-big dm: power: Convert as3722 to driver model 2017-07-28 12:02:47 -06:00
p2371-0000 ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
p2371-2180 ARM: tegra: p2371-2180: A03 board PMIC config update 2016-07-21 09:31:30 -07:00
p2571 ARM: tegra: p2371-2180: A03 board PMIC config update 2016-07-21 09:31:30 -07:00
p2771-0000 ARM: tegra: enable PCIe controller on p2771-0000 2016-08-15 10:26:13 -07:00
seaboard arm: Add explicit include of <asm/mach-types.h> 2017-06-05 11:02:36 -04:00
venice2 ARM: tegra: Add support for TK1-SOM board from Colorado Engineering 2016-09-01 09:24:30 -07:00
ventana kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00