Page MenuHomeFreeBSD

D41025.diff
No OneTemporary

D41025.diff

diff --git a/sys/dev/pci/pci_host_generic_den0115.c b/sys/dev/pci/pci_host_generic_den0115.c
--- a/sys/dev/pci/pci_host_generic_den0115.c
+++ b/sys/dev/pci/pci_host_generic_den0115.c
@@ -71,10 +71,11 @@
return (ENXIO);
/*
- * Check we have memory resources. We may have a non-memory
+ * Check if we have memory resources. We may have a non-memory
* mapped device, e.g. using the Arm PCI Configuration Space
* Access Firmware Interface (DEN0115).
*/
+ rid = 0;
res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 0);
if (res != NULL) {
bus_release_resource(dev, SYS_RES_MEMORY, rid, res);

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 11, 6:33 PM (18 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23588005
Default Alt Text
D41025.diff (618 B)

Event Timeline