Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213289

xtensa build failures in -next due to DMA API changes

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject xtensa build failures in -next due to DMA API changes
Date 2015-08-25 22:10 +0200
Message-ID <q1sHD-7Q-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

xtensa builds fail in -next (again) as follows.

In file included from include/linux/dma-mapping.h:86:0,
                 from include/asm-generic/pci-dma-compat.h:7,
		 from ./arch/xtensa/include/asm/pci.h:59,
		from include/linux/pci.h:1492,
		from arch/xtensa/kernel/platform.c:16:
./arch/xtensa/include/asm/dma-mapping.h:40:21:
	error: redefinition of ‘dma_alloc_attrs’

In file included from ./arch/xtensa/include/asm/dma-mapping.h:33:0,
                 from include/linux/dma-mapping.h:86,
		 from include/asm-generic/pci-dma-compat.h:7,
		from ./arch/xtensa/include/asm/pci.h:59,
		from include/linux/pci.h:1492,
		from arch/xtensa/kernel/platform.c:16:
include/asm-generic/dma-mapping-common.h:245:21:
	note: previous definition of ‘dma_alloc_attrs’ was here

and many similar errors; it looks like all dma attribute functions have been
redefined.

The problem seems to have been introduced with changes made by Christoph
Hellwig, coming in through Andrew's tree. Copying them here for comments.

Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

xtensa build failures in -next due to DMA API changes Guenter Roeck <linux@roeck-us.net> - 2015-08-25 22:10 +0200
  Re: xtensa build failures in -next due to DMA API changes Christoph Hellwig <hch@lst.de> - 2015-08-25 22:20 +0200
    Re: xtensa build failures in -next due to DMA API changes Christoph Hellwig <hch@lst.de> - 2015-08-25 22:30 +0200
      Re: xtensa build failures in -next due to DMA API changes Max Filippov <jcmvbkbc@gmail.com> - 2015-08-26 10:00 +0200
        Re: xtensa build failures in -next due to DMA API changes Andrew Morton <akpm@linux-foundation.org> - 2015-08-26 10:00 +0200
          Re: xtensa build failures in -next due to DMA API changes Chris Zankel <chris@zankel.net> - 2015-08-26 20:00 +0200
        Re: xtensa build failures in -next due to DMA API changes Christoph Hellwig <hch@lst.de> - 2015-08-26 19:50 +0200
          Re: xtensa build failures in -next due to DMA API changes Chris Zankel <chris@zankel.net> - 2015-09-01 02:40 +0200
    Re: xtensa build failures in -next due to DMA API changes Andrew Morton <akpm@linux-foundation.org> - 2015-08-25 22:30 +0200
    Re: xtensa build failures in -next due to DMA API changes Guenter Roeck <linux@roeck-us.net> - 2015-08-25 22:30 +0200

csiph-web