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

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

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 1920da88
...@@ -346,7 +346,7 @@ static int storvsc_host_reset(struct hv_device *device) ...@@ -346,7 +346,7 @@ static int storvsc_host_reset(struct hv_device *device)
stor_device = get_stor_device(device); stor_device = get_stor_device(device);
if (!stor_device) if (!stor_device)
return -1; return -ENODEV;
request = &stor_device->reset_request; request = &stor_device->reset_request;
vstor_packet = &request->vstor_packet; vstor_packet = &request->vstor_packet;
......
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