diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-06 19:19:35 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-11-12 13:33:44 -0400 |
commit | 22dd4c707673129ed17e803b4bf68a567b2731db (patch) | |
tree | d92e38bbbfd4914a1c1f2377b3a999214c115a43 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 8ecfca68dc4cbee1272a0161e3f2fb9387dc6930 (diff) |
nvme-rdma: Use ibdev_to_node instead of dereferencing ->dma_device
->dma_device is a private implementation detail of the RDMA core. Use the
ibdev_to_node helper to get the NUMA node for a ib_device instead of
poking into ->dma_device.
Link: https://lore.kernel.org/r/20201106181941.1878556-5-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions