]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: hv: Take a const cpumask in hv_compose_msi_req_get_cpu()
authorSamuel Holland <samuel@sholland.org>
Fri, 8 Jul 2022 00:49:31 +0000 (19:49 -0500)
committerMarc Zyngier <maz@kernel.org>
Fri, 8 Jul 2022 07:44:15 +0000 (08:44 +0100)
commite420eb9674c2a1f4c609725298315900e612c4f4
treebba727337bf4ebb36815d572e5b6e84f6bf77524
parent94eb386378bd28e4cec0026a047c9f9df29eb901
PCI: hv: Take a const cpumask in hv_compose_msi_req_get_cpu()

The cpumask that is passed to this function ultimately comes from
irq_data_get_effective_affinity_mask(), which was recently changed to
return a const cpumask pointer. The first level of functions handling
the affinity mask were updated, but not this helper function.

Fixes: dfc4d8e166ef ("genirq: Return a const cpumask from irq_data_get_affinity_mask")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220708004931.1672-1-samuel@sholland.org
drivers/pci/controller/pci-hyperv.c