diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-11-02 17:02:08 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-03 20:48:35 -0700 |
commit | e705a621c071b43e4ea971abb70d7677dc640c27 (patch) | |
tree | f191fc1f8eb73d831fa643321f9888b548b003e3 /net/ethtool | |
parent | 31265c1e29eb28f17df50d04ee421b5b6369fefd (diff) | |
download | linux-e705a621c071b43e4ea971abb70d7677dc640c27.tar.bz2 |
net: devlink: add not cleared type warning to port unregister
By the time port unregister is called. There should be no type set. Make
sure that the driver cleared it before and warn in case it didn't. This
enforces symmetricity with type set and port register.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ethtool')
0 files changed, 0 insertions, 0 deletions