提交 b06efc19 编写于 作者: K K. Y. Srinivasan 提交者: Greg Kroah-Hartman

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

Use standard Linux error codes.
Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 8e854680
...@@ -740,7 +740,7 @@ static int __init storvsc_drv_init(void) ...@@ -740,7 +740,7 @@ static int __init storvsc_drv_init(void)
if (max_outstanding_req_per_channel < if (max_outstanding_req_per_channel <
STORVSC_MAX_IO_REQUESTS) STORVSC_MAX_IO_REQUESTS)
return -1; return -EINVAL;
return vmbus_driver_register(&storvsc_drv); return vmbus_driver_register(&storvsc_drv);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册