linux/drivers/infiniband/hw/hns
YueHaibing a07fc0bb48 RDMA/hns: Fix build error
If INFINIBAND_HNS_HIP08 is selected and HNS3 is m,
but INFINIBAND_HNS is y, building fails:

drivers/infiniband/hw/hns/hns_roce_hw_v2.o: In function `hns_roce_hw_v2_exit':
hns_roce_hw_v2.c:(.exit.text+0xd): undefined reference to `hnae3_unregister_client'
drivers/infiniband/hw/hns/hns_roce_hw_v2.o: In function `hns_roce_hw_v2_init':
hns_roce_hw_v2.c:(.init.text+0xd): undefined reference to `hnae3_register_client'

Also if INFINIBAND_HNS_HIP06 is selected and HNS_DSAF
is m, but INFINIBAND_HNS is y, building fails:

drivers/infiniband/hw/hns/hns_roce_hw_v1.o: In function `hns_roce_v1_reset':
hns_roce_hw_v1.c:(.text+0x39fa): undefined reference to `hns_dsaf_roce_reset'
hns_roce_hw_v1.c:(.text+0x3a25): undefined reference to `hns_dsaf_roce_reset'

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: dd74282df5 ("RDMA/hns: Initialize the PCI device for hip08 RoCE")
Fixes: 08805fdbeb ("RDMA/hns: Split hw v1 driver from hns roce driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190724065443.53068-1-yuehaibing@huawei.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-07-29 12:05:57 -04:00
..
hns_roce_ah.c RDMA: Introduce and use GID attr helper to read RoCE L2 fields 2019-05-03 11:10:02 -03:00
hns_roce_alloc.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_cmd.c RDMA/hns: Clean up unnecessary variable initialization 2019-07-07 09:19:38 -03:00
hns_roce_cmd.h RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_common.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_cq.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_db.c RDMA/hns: Fix sg offset non-zero issue 2019-07-22 14:44:08 -03:00
hns_roce_device.h RDMA/hns: Fix bug when wqe num is larger than 16K 2019-06-20 12:56:34 -04:00
hns_roce_hem.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_hem.h RDMa/hns: Don't stuck in endless timeout loop 2019-06-20 15:39:43 -04:00
hns_roce_hw_v1.c 5.3 Merge window RDMA pull request 2019-07-15 20:38:15 -07:00
hns_roce_hw_v1.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Clean up unnecessary variable initialization 2019-07-07 09:19:38 -03:00
hns_roce_hw_v2.h RDMA/hns: reset function when removing module 2019-06-20 15:05:48 -04:00
hns_roce_main.c RDMA/hns: Clean up unnecessary variable initialization 2019-07-07 09:19:38 -03:00
hns_roce_mr.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_pd.c RDMA/hns: Clean up unnecessary variable initialization 2019-07-07 09:19:38 -03:00
hns_roce_qp.c RDMA/hns: Fixs hw access invalid dma memory error 2019-07-07 09:19:38 -03:00
hns_roce_restrack.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_srq.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
Kconfig RDMA/hns: Fix build error 2019-07-29 12:05:57 -04:00
Makefile RDMA/hns: Fix build error 2019-07-29 12:05:57 -04:00