Searched hist:"7 f7cc235" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 7f7cc235 Wed Jul 03 01:16:52 CDT 2019 Aya Levin <ayal@mellanox.com> net/mlx5e: Fix mlx5e_tx_reporter_create return value
Return error when failing to create a reporter in devlink. Since NET_DEVLINK mandatory to MLX5_CORE in Kconfig, returned pointer can't be NULL and can only hold an error in bad path.
Signed-off-by: Aya Levin <ayal@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> 7f7cc235 Wed Jul 03 01:16:52 CDT 2019 Aya Levin <ayal@mellanox.com> net/mlx5e: Fix mlx5e_tx_reporter_create return value Return error when failing to create a reporter in devlink. Since NET_DEVLINK mandatory to MLX5_CORE in Kconfig, returned pointer can't be NULL and can only hold an error in bad path. Signed-off-by: Aya Levin <ayal@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
|