aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/rc.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-07-24 14:54:43 +0800
committerDoug Ledford <dledford@redhat.com>2019-07-29 12:05:57 -0400
commita07fc0bb483eb24444cebd59a8112ce6e6964c48 (patch)
tree64d6464201e4b9cf96e19a66d2296b29b7fc4c7a /drivers/infiniband/hw/hfi1/rc.c
parentIB/mlx5: Fix RSS Toeplitz setup to be aligned with the HW specification (diff)
downloadlinux-dev-a07fc0bb483eb24444cebd59a8112ce6e6964c48.tar.xz
linux-dev-a07fc0bb483eb24444cebd59a8112ce6e6964c48.zip
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: dd74282df573 ("RDMA/hns: Initialize the PCI device for hip08 RoCE") Fixes: 08805fdbeb2d ("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>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/rc.c')
0 files changed, 0 insertions, 0 deletions