summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorPrzemek Kitszel <przemyslaw.kitszel@intel.com>2024-10-23 15:09:03 +0200
committerJakub Kicinski <kuba@kernel.org>2024-10-29 16:52:57 -0700
commite0b140c44f322230c2bb97a7e8ac773419f7e81a (patch)
tree946ebf28131747512fdbcc0d5dd8c09e9f78e690 /net/lapb/lapb_iface.c
parenta788acf154eb62a29bed75886d6e626744379cf4 (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 <wojciech.drewek@intel.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Joe Damato <jdamato@fastly.com> Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Link: https://patch.msgid.link/20241023131248.27192-4-przemyslaw.kitszel@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions