Re: [PATCH v2 5/9] kasan: change report header
From: Andrey Konovalov
Date: Fri Mar 03 2017 - 09:20:15 EST
On Fri, Mar 3, 2017 at 3:18 PM, Andrey Konovalov <andreyknvl@xxxxxxxxxx> wrote:
> On Fri, Mar 3, 2017 at 2:21 PM, Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx> wrote:
>>
>>
>> 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.
>
> You mean the code or the header?
> The code fits, the header has much higher chances to fit after the change.
Ah, got you, will fix.
>
>>
>> --
>> You received this message because you are subscribed to the Google Groups "kasan-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@xxxxxxxxxxxxxxxxx
>> To post to this group, send email to kasan-dev@xxxxxxxxxxxxxxxxx
>> To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/028eee50-f14f-034d-6e8a-9d07276543b5%40virtuozzo.com.
>> For more options, visit https://groups.google.com/d/optout.