Searched hist:"2 e5b0534" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 2e5b0534 Wed Feb 20 04:33:01 CST 2019 Eran Ben Elisha <eranbe@mellanox.com> net/mlx5e: Fix mlx5e_tx_reporter_create return value
If reporter is ERR_PTR or NULL, error code shall be returned. At all other cases it shall return success. Fix that.
Fixes: de8650a82071 ("net/mlx5e: Add tx reporter support") Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> 2e5b0534 Wed Feb 20 04:33:01 CST 2019 Eran Ben Elisha <eranbe@mellanox.com> net/mlx5e: Fix mlx5e_tx_reporter_create return value If reporter is ERR_PTR or NULL, error code shall be returned. At all other cases it shall return success. Fix that. Fixes: de8650a82071 ("net/mlx5e: Add tx reporter support") Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
|