Page MenuHomeFreeBSD

D41788.id127218.diff
No OneTemporary

D41788.id127218.diff

diff --git a/sys/dev/hyperv/pcib/vmbus_pcib.c b/sys/dev/hyperv/pcib/vmbus_pcib.c
--- a/sys/dev/hyperv/pcib/vmbus_pcib.c
+++ b/sys/dev/hyperv/pcib/vmbus_pcib.c
@@ -1705,9 +1705,9 @@
if (res == NULL && start + count - 1 == end)
res = bus_generic_alloc_resource(dev, child, type, rid,
start, end, count, flags);
- if (res) {
- device_printf(dev,"vmbus_pcib_alloc_resource is successful\n");
- }
+ if (res == NULL)
+ device_printf(dev, "vmbus_pcib_alloc_resource failed\n");
+
return (res);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 10:36 AM (21 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15763193
Default Alt Text
D41788.id127218.diff (509 B)

Event Timeline