Message ID | 20210813235427.2ncjDFSFa%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/7] kasan, kmemleak: reset tags when scanning block | expand |
--- a/mm/slub.c~kasan-slub-reset-tag-when-printing-address +++ a/mm/slub.c @@ -576,8 +576,8 @@ static void print_section(char *level, c unsigned int length) { metadata_access_enable(); - print_hex_dump(level, kasan_reset_tag(text), DUMP_PREFIX_ADDRESS, - 16, 1, addr, length, 1); + print_hex_dump(level, text, DUMP_PREFIX_ADDRESS, + 16, 1, kasan_reset_tag((void *)addr), length, 1); metadata_access_disable(); }