aboutsummaryrefslogtreecommitdiffstats
path: root/mm/kasan/report.c
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2015-11-05 21:51:03 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-05 22:34:48 -0500
commit25add7ec708170e4eaef1f9793a07803b2fb5c71 (patch)
treea981328e602baed30af56448fcfe27fa448d9ae6 /mm/kasan/report.c
parentcdf6a273dc4346277ab9d148ef29f6e058624a8c (diff)
kasan: update log messages
We decided to use KASAN as the short name of the tool and KernelAddressSanitizer as the full one. Update log messages according to that. Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Alexander Potapenko <glider@google.com> Cc: Konstantin Serebryany <kcc@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kasan/report.c')
-rw-r--r--mm/kasan/report.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/kasan/report.c b/mm/kasan/report.c
index be53a8f9e5dd..ae6bd3697c91 100644
--- a/mm/kasan/report.c
+++ b/mm/kasan/report.c
@@ -91,7 +91,7 @@ static void print_error_description(struct kasan_access_info *info)
91 break; 91 break;
92 } 92 }
93 93
94 pr_err("BUG: KASan: %s in %pS at addr %p\n", 94 pr_err("BUG: KASAN: %s in %pS at addr %p\n",
95 bug_type, (void *)info->ip, 95 bug_type, (void *)info->ip,
96 info->access_addr); 96 info->access_addr);
97 pr_err("%s of size %zu by task %s/%d\n", 97 pr_err("%s of size %zu by task %s/%d\n",
@@ -224,7 +224,7 @@ static void kasan_report_error(struct kasan_access_info *info)
224 bug_type = "user-memory-access"; 224 bug_type = "user-memory-access";
225 else 225 else
226 bug_type = "wild-memory-access"; 226 bug_type = "wild-memory-access";
227 pr_err("BUG: KASan: %s on address %p\n", 227 pr_err("BUG: KASAN: %s on address %p\n",
228 bug_type, info->access_addr); 228 bug_type, info->access_addr);
229 pr_err("%s of size %zu by task %s/%d\n", 229 pr_err("%s of size %zu by task %s/%d\n",
230 info->is_write ? "Write" : "Read", 230 info->is_write ? "Write" : "Read",