search for: hyperv_driv

Displaying 6 results from an estimated 6 matches for "hyperv_driv".

Did you mean: hyperv_driver
2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
...files changed, 93 insertions(+), 93 deletions(-) diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index ceba20c..c924920 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -119,7 +119,7 @@ struct block_device_context { struct blkvsc_hyperv_driver { /* !! These must be the first 2 fields !! */ /* FIXME this is a bug! */ - struct hyperv_driver drv_ctx; + struct hyperv_driver drv; struct storvsc_driver_object drv_obj; }; @@ -174,7 +174,7 @@ static const struct block_device_operations block_ops = { static int blkvsc_drv_init(int (*d...
2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
...files changed, 93 insertions(+), 93 deletions(-) diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index ceba20c..c924920 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -119,7 +119,7 @@ struct block_device_context { struct blkvsc_hyperv_driver { /* !! These must be the first 2 fields !! */ /* FIXME this is a bug! */ - struct hyperv_driver drv_ctx; + struct hyperv_driver drv; struct storvsc_driver_object drv_obj; }; @@ -174,7 +174,7 @@ static const struct block_device_operations block_ops = { static int blkvsc_drv_init(int (*d...
2011 Feb 26
1
[PATCH 5/6] Staging: hv: Rename driver_context to hyperv_driver
...c.c index d29af4b..51d4dfa 100644 --- a/drivers/staging/hv/blkvsc.c +++ b/drivers/staging/hv/blkvsc.c @@ -63,7 +63,7 @@ blk_vsc_on_device_add(struct hyperv_device *device, void *additional_info) return ret; } -int blk_vsc_initialize(struct driver_context *driver) +int blk_vsc_initialize(struct hyperv_driver *driver) { struct storvsc_driver_object *stor_driver; int ret = 0; diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index a280f83..ceba20c 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -116,10 +116,10 @@ struct block_devic...
2011 Feb 26
1
[PATCH 5/6] Staging: hv: Rename driver_context to hyperv_driver
...c.c index d29af4b..51d4dfa 100644 --- a/drivers/staging/hv/blkvsc.c +++ b/drivers/staging/hv/blkvsc.c @@ -63,7 +63,7 @@ blk_vsc_on_device_add(struct hyperv_device *device, void *additional_info) return ret; } -int blk_vsc_initialize(struct driver_context *driver) +int blk_vsc_initialize(struct hyperv_driver *driver) { struct storvsc_driver_object *stor_driver; int ret = 0; diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index a280f83..ceba20c 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -116,10 +116,10 @@ struct block_devic...
2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
...cleans up (a lot of the) naming issues that various reviewers have noted. It also gets rid of some unnecessary layering in the code. At the lowest level, we have one abstraction for representing a hyperv device (struct hyperv_device) and one abstraction for representing a hyperv driver (struct hyperv_driver). This collapses an unnecessary layering that existed in the code for historical reasons. While the patch is large, it was generated by a very mechanical process (global search and replace). The code compiles cleanly and I have tested this code on a 2.6.38 kernel. Signed-off-by: K. Y. Sriniva...
2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
...cleans up (a lot of the) naming issues that various reviewers have noted. It also gets rid of some unnecessary layering in the code. At the lowest level, we have one abstraction for representing a hyperv device (struct hyperv_device) and one abstraction for representing a hyperv driver (struct hyperv_driver). This collapses an unnecessary layering that existed in the code for historical reasons. While the patch is large, it was generated by a very mechanical process (global search and replace). The code compiles cleanly and I have tested this code on a 2.6.38 kernel. Signed-off-by: K. Y. Sriniva...