diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-01-26 08:58:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-27 12:32:02 +0000 |
commit | 85fe0b324c830ac671b811efc70ea80c3dcb2390 (patch) | |
tree | 1d03a943a8e6136ddeffdfaa33a2be616558af70 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6fd6eda0e65d127872667054edd92e01c64f990a (diff) |
devlink: make devlink_param_driverinit_value_set() return void
devlink_param_driverinit_value_set() currently returns int with possible
error, but no user is checking it anyway. The only reason for a fail is
a driver bug. So convert the function to return void and put WARN_ONs
on error paths.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions