treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / infiniband / core / Makefile
blobd1b14887960ec20799778568f5ed416a95c5e815
1 # SPDX-License-Identifier: GPL-2.0
2 infiniband-$(CONFIG_INFINIBAND_ADDR_TRANS) := rdma_cm.o
3 user_access-$(CONFIG_INFINIBAND_ADDR_TRANS) := rdma_ucm.o
5 obj-$(CONFIG_INFINIBAND) += ib_core.o ib_cm.o iw_cm.o \
6 $(infiniband-y)
7 obj-$(CONFIG_INFINIBAND_USER_MAD) += ib_umad.o
8 obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o $(user_access-y)
10 ib_core-y := packer.o ud_header.o verbs.o cq.o rw.o sysfs.o \
11 device.o fmr_pool.o cache.o netlink.o \
12 roce_gid_mgmt.o mr_pool.o addr.o sa_query.o \
13 multicast.o mad.o smi.o agent.o mad_rmpp.o \
14 nldev.o restrack.o counters.o ib_core_uverbs.o \
15 trace.o
17 ib_core-$(CONFIG_SECURITY_INFINIBAND) += security.o
18 ib_core-$(CONFIG_CGROUP_RDMA) += cgroup.o
20 ib_cm-y := cm.o
22 iw_cm-y := iwcm.o iwpm_util.o iwpm_msg.o
24 CFLAGS_cma_trace.o += -I$(src)
25 rdma_cm-y := cma.o cma_trace.o
27 rdma_cm-$(CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS) += cma_configfs.o
29 rdma_ucm-y := ucma.o
31 ib_umad-y := user_mad.o
33 ib_uverbs-y := uverbs_main.o uverbs_cmd.o uverbs_marshall.o \
34 rdma_core.o uverbs_std_types.o uverbs_ioctl.o \
35 uverbs_std_types_cq.o \
36 uverbs_std_types_flow_action.o uverbs_std_types_dm.o \
37 uverbs_std_types_mr.o uverbs_std_types_counters.o \
38 uverbs_uapi.o uverbs_std_types_device.o \
39 uverbs_std_types_async_fd.o
40 ib_uverbs-$(CONFIG_INFINIBAND_USER_MEM) += umem.o
41 ib_uverbs-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += umem_odp.o