u-boot/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
cardhu
dalmore
e2220-1170
harmony
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
p2371-2180
p2571
p2771-0000
seaboard arm: Add explicit include of <asm/mach-types.h> 2017-06-05 11:02:36 -04:00
venice2
ventana