Re: [PATCH v3 14/15] kasan: add a test for kmem_cache_alloc/free_bulk

From: Alexander Potapenko
Date: Fri Jan 15 2021 - 08:50:20 EST


On Fri, Jan 15, 2021 at 2:16 PM Marco Elver <elver@xxxxxxxxxx> wrote:
>
> On Thu, Jan 14, 2021 at 08:36PM +0100, Andrey Konovalov wrote:
> > Add a test for kmem_cache_alloc/free_bulk to make sure there are no
> > false-positives when these functions are used.
> >
> > Link: https://linux-review.googlesource.com/id/I2a8bf797aecf81baeac61380c567308f319e263d
> > Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
>
> Reviewed-by: Marco Elver <elver@xxxxxxxxxx>
Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx>

(see a nit below)

> > + cache = kmem_cache_create("test_cache", size, 0, 0, NULL);
Looks like there's a tab between "test_cache" and size, please double-check.