linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Christophe Jaillet a1e3e7372c mlxsw: spectrum_router: Return -ENOENT in case of error
'vr' should be a valid pointer here, so returning 'PTR_ERR(vr)' is wrong.
Return an explicit error code (-ENOENT) instead.

Fixes: 61c503f976 ("mlxsw: spectrum_router: Implement fib4 add/del switchdev obj ops")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-14 22:14:54 -07:00
..
mlx4 net/mlx4: Fix some indent inconsistancy 2016-07-04 15:22:33 -07:00
mlx5/core net/mlx5e: Add TC offload support for the VF representors netdevice 2016-07-14 13:34:29 -07:00
mlxsw mlxsw: spectrum_router: Return -ENOENT in case of error 2016-07-14 22:14:54 -07:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00