mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 14:06:40 +07:00
Staging: hv: storvsc: Cleanup error handling in storvsc_channel_init()
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>
This commit is contained in:
parent
d225d36b13
commit
5260e291ff
@ -111,7 +111,7 @@ static int storvsc_channel_init(struct hv_device *device)
|
||||
|
||||
stor_device = get_stor_device(device);
|
||||
if (!stor_device)
|
||||
return -1;
|
||||
return -ENODEV;
|
||||
|
||||
request = &stor_device->init_request;
|
||||
vstor_packet = &request->vstor_packet;
|
||||
|
Loading…
Reference in New Issue
Block a user