Christophe JAILLET 27c2f5029a RDMA/ocrdma: Use bitmap_zalloc() when applicable
Use 'bitmap_zalloc()' to simplify code, improve the semantic and avoid
some open-coded arithmetic in allocator arguments.

Also change the corresponding 'kfree()' into 'bitmap_free()' to keep
consistency.

Link: https://lore.kernel.org/r/b157f9e1586fb4d1083cb4058d7ac81b10bb86d7.1637868728.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-11-29 14:33:55 -04:00
..
2021-11-01 14:49:20 -03:00
2021-11-19 14:13:44 -04:00
2021-11-03 08:05:59 -07:00
2021-11-03 08:05:59 -07:00
2021-11-03 08:05:59 -07:00
2021-11-01 14:49:20 -03:00