commit | baf6dfdb10e9695637d72429159fd26fc36d30c3 | [log] [tgz] |
---|---|---|
author | Aya Levin <ayal@mellanox.com> | Mon Jun 24 19:34:42 2019 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Aug 01 12:33:32 2019 -0700 |
tree | 7ed36a52ba9c0808becefa32f8d1a5884ce29ee3 | |
parent | 7f7cc235c2dfc2a9208a743492b80d6cdfee50a6 [diff] |
net/mlx5e: Set tx reporter only on successful creation When failing to create tx reporter, don't set the reporter's pointer. Creating a reporter is not mandatory for driver load, avoid garbage/error pointer. 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>