]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6868957d3bf3c403fe9a873a137b4e9f4e9df18
treeebb8c33e2440a2a4976e801931b3a36702d5ef99
parent09a82f0a1eee19ae7a9ab95c09f7c9b4dc63d218
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