aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorHuazhong Tan <[email protected]>2018-11-08 02:13:19 +0000
committerDavid S. Miller <[email protected]>2018-11-09 00:23:49 +0000
commite12c225258f2584906765234ca6db4ad4c618192 (patch)
tree71b0b73579d3600dd5cd8c146804737993bb07b2 /scripts/gcc-plugins/gcc-common.h
parentqlcnic: remove assumption that vlan_tci != 0 (diff)
downloadkernel-e12c225258f2584906765234ca6db4ad4c618192.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions