Re: [PATCH 4/5] scsi: storvsc: Don't assume cpu_possible_mask is dense
From: Martin K. Petersen
Date: Mon Dec 09 2024 - 21:59:12 EST
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