aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-02-10 07:46:05 +0000
committerSaeed Mahameed <[email protected]>2021-02-11 04:47:14 +0000
commit2b6c3c1e74e53f370074eb03769c9499aa30c55a (patch)
treea08ac43dc09e561026251bd60a943ae8dc332004 /drivers/net/xen-netback/interface.c
parentnet/mlx5: Fix a NULL vs IS_ERR() check (diff)
downloadkernel-2b6c3c1e74e53f370074eb03769c9499aa30c55a.tar.gz
kernel-2b6c3c1e74e53f370074eb03769c9499aa30c55a.zip
net/mlx5e: Fix error return code in mlx5e_tc_esw_init()
Fix to return negative error code from the mlx5e_tc_tun_init() error handling case instead of 0, as done elsewhere in this function. This commit also using 0 instead of 'ret' when success since it is always equal to 0. Fixes: 8914add2c9e5 ("net/mlx5e: Handle FIB events to update tunnel endpoint device") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions