'shdma_slave_used' 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.
Applied, thanks
--
~Vinod
Thread (2 messages)
2 messages,
2 authors,
last reply 2021-12-13