Re: [PATCH v2 5/9] kasan: change report header

From: Andrey Ryabinin
Date: Fri Mar 03 2017 - 08:56:19 EST




On 03/02/2017 04:48 PM, Andrey Konovalov wrote:

> diff --git a/mm/kasan/report.c b/mm/kasan/report.c
> index 8b0b27eb37cd..945d0e13e8a4 100644
> --- a/mm/kasan/report.c
> +++ b/mm/kasan/report.c
> @@ -130,11 +130,11 @@ static void print_error_description(struct kasan_access_info *info)
> {
> const char *bug_type = get_bug_type(info);
>
> - pr_err("BUG: KASAN: %s in %pS at addr %p\n",
> - bug_type, (void *)info->ip, info->access_addr);
> - pr_err("%s of size %zu by task %s/%d\n",
> + pr_err("BUG: KASAN: %s in %pS\n",
> + bug_type, (void *)info->ip);

This should fit in one line without exceeding 80-char limit.