Re: [PATCH] optee: Use bitmap_free() to free bitmap

From: Jens Wiklander
Date: Fri Jan 14 2022 - 05:01:34 EST


On Mon, Dec 27, 2021 at 6:36 AM Sumit Garg <sumit.garg@xxxxxxxxxx> wrote:
>
> On Sun, 26 Dec 2021 at 20:02, Christophe JAILLET
> <christophe.jaillet@xxxxxxxxxx> wrote:
> >
> > kfree() and bitmap_free() are the same. But using the latter is more
> > consistent when freeing memory allocated with bitmap_zalloc().
> >
> > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> > ---
> > drivers/tee/optee/notif.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> Looks reasonable to me.
>
> Reviewed-by: Sumit Garg <sumit.garg@xxxxxxxxxx>
>

Looks good, picking up this.

Thanks,
Jens