Staging: hv: netvsc: Cleanup error code in rndis_filter_device_add()
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:
committed by
Greg Kroah-Hartman
parent
bc49b92671
commit
327efbae1f
@@ -673,7 +673,7 @@ int rndis_filter_device_add(struct hv_device *dev,
|
||||
|
||||
rndisDevice = get_rndis_device();
|
||||
if (!rndisDevice)
|
||||
return -1;
|
||||
return -ENODEV;
|
||||
|
||||
/*
|
||||
* Let the inner driver handle this first to create the netvsc channel
|
||||
|
Reference in New Issue
Block a user