aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2021-10-24 17:40:23 +0000
committerChristoph Hellwig <[email protected]>2021-10-27 06:20:09 +0000
commit9fbd8dc19aa57ec8fe92606043199919527cd9be (patch)
tree0be05b49287ea696ecbb850bfc19d2036f15a1cf /drivers/fpga/fpga-bridge.c
parentsparc32: use DMA_DIRECT_REMAP (diff)
downloadkernel-9fbd8dc19aa57ec8fe92606043199919527cd9be.tar.gz
kernel-9fbd8dc19aa57ec8fe92606043199919527cd9be.zip
dma-mapping: use 'bitmap_zalloc()' when applicable
'dma_mem->bitmap' is a bitmap. So 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. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions