[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1lf2f16zd.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 26 Oct 2021 23:28:47 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: james.smart@...adcom.com, ram.vegesna@...adcom.com,
jejb@...ux.ibm.com, martin.petersen@...cle.com, dwagner@...e.de,
hare@...e.de, linux-scsi@...r.kernel.org,
target-devel@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] scsi: elx: libefc_sli: Use 'bitmap_zalloc()' when
applicable
Christophe,
> 'sli4->ext[i].use_map' is a bitmap. Use 'bitmap_zalloc()' to simplify
> code, improve the semantic and avoid some open-coded arithmetic in
> allocator arguments.
Applied to 5.16/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists