Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142501968
D29394.id86333.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
747 B
Referenced Files
None
Subscribers
None
D29394.id86333.diff
View Options
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -5004,7 +5004,12 @@
if (resource_list_release_active(rl, dev, child, SYS_RES_IRQ) != 0)
pci_printf(&dinfo->cfg, "Device leaked IRQ resources\n");
if (dinfo->cfg.msi.msi_alloc != 0 || dinfo->cfg.msix.msix_alloc != 0) {
- pci_printf(&dinfo->cfg, "Device leaked MSI vectors\n");
+ if (dinfo->cfg.msi.msi_alloc != 0)
+ pci_printf(&dinfo->cfg, "Device leaked %d MSI "
+ "vectors\n", dinfo->cfg.msi.msi_alloc);
+ else
+ pci_printf(&dinfo->cfg, "Device leaked %d MSI-X "
+ "vectors\n", dinfo->cfg.msix.msix_alloc);
(void)pci_release_msi(child);
}
if (resource_list_release_active(rl, dev, child, SYS_RES_MEMORY) != 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 10:53 AM (7 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27778871
Default Alt Text
D29394.id86333.diff (747 B)
Attached To
Mode
D29394: pci: enhance printf for leaked MSI[-X] vectors
Attached
Detach File
Event Timeline
Log In to Comment