diff options
author | 2018-09-21 16:41:42 +0100 | |
---|---|---|
committer | 2018-09-21 19:29:32 -0700 | |
commit | fa7a4bd564ccca06f17f5f509ab020ee973b4c72 (patch) | |
tree | 2d09ac32002b343c6e3e190a68e2fa5f0d89db77 /drivers/net/hyperv/netvsc.c | |
parent | net: hns3: Unify the prefix of vf functions (diff) | |
download | wireguard-linux-fa7a4bd564ccca06f17f5f509ab020ee973b4c72.tar.xz wireguard-linux-fa7a4bd564ccca06f17f5f509ab020ee973b4c72.zip |
net: hns3: Add handle for default case
There are a few "switch-case" codes missed handle for default case. For
some abnormal case, it should return error code instead of return 0.
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/netvsc.c')
0 files changed, 0 insertions, 0 deletions