Commit b85a4aed authored by Mike Rapoport's avatar Mike Rapoport Committed by Lee Jones
Browse files

UPSTREAM: mmflags.h: add missing __GFP_ZEROTAGS and __GFP_SKIP_KASAN_POISON names

printk("%pGg") outputs these two flags as hexadecimal number, rather
than as a string, e.g:

	GFP_KERNEL|0x1800000

Fix this by adding missing names of __GFP_ZEROTAGS and
__GFP_SKIP_KASAN_POISON flags to __def_gfpflag_names.

Bug: 254441685
Link: https://lkml.kernel.org/r/20210816133502.590-1-rppt@kernel.org


Fixes: 013bb59d ("arm64: mte: handle tags zeroing at page allocation time")
Fixes: c275c5c6 ("kasan: disable freed user page poisoning with HW tags")
Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit b16ee0f9)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I889128b56d075cbbcc3c8da0f9e5c847f500c1fd
parent 3586ade7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment