]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/MSI: Correct misleading comments
authorThomas Gleixner <tglx@linutronix.de>
Thu, 29 Jul 2021 21:51:45 +0000 (23:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 06:57:03 +0000 (08:57 +0200)
commitcf7806599f8aca1d35b78bb992b4b6c486a515b8
treed3d86485c924c0042b377379e3756fbcd195ac0d
parent44d47fe6736819c4e3e5694c86c95b2ceadd1a8c
PCI/MSI: Correct misleading comments

commit 689e6b5351573c38ccf92a0dd8b3e2c2241e4aff upstream.

The comments about preserving the cached state in pci_msi[x]_shutdown() are
misleading as the MSI descriptors are freed right after those functions
return. So there is nothing to restore. Preparatory change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210729222542.621609423@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/msi.c