Staging: hv: make *context a real pointer in struct hv_device
This is really the struct vmbus_channel for the device, not a void pointer, so use the real structure to ensure type safety everywhere. Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
d068cb4f6f
commit
7053a27a4c
@ -152,7 +152,7 @@ struct hv_device {
|
||||
/* the device instance id of this device */
|
||||
struct hv_guid deviceInstance;
|
||||
|
||||
void *context;
|
||||
struct vmbus_channel *context;
|
||||
|
||||
/* Device extension; */
|
||||
void *Extension;
|
||||
|
Loading…
x
Reference in New Issue
Block a user