Page MenuHomeFreeBSD

D6637.id17134.diff
No OneTemporary

D6637.id17134.diff

Index: head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
===================================================================
--- head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
+++ head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
@@ -455,16 +455,19 @@
switch (index) {
case HV_VMBUS_IVAR_TYPE:
- *result = (uintptr_t) &child_dev_ctx->class_id;
+ *result = (uintptr_t)&child_dev_ctx->class_id;
return (0);
+
case HV_VMBUS_IVAR_INSTANCE:
- *result = (uintptr_t) &child_dev_ctx->device_id;
+ *result = (uintptr_t)&child_dev_ctx->device_id;
return (0);
+
case HV_VMBUS_IVAR_DEVCTX:
- *result = (uintptr_t) child_dev_ctx;
+ *result = (uintptr_t)child_dev_ctx;
return (0);
+
case HV_VMBUS_IVAR_NODE:
- *result = (uintptr_t) child_dev_ctx->device;
+ *result = (uintptr_t)child_dev_ctx->device;
return (0);
}
return (ENOENT);

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 12, 6:48 AM (12 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29554588
Default Alt Text
D6637.id17134.diff (854 B)

Event Timeline