Re: [PATCH linux-next] ARM/dma-mapping: replace kzalloc() and vzalloc() with kvzalloc()

From: Linus Walleij
Date: Wed Dec 13 2023 - 03:26:34 EST


On Tue, Dec 12, 2023 at 4:20 AM <yang.guang5@xxxxxxxxxx> wrote:

> From: Yang Guang <yang.guang5@xxxxxxxxxx>
> using kvzalloc() simplifies the code by avoiding the
> use of different memory allocation functions for different
> situations, making the code more uniform and readable.
>
> Signed-off-by: Chen Haonan <chen.haonan2@xxxxxxxxxx>

Looks good to me:
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Please put this patch into Russell's patch tracker.

Yours,
Linus Walleij