diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-19 23:17:03 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:56 (GMT) |
commit | caf26a31b51a148f70113700fd4f9860b5da3931 (patch) | |
tree | 3409b37bf85a952830cb423baa76b09ae7a19d85 /drivers/staging/hv/ChannelInterface.c | |
parent | 0ccafb365803b3256aa75fd07bf9e5c6814a260d (diff) | |
download | linux-fsl-qoriq-caf26a31b51a148f70113700fd4f9860b5da3931.tar.xz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/ChannelInterface.c b/drivers/staging/hv/ChannelInterface.c index ffd62bb..0d6bef1 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; |