Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140057182
D8780.id22885.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
584 B
Referenced Files
None
Subscribers
None
D8780.id22885.diff
View Options
Index: sys/compat/linuxkpi/common/include/linux/pci.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/pci.h
+++ sys/compat/linuxkpi/common/include/linux/pci.h
@@ -221,6 +221,7 @@
{
struct pci_dev *pdev;
+ pdev = list_entry(&pci_devices, typeof(*pdev), links);
spin_lock(&pci_lock);
list_for_each_entry(pdev, &pci_devices, links) {
if (irq == pdev->dev.irq)
@@ -229,7 +230,7 @@
break;
}
spin_unlock(&pci_lock);
- if (pdev)
+ if (pdev->links != &pci_devices)
return &pdev->dev;
return (NULL);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 20, 3:57 PM (6 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27098588
Default Alt Text
D8780.id22885.diff (584 B)
Attached To
Mode
D8780: linuxkpi: Fix not-found case of linux_pci_find_irq_dev
Attached
Detach File
Event Timeline
Log In to Comment