[PATCH linux-next] ARM/dma-mapping: replace kzalloc() and vzalloc() with kvzalloc()
Linus Walleij
linus.walleij at linaro.org
Wed Dec 13 00:26:19 PST 2023
On Tue, Dec 12, 2023 at 4:20 AM <yang.guang5 at zte.com.cn> wrote:
> From: Yang Guang <yang.guang5 at zte.com.cn>
> 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 at zte.com.cn>
Looks good to me:
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Please put this patch into Russell's patch tracker.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list