Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107190076
D41788.id127218.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
509 B
Referenced Files
None
Subscribers
None
D41788.id127218.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 10:09 AM (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15763193
Default Alt Text
D41788.id127218.diff (509 B)
Attached To
Mode
D41788: hyperv/vmbus: Flip a message to only be emitted on failure
Attached
Detach File
Event Timeline
Log In to Comment