linux/drivers/infiniband
Christophe JAILLET 81ff48ddda RDMA/bnxt_re: 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/5c029daf43b92fdc27926fe8a98084843437c498.1637872888.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:56 -04:00
..
core RDMA/cma: Remove open coding of overflow checking for private_data_len 2021-11-25 13:32:12 -04:00
hw RDMA/bnxt_re: Use bitmap_zalloc() when applicable 2021-11-29 14:33:56 -04:00
sw RDMA/siw: Use helper function to set sys_image_guid 2021-11-25 13:35:08 -04:00
ulp RDMA/rtrs-clt: Fix the initial value of min_latency 2021-11-25 13:34:26 -04:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile