Commit 7053a27a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d068cb4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;