diff options
| author | 2019-06-24 19:34:42 +0300 | |
|---|---|---|
| committer | 2019-08-01 12:33:32 -0700 | |
| commit | baf6dfdb10e9695637d72429159fd26fc36d30c3 (patch) | |
| tree | 7ed36a52ba9c0808becefa32f8d1a5884ce29ee3 /kernel | |
| parent | net/mlx5e: Fix mlx5e_tx_reporter_create return value (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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
