Re: [PATCH 1/3] scsi: hisi_sas: Use devm_bitmap_zalloc() when applicable

From: Martin K. Petersen
Date: Mon Dec 06 2021 - 22:13:24 EST



Christophe,

> 'hisi_hba->slot_index_tags' is a bitmap. So use 'devm_bitmap_zalloc()' to
> simplify code, improve the semantic and avoid some open-coded arithmetic
> in allocator arguments.

Applied to 5.17/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering