aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/ChannelInterface.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-08-19 16:17:03 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:56 -0700
commitcaf26a31b51a148f70113700fd4f9860b5da3931 (patch)
tree3409b37bf85a952830cb423baa76b09ae7a19d85 /drivers/staging/hv/ChannelInterface.c
parentStaging: hv: osd.h: codingstyle cleanups (diff)
downloadlinux-dev-caf26a31b51a148f70113700fd4f9860b5da3931.tar.xz
linux-dev-caf26a31b51a148f70113700fd4f9860b5da3931.zip
Staging: hv: osd.h: remove GUID typedef
GUID should not be a typedef. As proof of the problem of typedefs, look, we are passing 2 of these as a value in functions! Bah... Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/ChannelInterface.c')
-rw-r--r--drivers/staging/hv/ChannelInterface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/ChannelInterface.c b/drivers/staging/hv/ChannelInterface.c
index ffd62bb29146..0d6bef16c747 100644
--- a/drivers/staging/hv/ChannelInterface.c
+++ b/drivers/staging/hv/ChannelInterface.c
@@ -190,8 +190,8 @@ void GetChannelInfo(struct hv_device *Device, DEVICE_INFO *DeviceInfo)
DeviceInfo->ChannelId = debugInfo.RelId;
DeviceInfo->ChannelState = debugInfo.State;
- memcpy(&DeviceInfo->ChannelType, &debugInfo.InterfaceType, sizeof(GUID));
- memcpy(&DeviceInfo->ChannelInstance, &debugInfo.InterfaceInstance, sizeof(GUID));
+ memcpy(&DeviceInfo->ChannelType, &debugInfo.InterfaceType, sizeof(struct hv_guid));
+ memcpy(&DeviceInfo->ChannelInstance, &debugInfo.InterfaceInstance, sizeof(struct hv_guid));
DeviceInfo->MonitorId = debugInfo.MonitorId;