diff options
| author | Mark Bloch <[email protected]> | 2025-04-02 07:09:44 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2025-04-07 18:14:34 +0000 |
| commit | d247667ecd6411ec5bec9a38db7feaa599ce3ee2 (patch) | |
| tree | 59942d0bb4cc1cd87851daa794cc204599f1061d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | RDMA/usnic: Fix passing zero to PTR_ERR in usnic_ib_pci_probe() (diff) | |
| download | kernel-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
