RDMA/bnxt_re: add DCB dependency
Subsystems (2)
PATCH 1/1 RDMA/bnxt_re: add DCB dependency
When CONFIG_DCB is disabled, we get a link error:
drivers/infiniband/built-in.o: In function `bnxt_re_setup_qos':
trace.c:(.text+0x155774): undefined reference to `dcb_ieee_getapp_mask'
trace.c:(.text+0x155774): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol dcb_ieee_getapp_mask' trace.c:(.text+0x155794): undefined reference to dcb_ieee_getapp_mask'
trace.c:(.text+0x155794): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `dcb_ieee_getapp_mask'
Like the other drivers that use this function, a Kconfig dependency is the correct fix.
--- drivers/infiniband/hw/bnxt_re/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/bnxt_re/Kconfig +1 -1
@@ -1,6 +1,6 @@ config INFINIBAND_BNXT_RE tristate "Broadcom Netxtreme HCA support" - depends on ETHERNET && NETDEVICES && PCI && INET + depends on ETHERNET && NETDEVICES && PCI && INET && DCB select NET_VENDOR_BROADCOM select BNXT ---help---
Signature · 6 lines
2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Doug Ledford
AppliedQuoted 12 lines · Arnd Bergmann
When
CONFIG_DCBis disabled, we get a link error:
drivers/infiniband/built-in.o: In function `bnxt_re_setup_qos':
trace.c:(.text+0x155774): undefined reference to `dcb_ieee_getapp_mask'
trace.c:(.text+0x155774): relocation truncated to fit:R_AARCH64_CALL26against undefined symboldcb_ieee_getapp_mask' trace.c:(.text+0x155794): undefined reference todcb_ieee_getapp_mask'
trace.c:(.text+0x155794): relocation truncated to fit:R_AARCH64_CALL26against undefined symbol `dcb_ieee_getapp_mask'
Quoted 5 lines
Like the other drivers that use this function, a
Kconfigdependency is
the correct fix.Signed-off-by Arnd Bergmann <[email protected]>
Thanks, applied.
Signature · 4 lines
Doug Ledford <[email protected]> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD