From: Vinod Koul <vinod.koul@intel.com>
To: Randy Dunlap <rdunlap@infradead.org>, Arnd Bergmann <arnd@arndb.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
Anup Patel <anup.patel@broadcom.com>,
"dmaengine@vger.kernel.org" <dmaengine@vger.kernel.org>
Subject: Re: [PATCH -next] dma: bcm-sba-raid: fix build errors and dependencies
Date: Fri, 19 May 2017 09:16:12 +0530 [thread overview]
Message-ID: <20170519034612.GM15061@localhost> (raw)
In-Reply-To: <e21b438b-ab97-ad1a-7108-a2b3d28283ff@infradead.org>
On Wed, May 17, 2017 at 09:40:47AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix build errors when COMPILE_TEST is enabled but RAID6_PQ is not
> enabled (seen on x86_64).
Oops, I already applied one from Arnd and pushed that out.
>
> drivers/built-in.o: In function `sba_prep_dma_pq_req':
> (.text+0x16132): undefined reference to `raid6_gflog'
> drivers/built-in.o: In function `sba_prep_dma_pq_single_req':
> (.text+0x162f4): undefined reference to `raid6_gflog'
>
> This driver needs RAID6_PQ and MAILBOX (from inspection) independent of
> ARM64 or COMPILE_TEST.
>
> However, RAID6_PQ is not defined in any Kconfig file, although it is
> used in several of them. :(
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Anup Patel <anup.patel@broadcom.com>
> Cc: Vinod Koul <vinod.koul@intel.com>
> Cc: dmaengine@vger.kernel.org
> ---
> drivers/dma/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- linux-next-20170517.orig/drivers/dma/Kconfig
> +++ linux-next-20170517/drivers/dma/Kconfig
> @@ -101,7 +101,8 @@ config AXI_DMAC
>
> config BCM_SBA_RAID
> tristate "Broadcom SBA RAID engine support"
> - depends on (ARM64 && MAILBOX && RAID6_PQ) || COMPILE_TEST
> + depends on ARM64 || COMPILE_TEST
> + depends on MAILBOX && RAID6_PQ
> select DMA_ENGINE
> select DMA_ENGINE_RAID
> select ASYNC_TX_DISABLE_XOR_VAL_DMA
>
>
--
~Vinod
prev parent reply other threads:[~2017-05-19 3:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 16:40 [PATCH -next] dma: bcm-sba-raid: fix build errors and dependencies Randy Dunlap
2017-05-17 18:11 ` Bjorn Andersson
2017-05-19 3:46 ` Vinod Koul [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170519034612.GM15061@localhost \
--to=vinod.koul@intel.com \
--cc=anup.patel@broadcom.com \
--cc=arnd@arndb.de \
--cc=dmaengine@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.