mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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:
parent
bc49b92671
commit
327efbae1f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue