Skip to content

Commit

Permalink
Staging: hv: make *context a real pointer in struct hv_device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Oct 21, 2010
1 parent d068cb4 commit 7053a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/hv/vmbus_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7053a27

Please sign in to comment.