diff options
| author | 2019-07-03 09:16:52 +0300 | |
|---|---|---|
| committer | 2019-08-01 12:33:32 -0700 | |
| commit | 7f7cc235c2dfc2a9208a743492b80d6cdfee50a6 (patch) | |
| tree | 4da44e1f02e297058e5bbcbaec5e5101bbc6169c /drivers/net/dsa/microchip/ksz_common.c | |
| parent | net/mlx5e: Rx, checksum handling refactoring (diff) | |
| download | linux-dev-7f7cc235c2dfc2a9208a743492b80d6cdfee50a6.tar.xz linux-dev-7f7cc235c2dfc2a9208a743492b80d6cdfee50a6.zip | |
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>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions
