summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-12-24 00:33:42 +0300
committerJakub Kicinski <kuba@kernel.org>2021-12-25 01:54:29 +0300
commit7c63f26cb518f57aa5feaef7e0abe2697155df35 (patch)
tree012c263270c173b1ef968695c8767b2afc5cc0a6 /kernel
parent7467d716583eec12ae84a33fb1fb27d22333fc64 (diff)
downloadlinux-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 'kernel')
0 files changed, 0 insertions, 0 deletions