diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2022-03-24 18:12:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-24 19:06:49 -0700 |
commit | 9d7b7dd946924de43021f57a8bee122ff0744d93 (patch) | |
tree | f39a9c9427cc314fc7edf03fd492397bd16d5259 /mm/slab_common.c | |
parent | 0a6e8a07dec75f7b013b70c2df3e69c64edf312f (diff) | |
download | linux-9d7b7dd946924de43021f57a8bee122ff0744d93.tar.gz linux-9d7b7dd946924de43021f57a8bee122ff0744d93.tar.bz2 linux-9d7b7dd946924de43021f57a8bee122ff0744d93.zip |
kasan: split out print_report from __kasan_report
Split out the part of __kasan_report() that prints things into
print_report(). One of the subsequent patches makes another error handler
use print_report() as well.
Includes lower-level changes:
- Allow addr_has_metadata() accepting a tagged address.
- Drop the const qualifier from the fields of kasan_access_info to
avoid excessive type casts.
- Change the type of the address argument of __kasan_report() and
end_report() to void * to reduce the number of type casts.
Link: https://lkml.kernel.org/r/9be3ed99dd24b9c4e1c4a848b69a0c6ecefd845e.1646237226.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions