Thread (1 message) 1 message, 1 author, 2024-12-10

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

From: Martin K. Petersen <hidden>
Date: 2024-12-10 02:59:01
Also in: linux-hyperv, linux-iommu, linux-scsi, lkml

Michael,
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help