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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;