projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f38cf9c
)
Staging: hv: vmbus: Cleanup some error codes in vmbus_drv.c
author
K. Y. Srinivasan
<kys@microsoft.com>
Mon, 6 Jun 2011 22:50:07 +0000
(15:50 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 7 Jun 2011 20:46:04 +0000
(13:46 -0700)
Cleanup some error codes in vmbus_drv.c
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/vmbus_drv.c
b/drivers/staging/hv/vmbus_drv.c
index 17692ce88c391764214136edbaa6764a0cb6f83a..a3c99f127482fbc25ead456311755111931ae9ba 100644
(file)
--- a/
drivers/staging/hv/vmbus_drv.c
+++ b/
drivers/staging/hv/vmbus_drv.c
@@
-329,7
+329,7
@@
static int vmbus_probe(struct device *child_device)
} else {
pr_err("probe not set for driver %s\n",
dev_name(child_device));
- ret = -
1
;
+ ret = -
ENODEV
;
}
return ret;
}
@@
-352,7
+352,7
@@
static int vmbus_remove(struct device *child_device)
} else {
pr_err("remove not set for driver %s\n",
dev_name(child_device));
- ret = -
1
;
+ ret = -
ENODEV
;
}
}