Revision a07fc0bb483eb24444cebd59a8112ce6e6964c48 authored by YueHaibing on 24 July 2019, 06:54:43 UTC, committed by Doug Ledford on 29 July 2019, 16:05:57 UTC
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>
1 parent b7165bd
File | Mode | Size |
---|---|---|
platform | ||
acbuffer.h | -rw-r--r-- | 8.6 KB |
acconfig.h | -rw-r--r-- | 7.4 KB |
acexcep.h | -rw-r--r-- | 16.8 KB |
acnames.h | -rw-r--r-- | 2.1 KB |
acoutput.h | -rw-r--r-- | 16.4 KB |
acpi.h | -rw-r--r-- | 1.3 KB |
acpi_bus.h | -rw-r--r-- | 18.9 KB |
acpi_drivers.h | -rw-r--r-- | 3.6 KB |
acpi_io.h | -rw-r--r-- | 713 bytes |
acpi_lpat.h | -rw-r--r-- | 1.2 KB |
acpi_numa.h | -rw-r--r-- | 623 bytes |
acpiosxf.h | -rw-r--r-- | 11.3 KB |
acpixf.h | -rw-r--r-- | 30.2 KB |
acrestyp.h | -rw-r--r-- | 18.8 KB |
actbl.h | -rw-r--r-- | 18.3 KB |
actbl1.h | -rw-r--r-- | 40.3 KB |
actbl2.h | -rw-r--r-- | 45.5 KB |
actbl3.h | -rw-r--r-- | 20.9 KB |
actypes.h | -rw-r--r-- | 40.9 KB |
acuuid.h | -rw-r--r-- | 2.4 KB |
apei.h | -rw-r--r-- | 1.3 KB |
battery.h | -rw-r--r-- | 561 bytes |
button.h | -rw-r--r-- | 621 bytes |
cppc_acpi.h | -rw-r--r-- | 3.1 KB |
ghes.h | -rw-r--r-- | 2.9 KB |
hed.h | -rw-r--r-- | 370 bytes |
nfit.h | -rw-r--r-- | 351 bytes |
pcc.h | -rw-r--r-- | 651 bytes |
pdc_intel.h | -rw-r--r-- | 1.0 KB |
processor.h | -rw-r--r-- | 11.0 KB |
reboot.h | -rw-r--r-- | 201 bytes |
video.h | -rw-r--r-- | 2.8 KB |
Computing file changes ...