linux/drivers/infiniband/hw/mlx5
Mark Bloch d247667ecd 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: 36e0d43367 ("RDMA/mlx5: Compile fs.c regardless of INFINIBAND_USER_ACCESS config")
Link: https://patch.msgid.link/r/20250402070944.1022093-1-mbloch@nvidia.com
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2025-04-07 15:14:34 -03:00
..
Kconfig
Makefile RDMA/mlx5: Compile fs.c regardless of INFINIBAND_USER_ACCESS config 2025-03-18 06:18:52 -04:00
ah.c RDMA/mlx5: Handle errors returned from mlx5r_ib_rate() 2025-03-06 03:22:08 -05:00
cmd.c RDMA/mlx5: Add the initialization flow to utilize the 'data direct' device 2024-08-11 11:12:49 +03:00
cmd.h RDMA/mlx5: Add the initialization flow to utilize the 'data direct' device 2024-08-11 11:12:49 +03:00
cong.c IB/mlx5: Don't expose debugfs entries for RRoCE general parameters if not supported 2024-01-31 11:15:29 +02:00
counters.c RDMA v6.15 merge window pull request 2025-03-29 11:12:28 -07:00
counters.h RDMA/mlx5: Support optional-counters binding for QPs 2025-03-18 06:18:57 -04:00
cq.c RDMA/mlx5: Fix mlx5_poll_one() cur_qp update flow 2025-03-18 06:34:28 -04:00
data_direct.c RDMA/mlx5: Introduce the 'data direct' driver 2024-08-11 11:12:49 +03:00
data_direct.h RDMA/mlx5: Introduce the 'data direct' driver 2024-08-11 11:12:49 +03:00
devx.c RDMA/mlx5: Check enabled UCAPs when creating ucontext 2025-03-09 13:13:02 -04:00
devx.h RDMA/mlx5: Check enabled UCAPs when creating ucontext 2025-03-09 13:13:02 -04:00
dm.c RDMA/mlx5: Support handling of SW encap ICM area 2023-12-12 09:03:57 +02:00
dm.h
doorbell.c
fs.c RDMA/mlx5: Fix compilation warning when USER_ACCESS isn't set 2025-04-07 15:14:34 -03:00
fs.h RDMA/mlx5: Compile fs.c regardless of INFINIBAND_USER_ACCESS config 2025-03-18 06:18:52 -04:00
gsi.c
ib_rep.c RDMA/mlx5: Use IB set_netdev and get_netdev functions 2024-09-13 08:27:40 +03:00
ib_rep.h
ib_virt.c
macsec.c RDMA/mlx5: Handles RoCE MACsec steering rules addition and deletion 2023-08-20 12:35:24 +03:00
macsec.h RDMA/mlx5: Handles RoCE MACsec steering rules addition and deletion 2023-08-20 12:35:24 +03:00
mad.c RDMA/mlx5: Support querying per-plane IB PortCounters 2024-11-04 06:57:20 -05:00
main.c RDMA/mlx5: Check enabled UCAPs when creating ucontext 2025-03-09 13:13:02 -04:00
mem.c net/mlx5: Reimplement write combining test 2024-06-16 18:33:59 +03:00
mlx5_ib.h RDMA/mlx5: Support optional-counters binding for QPs 2025-03-18 06:18:57 -04:00
mr.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
odp.c RDMA v6.15 merge window pull request 2025-03-29 11:12:28 -07:00
qos.c
qp.c RDMA/mlx5: Fix AH static rate parsing 2025-02-20 01:43:13 -05:00
qp.h RDMA/mlx5: Fix AH static rate parsing 2025-02-20 01:43:13 -05:00
qpc.c RDMA/mlx5: Support plane device and driver APIs to add and delete it 2024-07-01 15:38:05 +03:00
restrack.c RDMA/mlx5: Extend ODP statistics with operation count 2024-12-10 04:09:09 -05:00
restrack.h
srq.c RDMA v6.11 merge window 2024-07-19 09:51:33 -07:00
srq.h
srq_cmd.c
std_types.c RDMA/mlx5: Introduce GET_DATA_DIRECT_SYSFS_PATH ioctl 2024-08-11 11:12:50 +03:00
umr.c RDMA/mlx5: Fix the recovery flow of the UMR QP 2025-02-03 06:35:27 -05:00
umr.h RDMA/mlx5: Add support for DMABUF MR registrations with Data-direct 2024-08-11 11:12:50 +03:00
wr.c RDMA/mlx5: Fix fortify source warning while accessing Eth segment 2024-01-31 11:15:17 +02:00
wr.h