net/mlx5: Fix error message in mlx5_sf_dev_state_change_handler()
sw_function_id contains sfnum, so fix the error message to name the value properly. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Shay Drory <shayd@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
committed by
Saeed Mahameed
parent
b63f8bde2f
commit
36e5a0efc8
@@ -185,7 +185,7 @@ mlx5_sf_dev_state_change_handler(struct notifier_block *nb, unsigned long event_
|
||||
mlx5_sf_dev_del(table->dev, sf_dev, sf_index);
|
||||
else
|
||||
mlx5_core_err(table->dev,
|
||||
"SF DEV: teardown state for invalid dev index=%d fn_id=0x%x\n",
|
||||
"SF DEV: teardown state for invalid dev index=%d sfnum=0x%x\n",
|
||||
sf_index, event->sw_function_id);
|
||||
break;
|
||||
case MLX5_VHCA_STATE_ACTIVE:
|
||||
|
||||
Reference in New Issue
Block a user