u-boot/board/samsung
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
..
arndale mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC 2017-05-15 18:28:23 +09:00
common treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
espresso7420 board: samsung: add initial Espresso7420 board support 2016-05-25 10:00:19 +09:00
goni treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
odroid treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
origen samsung: fix mkorigenspl for darwin 2016-02-24 18:43:59 -05:00
smdk5250 exynos: Add support for spring 2015-08-05 21:06:17 -06:00
smdk5420 board: samsung: update the MAINTAINERS file 2016-12-27 11:24:19 -05:00
smdkc100 arm: Add explicit include of <asm/mach-types.h> 2017-06-05 11:02:36 -04:00
smdkv310 mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC 2017-05-15 18:28:23 +09:00
trats env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
trats2 board: samsung: trats2: remove the board_power_init() function 2017-04-07 11:27:55 +09:00
universal_c210 env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00