summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-11-25 22:42:51 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-11-29 21:33:55 +0300
commit0c83da72d0c98cbde21fee4d0e8a7f3b5cac273a (patch)
tree78c675fc92e5333917916cbe4f1f5ae139ca9fe3 /drivers/usb/cdns3/cdns3-imx.c
parente02d9cc2f8581ff39d13e0c01c98131bbac70206 (diff)
downloadlinux-0c83da72d0c98cbde21fee4d0e8a7f3b5cac273a.tar.xz
RDMA/mlx4: Use bitmap_alloc() when applicable
Use 'bitmap_alloc()' 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/4c93b4e02f5d784ddfd3efd4af9e673b9117d641.1637869328.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions