]> git.baikalelectronics.ru Git - kernel.git/commit
vsprintf: Make %pGp print the hex value
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 19 Oct 2021 14:26:21 +0000 (15:26 +0100)
committerPetr Mladek <pmladek@suse.com>
Wed, 27 Oct 2021 11:40:14 +0000 (13:40 +0200)
commit140c8bbc7f122ee93fcdfd2b2c7f166ae69281d6
treee867289237ebd1050643b53f3202cbc9a99f5ad3
parent0b0540982206dc4b15edc7c63c4e2c31d66b674b
vsprintf: Make %pGp print the hex value

All existing users of %pGp want the hex value as well as the decoded
flag names.  This looks awkward (passing the same parameter to printf
twice), so move that functionality into the core.  If we want, we
can make that optional with flag arguments to %pGp in the future.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Yafang Shao <laoar.shao@gmail.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20211019142621.2810043-6-willy@infradead.org
lib/test_printf.c
lib/vsprintf.c
mm/debug.c
mm/memory-failure.c
mm/page_owner.c
mm/slub.c