u-boot/fs/yaffs2
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
..
Kconfig Convert CONFIG_CMD_YAFFS2 to Kconfig 2017-08-11 17:44:50 -04:00
Makefile Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
yaffs_allocator.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_allocator.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_attribs.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_attribs.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_bitmap.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_bitmap.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_checkptrw.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_checkptrw.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_ecc.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_ecc.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_error.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_flashif.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_flashif2.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_getblockinfo.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_guts.c yaffs2: preprocessor cleanup 2014-07-18 17:53:23 -04:00
yaffs_guts.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_mtdif.c treewide: use #include <...> to include public headers 2016-09-23 17:53:56 -04:00
yaffs_mtdif.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_mtdif2.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
yaffs_mtdif2.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_nameval.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_nameval.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_nand.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_nand.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_nandemul2k.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_nandif.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_nandif.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_osglue.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_packedtags1.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_packedtags1.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_packedtags2.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_packedtags2.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_qsort.c SPDX-License-Identifier: convert BSD-3-Clause files 2013-08-19 15:45:35 -04:00
yaffs_summary.c yaffs2: Remove block number check from summary verification 2014-01-20 10:09:51 -05:00
yaffs_summary.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_tagscompat.c u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_tagscompat.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_trace.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_uboot_glue.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
yaffs_verify.c yaffs2: cosmetic: remove self assignments 2014-07-18 17:53:23 -04:00
yaffs_verify.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_yaffs1.c yaffs2: Fix GCC 4.6 compile warnings 2012-10-08 11:15:04 -07:00
yaffs_yaffs1.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffs_yaffs2.c yaffs2: Fix GCC 4.6 compile warnings 2012-10-08 11:15:04 -07:00
yaffs_yaffs2.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffscfg.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
yaffsfs.c yaffs2: remove redundant condition 2017-04-18 10:29:22 -04:00
yaffsfs.h u-boot: Update yaffs2 file system 2012-08-09 23:39:18 +02:00
ydirectenv.h treewide: use #include <...> to include public headers 2016-09-23 17:53:56 -04:00
yportenv.h u-boot yaffs2: Fix compilation warnings 2012-09-02 16:47:50 +02:00