diff options
author | Jiri Pirko <[email protected]> | 2023-01-26 08:58:30 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-01-27 12:32:02 +0000 |
commit | bb9bb6bfd1c37b1c0786248c2785536146603fa8 (patch) | |
tree | a6e9844f2e1a1ff14e2f51c85e64c689553181c2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 020dd127a3fef9dfc6c03cd5d1c231d5e55d7632 (diff) |
devlink: don't work with possible NULL pointer in devlink_param_unregister()
There is a WARN_ON checking the param_item for being NULL when the param
is not inserted in the list. That indicates a driver BUG. Instead of
continuing to work with NULL pointer with its consequences, return.
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions