commit | 54585ec62fbdbb45d9005bba3f988a11621ef42c | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Fri Nov 26 22:15:21 2021 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Dec 06 22:12:33 2021 -0500 |
tree | a08c81f8e8f8678560185677f03c4a3a0e995304 | |
parent | bf3f120fd61c42c2f4aed8995e5417776d788c37 [diff] |
scsi: hisi_sas: Use devm_bitmap_zalloc() when applicable 'hisi_hba->slot_index_tags' is a bitmap. Use 'devm_bitmap_zalloc()' to simplify code, improve the semantic, and avoid some open-coded arithmetic in allocator arguments. Link: https://lore.kernel.org/r/4afa3f71e66c941c660627c7f5b0223b51968ebb.1637961191.git.christophe.jaillet@wanadoo.fr Acked-by: John Garry <john.garry@huawei.com> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>