diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-12-23 22:33:42 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-24 14:54:29 -0800 |
commit | 7c63f26cb518f57aa5feaef7e0abe2697155df35 (patch) | |
tree | 012c263270c173b1ef968695c8767b2afc5cc0a6 /kernel/workqueue_internal.h | |
parent | 7467d716583eec12ae84a33fb1fb27d22333fc64 (diff) | |
download | linux-7c63f26cb518f57aa5feaef7e0abe2697155df35.tar.bz2 |
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 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions