RDMA/qib: Use the bitmap API when applicable
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 3 Jul 2022 07:42:48 +0000 (09:42 +0200)
committerLeon Romanovsky <leonro@nvidia.com>
Sun, 17 Jul 2022 18:00:10 +0000 (21:00 +0300)
commitac53e0f53239951976002a50b56993c3e30e132f
treeebb8c33e2440a2a4976e801931b3a36702d5ef99
parent2635d2a8d4664b665bc12e15eee88e9b1b40ae7b
RDMA/qib: Use the bitmap API when applicable

Using the bitmap API is less verbose than hand writing them.
It also improves the semantic.

While at it, initialize the bitmaps. It can't hurt.

Link: https://lore.kernel.org/r/33d8992586d382bec8b8efd83e4729fb7feaf89e.1656834106.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/qib/qib_iba7322.c