Re: [PATCH v9 3/4] kasan: Add report for async mode

From: Vincenzo Frascino
Date: Fri Jan 29 2021 - 13:15:12 EST




On 1/29/21 6:10 PM, Andrey Konovalov wrote:
> On Fri, Jan 29, 2021 at 6:57 PM Vincenzo Frascino
> <vincenzo.frascino@xxxxxxx> wrote:
>>>>>> +#ifdef CONFIG_KASAN_HW_TAGS
>>>>>> +void kasan_report_async(void)
>>>>>> +{
>>>>>> + unsigned long flags;
>>>>>> +
>>>>>> + start_report(&flags);
>>>>>> + pr_err("BUG: KASAN: invalid-access\n");
>>>>>> + pr_err("Asynchronous mode enabled: no access details available\n");
>>>
>>> Could you also add an empty line here before the stack trace while at it?
>>>
>>
>> Sure no problem.
>
> Just to be clear: I mean adding an empty line into the report itself
> via pr_err("\n") :)
>

Yes I got it ;) It is late here but I am not completely asleep yet ;)

--
Regards,
Vincenzo