Skip to content

Commit

Permalink
Staging: hv: storvsc: Cleanup returned error code in storvsc_host_res…
Browse files Browse the repository at this point in the history
…et()

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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 1920da8 commit f3b7416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ static int storvsc_host_reset(struct hv_device *device)

stor_device = get_stor_device(device);
if (!stor_device)
return -1;
return -ENODEV;

request = &stor_device->reset_request;
vstor_packet = &request->vstor_packet;
Expand Down

0 comments on commit f3b7416

Please sign in to comment.