]> 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)
commit69dcb79ed30a9682cae3167c0824788e77b23c7c
treebd1d39c65a5c5ee32130b974dcb5e8822aa1799f
parent568fcdc0548f398d3a4291a6a1fa6ce57f86f99a
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