summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-11-08 10:13:19 +0800
committerDavid S. Miller <davem@davemloft.net>2018-11-08 16:23:49 -0800
commite12c225258f2584906765234ca6db4ad4c618192 (patch)
tree71b0b73579d3600dd5cd8c146804737993bb07b2 /net/ipv4
parentb25ddb00bc1b96613edcb525f19203a7d1405fce (diff)
downloadlinux-e12c225258f2584906765234ca6db4ad4c618192.tar.gz
linux-e12c225258f2584906765234ca6db4ad4c618192.tar.bz2
linux-e12c225258f2584906765234ca6db4ad4c618192.zip
net: hns3: bugfix for not checking return value
hns3_reset_notify_init_enet() only return error early if the return value of hns3_restore_vlan() is not 0. This patch adds checking for the return value of hns3_restore_vlan. Fixes: 7fa6be4fd2f6 ("net: hns3: fix incorrect return value/type of some functions") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions