diff options
author | Przemek Kitszel <[email protected]> | 2024-10-23 15:09:03 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-29 16:52:57 -0700 |
commit | e0b140c44f322230c2bb97a7e8ac773419f7e81a (patch) | |
tree | 946ebf28131747512fdbcc0d5dd8c09e9f78e690 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a788acf154eb62a29bed75886d6e626744379cf4 (diff) |
devlink: devl_resource_register(): differentiate error codes
Differentiate error codes of devl_resource_register().
Replace one of -EINVAL exit paths by -EEXIST. This should aid developers
introducing new resources and registering them in the wrong order.
Reviewed-by: Wojciech Drewek <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Joe Damato <[email protected]>
Signed-off-by: Przemek Kitszel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions