kasan: split out generic_report.c from report.c
authorAndrey Konovalov <andreyknvl@google.com>
Fri, 28 Dec 2018 08:30:38 +0000 (00:30 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Dec 2018 20:11:43 +0000 (12:11 -0800)
commit11cd3cd69a256a353dd1a249b48ccd727d945952
tree1bc9a1396a3fa92d15ac4f3a70d4423c7dc3dfb4
parent772a2fa50ffb2f4282be8436da6e70530a2ac63c
kasan: split out generic_report.c from report.c

Move generic KASAN specific error reporting routines to generic_report.c
without any functional changes, leaving common error reporting code in
report.c to be later reused by tag-based KASAN.

Link: http://lkml.kernel.org/r/ba48c32f8e5aefedee78998ccff0413bee9e0f5b.1544099024.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kasan/Makefile
mm/kasan/generic_report.c [new file with mode: 0644]
mm/kasan/kasan.h
mm/kasan/report.c
mm/kasan/tags_report.c [new file with mode: 0644]