diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-15 09:00:09 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-16 22:56:45 +0300 |
commit | 706217c1ceb516c96283a1557a31fe003d0c8052 (patch) | |
tree | 765804a5cfb6868ff577cd56e44b1a6c823f3d72 /fs/sysv/file.c | |
parent | 49e83bbe8cc32e197fccf4f617b3fa2fedc27a23 (diff) | |
download | linux-706217c1ceb516c96283a1557a31fe003d0c8052.tar.xz |
devlink: pass devlink_port to port_split / port_unsplit callbacks
Now that devlink ports are protected by the instance lock
it seems natural to pass devlink_port as an argument to
the port_split / port_unsplit callbacks.
This should save the drivers from doing a lookup.
In theory drivers may have supported unsplitting ports
which were not registered prior to this change.
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/sysv/file.c')
0 files changed, 0 insertions, 0 deletions