Re: [PATCH v5 3/6] kasan: Add report for async mode

2021-01-22 Thread Vincenzo Frascino
On 1/22/21 1:27 PM, Vincenzo Frascino wrote: >> It looks like the original kasan_report() prototype is declared in two >> places (second one in mm/kasan/kasan.h). I'd remove the latter and try >> to have a consistent approach for kasan_report() and >> kasan_report_async(). >> > Ok, I will remove

Re: [PATCH v5 3/6] kasan: Add report for async mode

2021-01-22 Thread Vincenzo Frascino
On 1/22/21 1:19 PM, Catalin Marinas wrote: > On Thu, Jan 21, 2021 at 04:39:40PM +, Vincenzo Frascino wrote: >> diff --git a/include/linux/kasan.h b/include/linux/kasan.h >> index bb862d1f0e15..b0a1d9dfa85c 100644 >> --- a/include/linux/kasan.h >> +++ b/include/linux/kasan.h >> @@ -351,6 +351

Re: [PATCH v5 3/6] kasan: Add report for async mode

2021-01-22 Thread Catalin Marinas
On Thu, Jan 21, 2021 at 04:39:40PM +, Vincenzo Frascino wrote: > diff --git a/include/linux/kasan.h b/include/linux/kasan.h > index bb862d1f0e15..b0a1d9dfa85c 100644 > --- a/include/linux/kasan.h > +++ b/include/linux/kasan.h > @@ -351,6 +351,8 @@ static inline void *kasan_reset_tag(const void

Re: [PATCH v5 3/6] kasan: Add report for async mode

2021-01-21 Thread kernel test robot
Hi Vincenzo, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20210121] [cannot apply to arm64/for-next/core arm/for-next soc/for-next xlnx/master kvmarm/next linus/master hnaz-linux-mm/master v5.11-rc4 v5.11-rc3 v5.11-rc2 v5.11-rc4] [If your patch is applied to

Re: [PATCH v5 3/6] kasan: Add report for async mode

2021-01-21 Thread kernel test robot
Hi Vincenzo, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20210121] [cannot apply to arm64/for-next/core arm/for-next soc/for-next xlnx/master kvmarm/next linus/master hnaz-linux-mm/master v5.11-rc4 v5.11-rc3 v5.11-rc2 v5.11-rc4] [If your patch is applied to

Re: [PATCH v5 3/6] kasan: Add report for async mode

2021-01-21 Thread Andrey Konovalov
On Thu, Jan 21, 2021 at 5:39 PM Vincenzo Frascino wrote: > > KASAN provides an asynchronous mode of execution. > > Add reporting functionality for this mode. > > Cc: Dmitry Vyukov > Cc: Andrey Ryabinin > Cc: Alexander Potapenko > Cc: Andrey Konovalov > Signed-off-by: Vincenzo Frascino > --- >

[PATCH v5 3/6] kasan: Add report for async mode

2021-01-21 Thread Vincenzo Frascino
KASAN provides an asynchronous mode of execution. Add reporting functionality for this mode. Cc: Dmitry Vyukov Cc: Andrey Ryabinin Cc: Alexander Potapenko Cc: Andrey Konovalov Signed-off-by: Vincenzo Frascino --- include/linux/kasan.h | 2 ++ mm/kasan/report.c | 11 +++ 2 files