projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d068cb4
)
Staging: hv: make *context a real pointer in struct hv_device
author
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 21 Oct 2010 15:55:36 +0000
(08:55 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 21 Oct 2010 15:55:36 +0000
(08:55 -0700)
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>
drivers/staging/hv/vmbus_api.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/vmbus_api.h
b/drivers/staging/hv/vmbus_api.h
index c05201228ef7082114eed699f2ba402b5880c85f..55bd00ddb61b5ecb6781da69f008144a8580935c 100644
(file)
--- a/
drivers/staging/hv/vmbus_api.h
+++ b/
drivers/staging/hv/vmbus_api.h
@@
-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;