aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMark Bloch <[email protected]>2025-04-02 07:09:44 +0000
committerJason Gunthorpe <[email protected]>2025-04-07 18:14:34 +0000
commitd247667ecd6411ec5bec9a38db7feaa599ce3ee2 (patch)
tree59942d0bb4cc1cd87851daa794cc204599f1061d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentRDMA/usnic: Fix passing zero to PTR_ERR in usnic_ib_pci_probe() (diff)
downloadkernel-d247667ecd6411ec5bec9a38db7feaa599ce3ee2.tar.gz
kernel-d247667ecd6411ec5bec9a38db7feaa599ce3ee2.zip
RDMA/mlx5: Fix compilation warning when USER_ACCESS isn't set
The cited commit made fs.c always compile, even when INFINIBAND_USER_ACCESS isn't set. This results in a compilation warning about an unused object when compiling with W=1 and USER_ACCESS is unset. Fix this by defining uverbs_destroy_def_handler() even when USER_ACCESS isn't set. Fixes: 36e0d433672f ("RDMA/mlx5: Compile fs.c regardless of INFINIBAND_USER_ACCESS config") Link: https://patch.msgid.link/r/[email protected] Signed-off-by: Mark Bloch <[email protected]> Tested-by: Arnd Bergmann <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions