public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse•de>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: Mark Nelson <markn@au1•ibm.com>, Arnd Bergmann <arnd@arndb•de>,
	Benjamin Herrenschmidt <benh@kernel•crashing.org>,
	linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>
Subject: Re: linux-next: Tree for July 14
Date: Mon, 14 Jul 2008 16:20:44 +0000 (UTC)
Date: Wed, 16 Jul 2008 02:20:11 +0200	[thread overview]
Message-ID: <s5hk5fmd6is.wl%tiwai@suse.de> (raw)
In-Reply-To: <20080714201249.947400d0.sfr@canb.auug.org.au>

At Mon, 14 Jul 2008 20:12:49 +1000,
Stephen Rothwell wrote:
> 
> Hi all,
> 
> With the opening of the merge window, I am hoping my job becomes easier
> again ... :-)

The build of next-20080714 failed on ppc32:

  CC [M]  drivers/infiniband/core/addr.o
In file included from include/rdma/ib_addr.h:41,
                 from drivers/infiniband/core/addr.c:44:
include/rdma/ib_verbs.h: In function 'ib_dma_map_single_attrs':
include/rdma/ib_verbs.h:1634: error: implicit declaration of function 'dma_map_single_attrs'
include/rdma/ib_verbs.h: In function 'ib_dma_unmap_single_attrs':
include/rdma/ib_verbs.h:1643: error: implicit declaration of function 'dma_unmap_single_attrs'
include/rdma/ib_verbs.h:1644: warning: 'return' with a value, in function returning void
include/rdma/ib_verbs.h: In function 'ib_dma_map_sg_attrs':
include/rdma/ib_verbs.h:1721: error: implicit declaration of function 'dma_map_sg_attrs'
include/rdma/ib_verbs.h: In function 'ib_dma_unmap_sg_attrs':
include/rdma/ib_verbs.h:1729: error: implicit declaration of function 'dma_unmap_sg_attrs'
make[3]: *** [drivers/infiniband/core/addr.o] Error 1


The following patch fixed the build, at least.  Not sure whether it's
the right fix, though.


Takashi

---
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 140ae05..007681c 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -113,7 +113,7 @@ config PPC
 	select HAVE_LMB
 	select USE_GENERIC_SMP_HELPERS if SMP
 	select HAVE_OPROFILE
-	select HAVE_DMA_ATTRS
+	select HAVE_DMA_ATTRS if PPC64
 
 config EARLY_PRINTK
 	bool

  parent reply	other threads:[~2008-07-14 16:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-14 10:12 linux-next: Tree for July 14 Stephen Rothwell
2008-07-14 11:43 ` Gabriel C
2008-07-14 13:47   ` Stephen Rothwell
2008-07-14 14:18 ` Gabriel C
2008-07-14 16:20 ` Takashi Iwai [this message]
2008-07-15  5:50   ` Benjamin Herrenschmidt
2008-07-14 16:20 ` Takashi Iwai
2008-07-14 16:25 ` Takashi Iwai
2008-07-14 16:25 ` Takashi Iwai
2008-07-14 17:12 ` Andrew Morton
2008-07-14 23:35 ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2008-07-14 15:06 mkrufky
2009-07-14  7:06 Stephen Rothwell
2010-07-14  4:23 Stephen Rothwell

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=s5hk5fmd6is.wl%tiwai@suse.de \
    --to=tiwai@suse$(echo .)de \
    --cc=arnd@arndb$(echo .)de \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=markn@au1$(echo .)ibm.com \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox