diff options
| author | Asbjørn Sloth Tønnesen <[email protected]> | 2024-05-08 14:34:00 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-05-11 02:30:00 +0000 |
| commit | eb705d7345255316f3a25ba60c4c7ee215c92c1a (patch) | |
| tree | 6a9d42a69478c2c5817bb0e258561afff996ef9e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | net: qede: use extack in qede_parse_flow_attr() (diff) | |
| download | kernel-eb705d7345255316f3a25ba60c4c7ee215c92c1a.tar.gz kernel-eb705d7345255316f3a25ba60c4c7ee215c92c1a.zip | |
net: qede: use faked extack in qede_flow_spec_to_rule()
Since qede_parse_flow_attr() now does error reporting
through extack, then give it a fake extack and extract the
error message afterwards if one was set.
The extracted error message is then passed on through
DP_NOTICE(), including messages that was earlier issued
with DP_INFO().
This fake extack approach is already used by
mlxsw_env_linecard_modules_power_mode_apply() in
drivers/net/ethernet/mellanox/mlxsw/core_env.c
Only compile tested.
Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
