diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-08-25 16:49:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-25 22:31:33 (GMT) |
commit | b06efc199f9b8cc49e47d441f837a2dbe4971e4e (patch) | |
tree | e4b58a53da59406e26730bf67ec67e7be422826e /drivers | |
parent | 8e854680b57440a8bbfdaae05534b010060f7966 (diff) | |
download | linux-b06efc199f9b8cc49e47d441f837a2dbe4971e4e.tar.xz |
Staging: hv: storvsc: Cleanup returned error code in storvsc_drv_init()
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/hv/storvsc_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c index 69a312f..faa8d57 100644 --- a/drivers/staging/hv/storvsc_drv.c +++ b/drivers/staging/hv/storvsc_drv.c @@ -740,7 +740,7 @@ static int __init storvsc_drv_init(void) if (max_outstanding_req_per_channel < STORVSC_MAX_IO_REQUESTS) - return -1; + return -EINVAL; return vmbus_driver_register(&storvsc_drv); } |