summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-12 11:58:53 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2025-09-11 17:34:15 +0200
commit81eb13a19a8eb259b3d9b1fdf5cbf154f71fc1d0 (patch)
treee37670f27accfc71708099344dc9ab86e0daa89d /rust/helpers/helpers.c
parente3d2faffdd18a545caccb1d249603cf286289d0f (diff)
mtd: use vmalloc_array and vcalloc to simplify code
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. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions