svn commit: r301020 - head/sys/dev/hyperv/vmbus
Sepherosa Ziehau
sephe at FreeBSD.org
Tue May 31 05:34:48 UTC 2016
Author: sephe
Date: Tue May 31 05:34:46 2016
New Revision: 301020
URL: https://svnweb.freebsd.org/changeset/base/301020
Log:
hyperv/vmbus: White space cleanup
No functional changes
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6637
Modified:
head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
Modified: head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
==============================================================================
--- head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c Tue May 31 05:18:55 2016 (r301019)
+++ head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c Tue May 31 05:34:46 2016 (r301020)
@@ -455,16 +455,19 @@ vmbus_read_ivar(device_t dev, device_t c
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);
More information about the svn-src-head
mailing list