Re: [PATCH v2] RDMA/hns: Fix build error for hip06

2019-07-23 Thread Yuehaibing
Pls ignore this, I will fix it. On 2019/7/24 11:44, YueHaibing wrote: > 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):

[PATCH v2] RDMA/hns: Fix build error for hip06

2019-07-23 Thread YueHaibing
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