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
..
2017-09-18 20:40:34 +02:00
2016-10-23 18:33:18 -04:00
2017-06-28 11:43:39 -04:00
2017-06-28 11:43:39 -04:00
2016-12-04 13:55:01 -05:00
2016-02-05 12:47:23 +08:00
2017-06-01 07:03:01 -06:00
2016-12-16 17:15:27 +01:00
2017-09-07 13:23:52 -05:00
2015-08-11 13:27:15 -05:00
2017-09-07 13:23:52 -05:00
2016-08-15 15:29:03 -05:00
2017-09-07 13:23:52 -05:00
2017-06-02 14:44:20 -05:00
2017-06-01 07:03:10 -06:00
2017-08-03 04:26:25 +09:00
2017-06-01 07:03:01 -06:00
2016-08-15 15:29:03 -05:00
2015-09-11 17:14:43 -04:00
2017-04-05 13:52:01 -04:00
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00
2017-07-03 17:35:28 -04:00