diff options
| author | 2024-06-24 16:24:32 +0300 | |
|---|---|---|
| committer | 2024-07-01 14:31:57 +0300 | |
| commit | 917918f57a7b139c043e78c502876f2c286f4f0a (patch) | |
| tree | 483c33a2d78278f940a9a413216fc0c4ecfc07da /include/linux/bcma/ssh:/git@git.zx2c4.com/git: | |
| parent | RDMA/mlx5: Send UAR page index as ioctl attribute (diff) | |
RDMA/device: Return error earlier if port in not valid
There is no need to allocate port data if port provided is not valid.
Fixes: c2261dd76b54 ("RDMA/device: Add ib_device_set_netdev() as an alternative to get_netdev")
Link: https://lore.kernel.org/r/022047a8b16988fc88d4426da50bf60a4833311b.1719235449.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
