diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-12-24 00:33:42 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-25 01:54:29 +0300 |
commit | 7c63f26cb518f57aa5feaef7e0abe2697155df35 (patch) | |
tree | 012c263270c173b1ef968695c8767b2afc5cc0a6 /lib/kunit/string-stream.c | |
parent | 7467d716583eec12ae84a33fb1fb27d22333fc64 (diff) | |
download | linux-7c63f26cb518f57aa5feaef7e0abe2697155df35.tar.xz |
lib: objagg: Use the bitmap API when applicable
Use 'bitmap_zalloc()' to simplify code, improve the semantic and reduce
some open-coded arithmetic in allocator arguments.
Also change the corresponding 'kfree()' into 'bitmap_free()' to keep
consistency.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/f9541b085ec68e573004e1be200c11c9c901181a.1640295165.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/kunit/string-stream.c')
0 files changed, 0 insertions, 0 deletions