Re: [PATCH] RDMA/bnxt_re: add DCB dependency
From: Doug Ledford
Date: Sun Feb 19 2017 - 08:59:06 EST
On Fri, 2017-02-17 at 15:40 +0100, Arnd Bergmann wrote:
> 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: Arnd Bergmann <arnd@xxxxxxxx>
Thanks, applied.
--
Doug Ledford <dledford@xxxxxxxxxx>
  GPG KeyID: B826A3330E572FDD
 Â
Key fingerprint = AE6B 1BDA 122B 23B4 265B Â1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part