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

Vincenzo Frascino vincenzo.frascino at arm.com
Fri Jan 29 13:00:17 EST 2021


Hi Andrey,

On 1/29/21 5:40 PM, Andrey Konovalov wrote:
> I suggest to call end_report(&flags, 0) here and check addr !=0 in
> end_report() before calling trace_error_report_end().
> 

Probably this is better as:

if (!IS_ENABLED(CONFIG_KASAN_HW_TAGS))

Because that condition passes always addr == 0.

What do you think?

-- 
Regards,
Vincenzo



More information about the linux-arm-kernel mailing list