projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae50a2
)
Staging: hv: storvsc: Cleanup error handling in storvsc_do_io()
author
K. Y. Srinivasan
<kys@microsoft.com>
Thu, 25 Aug 2011 16:49:05 +0000
(09:49 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 25 Aug 2011 22:29:56 +0000
(15:29 -0700)
Use standard Linux error codes.
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 2b73f726bbb7013e7805a355c4d820a9bb7fe294..2b914e41f522562cec8ccc2918f5170a7c7c0a07 100644
(file)
--- a/
drivers/staging/hv/storvsc.c
+++ b/
drivers/staging/hv/storvsc.c
@@
-454,7
+454,7
@@
int storvsc_do_io(struct hv_device *device,
stor_device = get_stor_device(device);
if (!stor_device)
- return -
2
;
+ return -
ENODEV
;
request->device = device;