linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* xtensa build failures in -next due to DMA API changes
@ 2015-08-25 20:07 Guenter Roeck
  2015-08-25 20:15 ` Christoph Hellwig
  0 siblings, 1 reply; 10+ messages in thread
From: Guenter Roeck @ 2015-08-25 20:07 UTC (permalink / raw)
  To: Chris Zankel, Max Filippov
  Cc: Christoph Hellwig, Andrew Morton, linux-xtensa, linux-kernel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-09-01  0:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-25 20:07 xtensa build failures in -next due to DMA API changes Guenter Roeck
2015-08-25 20:15 ` Christoph Hellwig
2015-08-25 20:21   ` Guenter Roeck
2015-08-25 20:24     ` Christoph Hellwig
2015-08-26  7:53       ` Max Filippov
2015-08-26  7:59         ` Andrew Morton
2015-08-26 17:53           ` Chris Zankel
2015-08-26 17:41         ` Christoph Hellwig
2015-09-01  0:35           ` Chris Zankel
2015-08-25 20:22   ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).