All of lore.kernel.org
 help / color / mirror / Atom feed
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
To: randy.dunlap@oracle.com
Cc: fujita.tomonori@lab.ntt.co.jp, linux-kernel@vger.kernel.org,
	akpm@linux-foundation.org
Subject: Re: mmotm 2010-03-02-18-38 uploaded (dma unmapping)
Date: Thu, 4 Mar 2010 10:22:54 +0900	[thread overview]
Message-ID: <20100304102217B.fujita.tomonori@lab.ntt.co.jp> (raw)
In-Reply-To: <4B8EEEBA.70001@oracle.com>

On Wed, 03 Mar 2010 15:20:26 -0800
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> >> drivers/net/chelsio/sge.c:164: error: expected specifier-qualifier-list before 'DECLARE_DMA_UNMAP_ADDR'
> >> drivers/net/chelsio/sge.c:170: error: expected specifier-qualifier-list before 'DECLARE_DMA_UNMAP_ADDR'
> >>
> >> drivers/infiniband/hw/amso1100/c2_mq.h:74: error: expected specifier-qualifier-list before 'DECLARE_DMA_UNMAP_ADDR'
> >> drivers/infiniband/hw/amso1100/c2_provider.h:53: error: expected specifier-qualifier-list before 'DECLARE_DMA_U
> >> NMAP_ADDR'
> >>
> >> drivers/net/cxgb3/sge.c:120: error: expected specifier-qualifier-list before 'DECLARE_DMA_UNMAP_ADDR'
> >> drivers/net/cxgb3/sge.c:210: error: expected specifier-qualifier-list before 'DECLARE_DMA_UNMAP_ADDR'
> > 
> > Sorry. I can't reproduce this here. Can you send .config?
> 
> 
> Sure (attached), but there is a different config file for each driver case above.
> 
> chelsio == config-r8176
> 
> amso1100 == config-r8179
> 
> cxgb3 == config=r8186
> 
> All are ARCH=i386 builds.

Ah, somehow I put my silly typo... really sorry about that.

The following patch can be applied to mm after applying another
dma_unmap fix:

http://marc.info/?l=linux-kernel&m=126759183815898&w=2


Andrew, can you apply the following patch. This should be fold into
dma-mappingh-add-the-dma_unmap-state-api.patch after
dma-mappingh-add-the-dma_unmap-state-api-fix.patch.


=
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Subject: [PATCH] fix DECLARE_DMA_UNMAP_ADD_ADDR typo with CONFIG_NEED_DMA_MAP_STATE disabled

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
 include/linux/dma-mapping.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index e00c5c9..ca32ed7 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -248,7 +248,7 @@ struct dma_attrs;
 #define dma_unmap_len(PTR, LEN_NAME)             ((PTR)->LEN_NAME)
 #define dma_unmap_len_set(PTR, LEN_NAME, VAL)    (((PTR)->LEN_NAME) = (VAL))
 #else
-#define DEFINE_DMA_MAP_ADDR(ADDR_NAME)
+#define DEFINE_DMA_UNMAP_ADDR(ADDR_NAME)
 #define DEFINE_DMA_UNMAP_LEN(LEN_NAME)
 #define dma_unmap_addr(PTR, ADDR_NAME)           (0)
 #define dma_unmap_addr_set(PTR, ADDR_NAME, VAL)  do { } while (0)
-- 
1.6.5




  reply	other threads:[~2010-03-04  1:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03  2:39 mmotm 2010-03-02-18-38 uploaded akpm
2010-03-03  6:40 ` KAMEZAWA Hiroyuki
2010-03-03 18:09 ` mmotm 2010-03-02 - kernel BUG at fs/direct-io.c:630 Valdis.Kletnieks
2010-03-03 18:55   ` Dmitry Monakhov
2010-03-03 19:55     ` Valdis.Kletnieks
2010-03-03 19:15 ` [PATCH mmotm] xfs: needs LIST_SORT Randy Dunlap
2010-03-03 23:25   ` Dave Chinner
2010-03-03 23:35     ` Randy Dunlap
2010-03-04  0:31       ` Dave Chinner
2010-03-03 19:19 ` mmotm 2010-03-02-18-38 uploaded (dma unmapping) Randy Dunlap
2010-03-03 23:08   ` FUJITA Tomonori
2010-03-03 23:20     ` Randy Dunlap
2010-03-04  1:22       ` FUJITA Tomonori [this message]
2010-03-04  2:29         ` Randy Dunlap
2010-03-04 14:54 ` mmotm 2010-03-02-18-38 uploaded Jiri Slaby
2010-03-04 15:05   ` no boot with NO_BOOTMEM=y [was: mmotm 2010-03-02-18-38 uploaded] Jiri Slaby
2010-03-04 19:28     ` Yinghai Lu
2010-03-05  0:29     ` Yinghai Lu
2010-03-05 10:09       ` Jiri Slaby

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=20100304102217B.fujita.tomonori@lab.ntt.co.jp \
    --to=fujita.tomonori@lab.ntt.co.jp \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    /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.