]> git.baikalelectronics.ru Git - kernel.git/commit
net/fq_impl: Use the bitmap API to allocate bitmaps
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 9 Jul 2022 14:37:53 +0000 (16:37 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Jul 2022 02:49:38 +0000 (19:49 -0700)
commit48a8234e0340f23b2a375b1c964be697d638e786
treebd1d39c65a5c5ee32130b974dcb5e8822aa1799f
parent3bd6d3d357d750cce3e221ed9a356b36e74e0778
net/fq_impl: 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>
Link: https://lore.kernel.org/r/c7bf099af07eb497b02d195906ee8c11fea3b3bd.1657377335.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/fq_impl.h