[PATCH] mtd: use vmalloc_array and vcalloc to simplify code
Miquel Raynal
miquel.raynal at bootlin.com
Mon Sep 1 05:29:46 PDT 2025
On Tue, 12 Aug 2025 11:58:53 +0800, Qianfeng Rong wrote:
> Remove array_size() calls and replace vmalloc(array_size()) with
> vmalloc_array() and vzalloc(array_size()) with vcalloc() to simplify
> the code.
>
> Compile-tested only.
>
>
> [...]
Applied to mtd/next, thanks!
[1/1] mtd: use vmalloc_array and vcalloc to simplify code
commit: 84908cb0d46a574a404beea5ac899ed949ef4e81
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
More information about the linux-mtd
mailing list