Clarify pci_free_irq_vectors() usage constraints
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v11 patch 3 repliesSuperseded
Changes in v2 from the cover letter
- rework the commit message and documentation
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Documentation: PCI: Clarify pci_free_irq_vectors() usage for managed devicesDocumentation/ | +5 | 0 replies | |
| 2/3 | PCI/MSI: Add warning to pci_free_irq_vectors() documentationdrivers/ | +5 | 0 replies | |
| 3/3 | PCI/MSI: Add TODO comment about legacy pcim_enable_device() side-effectdrivers/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] Clarify pci_free_irq_vectors() usage constraints
pcim_enable_device() automatically manages IRQ vectors, which can cause double-free issues if drivers manually call pci_free_irq_vectors().
This series adds documentation and warnings to prevent this:
1. msi-howto.rst guidance
2. kernel-doc warning
3. TODO comment for future cleanup
Changes in v2:
- rework the commit message and documentation
Shawn Lin (3):
Documentation: PCI: Clarify pci_free_irq_vectors() usage for managed
devices
PCI/MSI: Add warning to pci_free_irq_vectors() documentation PCI/MSI: Add TODO comment about legacy pcim_enable_device()
side-effect
Documentation/PCI/msi-howto.rst | 7 +++++-- drivers/pci/msi/api.c | 5 +++++ drivers/pci/msi/msi.c | 10 ++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-)
Signature · 1 line
2.7.4