• Arnd Bergmann's avatar
    RDMA/bnxt_re: add DCB dependency · e57f774d
    Arnd Bergmann authored
    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.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
    e57f774d
Kconfig 363 Bytes