projects
/
GitHub
/
LineageOS
/
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:
5260e29
)
Staging: hv: storvsc: Cleanup error handling in storvsc_connect_to_vsp()
author
K. Y. Srinivasan
<kys@microsoft.com>
Thu, 25 Aug 2011 16:49:04 +0000
(09:49 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 25 Aug 2011 22:29:56 +0000
(15:29 -0700)
Cleanup error handling in storvsc_connect_to_vsp().
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/storvsc.c
b/drivers/staging/hv/storvsc.c
index 22ac6f21e2610df98933f44fed7027cb068b6fbc..2b73f726bbb7013e7805a355c4d820a9bb7fe294 100644
(file)
--- a/
drivers/staging/hv/storvsc.c
+++ b/
drivers/staging/hv/storvsc.c
@@
-376,7
+376,7
@@
static int storvsc_connect_to_vsp(struct hv_device *device, u32 ring_size)
storvsc_on_channel_callback, device);
if (ret != 0)
- return
-1
;
+ return
ret
;
ret = storvsc_channel_init(device);