diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2019-02-20 13:33:01 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-02-23 00:38:24 +0300 |
commit | 2e5b0534622fa87fd570d54af2d01ce304b88077 (patch) | |
tree | 47159e58bc89c534a5cfe72f55df29b553f8521d /drivers/soc | |
parent | c7981bea48fbbbf17215038c3d7c48706dafd6ff (diff) | |
download | linux-2e5b0534622fa87fd570d54af2d01ce304b88077.tar.xz |
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>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions