u-boot/arch/arm/mach-socfpga
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
..
include/mach arm: socfpga: Add FPGA driver support for Arria 10 2017-07-26 10:31:44 +02:00
board.c arm: socfpga: Introduce common board code 2015-12-20 03:36:51 +01:00
clock_manager.c arm: socfpga: Add clock driver for Arria 10 2017-05-18 11:33:17 +02:00
clock_manager_arria10.c arm: socfpga: Add clock driver for Arria 10 2017-05-18 11:33:17 +02:00
clock_manager_gen5.c arm: socfpga: Restructure clock manager driver 2017-05-18 11:33:16 +02:00
fpga_manager.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
freeze_controller.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
Kconfig Convert CONFIG_SPL_BOARD_INIT to Kconfig 2017-05-22 07:29:48 -04:00
Makefile arm: socfpga: Restructure FPGA driver in the preparation to support A10 2017-07-26 10:31:44 +02:00
misc.c arm: socfpga: Restructure misc driver 2017-05-18 11:33:17 +02:00
misc_arria10.c arm: socfpga: Add misc support for Arria 10 2017-05-18 11:33:18 +02:00
misc_gen5.c ARM: socfpga: fix duplicate const specifier warning 2017-09-23 15:13:20 +02:00
pinmux_arria10.c arm: socfpga: Add pinmux for Arria 10 2017-05-18 11:33:18 +02:00
qts-filter.sh qts-filter.sh: strip DOS line endings and handle continuation lines 2016-12-06 01:45:57 +01:00
reset_manager.c arm: socfpga: Restructure reset manager driver 2017-05-18 11:33:17 +02:00
reset_manager_arria10.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
reset_manager_gen5.c arm: socfpga: Restructure reset manager driver 2017-05-18 11:33:17 +02:00
scan_manager.c arm: socfpga: scan: Add code to get FPGA ID 2015-08-08 14:14:30 +02:00
spl.c arm: socfpga: Add SPL support for Arria 10 2017-05-18 11:33:18 +02:00
system_manager_gen5.c arm: socfpga: Restructure system manager 2017-05-18 11:33:17 +02:00
timer.c ARM: socfpga: move SoC sources to mach-socfpga 2015-05-07 05:21:12 +02:00
wrap_iocsr_config.c arm: socfpga: Switch to filtered QTS files 2015-08-23 11:56:20 +02:00
wrap_pinmux_config.c arm: socfpga: Make the pinmux table const u8 2015-08-23 11:56:20 +02:00
wrap_pll_config.c arm: socfpga: set the mpuclk divider in the Altera group register 2017-02-08 02:19:11 +01:00
wrap_sdram_config.c ddr: altera: Configuring SDRAM extra cycles timing parameters 2016-10-27 08:03:07 +02:00