kasan-use-%px-to-print-addresses-instead-of-%p.patch removed from -mm tree
The patch titled
Subject: kasan: use %px to print addresses instead of %p
has been removed from the -mm tree. Its filename was
kasan-use-%px-to-print-addresses-instead-of-%p.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Tobin C. Harding" <[email protected]>
Subject: kasan: use %px to print addresses instead of %p
Pointers printed with %p are now hashed by default. Kasan needs the actual address. We can use the new printk specifier %px for this purpose.
Use %px instead of %p to print addresses.
Signed-off-by Tobin C. Harding <[email protected]>
Cc Alexander Potapenko <[email protected]>
Cc Andrey Ryabinin <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Chris Fries <[email protected]>
Cc Daniel Micay <[email protected]>
Cc Dave Weinstein <[email protected]>
Cc David Miller <[email protected]>
Cc Djalal Harouni <[email protected]>
Cc Dmitry Vyukov <[email protected]>
Cc Greg KH <[email protected]>
Cc Ian Campbell <[email protected]>
Cc "Jason A. Donenfeld" <[email protected]>
Cc Joe Perches <[email protected]>
Cc Jordan Glover <[email protected]>
Cc Kees Cook <[email protected]>
Cc Paolo Bonzini <[email protected]>
Cc Petr Mladek <[email protected]>
Cc Radim Krčmář <[email protected]>
Cc "Roberts, William C" <[email protected]>
Cc Sergey Senozhatsky <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Tejun Heo <[email protected]>
Cc "Theodore Ts'o" <[email protected]>
Cc Tycho Andersen <[email protected]>
Cc Will Deacon <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/kasan/report.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
mm/kasan/report.c renamed from mm/kasan/report.c~kasan-use-%px-to-print-addresses-instead-of-%p +4 -4
@@ -134,7 +134,7 @@ static void print_error_description(strupr_err ("BUG: KASAN: %s in %pS\n" , bug_type, (void *)info->ip); -pr_err ("%s of size %zu at addr %p by task %s/%d\n" , +pr_err ("%s of size %zu at addr %px by task %s/%d\n" , info->is_write ?"Write" :"Read" , info->access_size, info->access_addr, current->comm,task_pid_nr (current)); }
@@ -206,7 +206,7 @@ static void describe_object_addr(structconst char *rel_type;int rel_bytes; -pr_err ("The buggy address belongs to the object at %p\n" +pr_err ("The buggy address belongs to the object at %px\n" " which belongs to the cache %s of size %d\n" , object, cache->name, cache->object_size);
@@ -225,7 +225,7 @@ static void describe_object_addr(struct }pr_err ("The buggy address is located %d bytes %s of\n" -" %d-byte region [%p, %p)\n" , +" %d-byte region [%px, %px)\n" , rel_bytes, rel_type, cache->object_size, (void *)object_addr, (void *)(object_addr + cache->object_size)); }
@@ -302,7 +302,7 @@ static void print_shadow_for_address(conchar shadow_buf[SHADOW_BYTES_PER_ROW ];snprintf (buffer,sizeof (buffer), - (i ==0 ) ?">%p: " :" %p: " , kaddr); + (i ==0 ) ?">%px: " :" %px: " , kaddr);/* * We should not pass a shadow pointer to generic * function, because generic functions may try to
_
Patches currently in -mm which might be from [email protected] are