Searched hist:baf6dfdb (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | baf6dfdb Mon Jun 24 11:34:42 CDT 2019 Aya Levin <ayal@mellanox.com> 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> baf6dfdb Mon Jun 24 11:34:42 CDT 2019 Aya Levin <ayal@mellanox.com> 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>
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | baf6dfdb Mon Jun 24 11:34:42 CDT 2019 Aya Levin <ayal@mellanox.com> 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> baf6dfdb Mon Jun 24 11:34:42 CDT 2019 Aya Levin <ayal@mellanox.com> 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>
|