u-boot/fs/jffs2
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
..
compr_lzo.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
compr_rtime.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
compr_rubin.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
compr_zlib.c fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
jffs2_1pass.c fs: use get_nand_dev_by_index() 2017-07-11 22:41:47 -04:00
jffs2_nand_1pass.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
jffs2_nand_private.h Rewrite of NAND code based on what is in 2.6.12 Linux kernel 2005-08-17 12:55:25 +02:00
jffs2_private.h JFFS2: Use merge sort when parsing filesystem 2015-08-12 20:47:32 -04:00
Kconfig fs: Kconfig: Add a separate option for FS_JFFS2 2017-05-22 12:45:31 -04:00
LICENCE JFFS2: drop support for LZARI compression mode 2010-01-15 11:16:47 +01:00
Makefile JFFS2: Use merge sort when parsing filesystem 2015-08-12 20:47:32 -04:00
mergesort.c JFFS2: Use merge sort when parsing filesystem 2015-08-12 20:47:32 -04:00
mini_inflate.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
summary.h jffs2: summary support 2008-12-09 23:39:59 +01:00