Commit b06efc19 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: storvsc: Cleanup returned error code in storvsc_drv_init()

Use standard Linux error codes.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8e854680
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment