[v1] PCI: hv: update comment in x86 specific hv_arch_irq_unmask

Message ID 20221107171831.25283-1-olaf@aepfle.de
State New
Headers
Series [v1] PCI: hv: update comment in x86 specific hv_arch_irq_unmask |

Commit Message

Olaf Hering Nov. 7, 2022, 5:18 p.m. UTC
  The function hv_set_affinity was removed in commit 831c1ae7 ("PCI: hv:
Make the code arch neutral by adding arch specific interfaces").

Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
 drivers/pci/controller/pci-hyperv.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Wei Liu Nov. 11, 2022, 11:18 p.m. UTC | #1
On Mon, Nov 07, 2022 at 05:18:31PM +0000, Olaf Hering wrote:
> The function hv_set_affinity was removed in commit 831c1ae7 ("PCI: hv:
> Make the code arch neutral by adding arch specific interfaces").
> 
> Signed-off-by: Olaf Hering <olaf@aepfle.de>

Queued to hyperv-next. Thanks.
  

Patch

diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c
index e7c6f6629e7c..f62215ed3eba 100644
--- a/drivers/pci/controller/pci-hyperv.c
+++ b/drivers/pci/controller/pci-hyperv.c
@@ -735,9 +735,9 @@  static void hv_arch_irq_unmask(struct irq_data *data)
 	 * during hibernation does not matter (at this time all the devices
 	 * have been frozen). Note: the correct affinity info is still updated
 	 * into the irqdata data structure in migrate_one_irq() ->
-	 * irq_do_set_affinity() -> hv_set_affinity(), so later when the VM
-	 * resumes, hv_pci_restore_msi_state() is able to correctly restore
-	 * the interrupt with the correct affinity.
+	 * irq_do_set_affinity(), so later when the VM resumes,
+	 * hv_pci_restore_msi_state() is able to correctly restore the
+	 * interrupt with the correct affinity.
 	 */
 	if (!hv_result_success(res) && hbus->state != hv_pcibus_removing)
 		dev_err(&hbus->hdev->device,