diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-11-25 23:42:28 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-11-29 21:33:56 +0300 |
| commit | 81ff48ddda0b7e1d4d1251d2a9c8e4059cd9456f (patch) | |
| tree | f55f3ab4f38305c74df25c00a8b8f5be24fa0055 /drivers/usb/cdns3/cdns3-trace.c | |
| parent | ecd68ef8d936ef1c589ba4831e9f0fec63565444 (diff) | |
| download | linux-81ff48ddda0b7e1d4d1251d2a9c8e4059cd9456f.tar.xz | |
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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions
