diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-04 20:46:00 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-09-21 11:32:58 +0200 |
commit | e7f35da21f6f8c6a8c7d262dd4e4bd32e3083f79 (patch) | |
tree | 4e4cc186c5de0e7b57fcba3798b8320ba5eb3cb0 /include/uapi/mtd | |
parent | a0c51565730729f0df2ee886e34b4da6d359a10b (diff) | |
download | linux-e7f35da21f6f8c6a8c7d262dd4e4bd32e3083f79.tar.gz linux-e7f35da21f6f8c6a8c7d262dd4e4bd32e3083f79.tar.bz2 linux-e7f35da21f6f8c6a8c7d262dd4e4bd32e3083f79.zip |
ubi: fastmap: Use the bitmap API to allocate bitmaps
Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.
It is less verbose and it improves the semantic.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include/uapi/mtd')
0 files changed, 0 insertions, 0 deletions