commit | 7c63f26cb518f57aa5feaef7e0abe2697155df35 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Thu Dec 23 22:33:42 2021 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri Dec 24 14:54:29 2021 -0800 |
tree | 012c263270c173b1ef968695c8767b2afc5cc0a6 | |
parent | 7467d716583eec12ae84a33fb1fb27d22333fc64 [diff] |
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>