commit | 2b239e7090b89d1e2b73b48300686221ca948637 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Sun Mar 24 11:14:36 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 24 14:55:31 2019 -0400 |
tree | 978ff229e987af5ed3615ea6da026ca3e33179a4 | |
parent | d0d54e8c359399a8d07656779d5b6ddae68ef3c7 [diff] |
net: devlink: warn on setting type on unregistered port Port needs to be registered first before the type is set. Warn and bail-out in case it is not. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>