Re: [PATCH v3 1/3] lib/test_kasan: Add bitops tests

2019-06-13 Thread Andrey Ryabinin
On 5/31/19 6:08 PM, Marco Elver wrote: > This adds bitops tests to the test_kasan module. In a follow-up patch, > support for bitops instrumentation will be added. > > Signed-off-by: Marco Elver > --- > Changes in v3: > * Use kzalloc instead of kmalloc. > * Use sizeof(*bits). > > Changes in v

Re: [PATCH v3 1/3] lib/test_kasan: Add bitops tests

2019-06-13 Thread Marco Elver
Thanks, I've sent v4. On Thu, 13 Jun 2019 at 12:49, Andrey Ryabinin wrote: > > > > On 5/31/19 6:08 PM, Marco Elver wrote: > > This adds bitops tests to the test_kasan module. In a follow-up patch, > > support for bitops instrumentation will be added. > > > > Signed-off-by: Marco Elver > > --- >

Re: [PATCH v3 1/3] lib/test_kasan: Add bitops tests

2019-05-31 Thread Mark Rutland
On Fri, May 31, 2019 at 05:08:29PM +0200, Marco Elver wrote: > This adds bitops tests to the test_kasan module. In a follow-up patch, > support for bitops instrumentation will be added. > > Signed-off-by: Marco Elver > --- > Changes in v3: > * Use kzalloc instead of kmalloc. > * Use sizeof(*bits)

[PATCH v3 1/3] lib/test_kasan: Add bitops tests

2019-05-31 Thread Marco Elver
This adds bitops tests to the test_kasan module. In a follow-up patch, support for bitops instrumentation will be added. Signed-off-by: Marco Elver --- Changes in v3: * Use kzalloc instead of kmalloc. * Use sizeof(*bits). Changes in v2: * Use BITS_PER_LONG. * Use heap allocated memory for test,