Re: [PATCH 4/5] scsi: storvsc: Don't assume cpu_possible_mask is dense

Martin K. Petersen
2024-12-10T02:59:01Z

Michael,

>> Current code allocates the stor_chns array with size
>> num_possible_cpus(). This code assumes cpu_possible_mask is dense,
>> which is not true in the general case per [1]. If cpu_possible_mask
>> is sparse, the array might be indexed by a value beyond the size of
>> the array.

Applied to 6.14/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering