1
0
Fork 0
alistair23-linux/fs/bfs
Randy Dunlap 5b2f1ad6b1 bfs: don't use WARNING: string when it's just info.
commit dc889b8d4a upstream.

Make the printk() [bfs "printf" macro] seem less severe by changing
"WARNING:" to "NOTE:".

<asm-generic/bug.h> warns us about using WARNING or BUG in a format string
other than in WARN() or BUG() family macros.  bfs/inode.c is doing just
that in a normal printk() call, so change the "WARNING" string to be
"NOTE".

Link: https://lkml.kernel.org/r/20201203212634.17278-1-rdunlap@infradead.org
Reported-by: syzbot+3fd34060f26e766536ff@syzkaller.appspotmail.com
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: "Tigran A. Aivazian" <aivazian.tigran@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-06 14:48:39 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bfs.h bfs: extra sanity checking and static inode bitmap 2019-01-04 13:13:47 -08:00
dir.c bfs: extra sanity checking and static inode bitmap 2019-01-04 13:13:47 -08:00
file.c bfs: extra sanity checking and static inode bitmap 2019-01-04 13:13:47 -08:00
inode.c bfs: don't use WARNING: string when it's just info. 2021-01-06 14:48:39 +01:00