]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/mlx5: Avoid direct access to DMA device pointer
authorLeon Romanovsky <leonro@nvidia.com>
Sun, 4 Jan 2026 13:51:36 +0000 (15:51 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 5 Jan 2026 09:02:51 +0000 (04:02 -0500)
commit522a5c1c56fbf71693cf2e4c726b200f6d703679
tree83745b4d1e9023eb825b0283c4697721fdb92ea6
parent6dc78c53de99e4ed9868d4f0fc6da6e46f52fe4d
RDMA/mlx5: Avoid direct access to DMA device pointer

The dma_device field is marked as internal and must not be accessed by
drivers or ULPs. Remove all direct mlx5 references to this field.

Link: https://patch.msgid.link/20260104-ib-core-misc-v1-4-00367f77f3a8@nvidia.com
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/mlx5/mr.c