mips DMA buildbot fixes
Subsystems (2)
Hi Thomas,
this series fixes a few trivial warnings in the mips DMA code that the buildbot keeps complaining about.
PATCH 1/3 MIPS: pci-ar2315: include <linux/dma-direct.h> for phys_to_dma
Ensure this file has a prototype for phys_to_dma and dma_to_phys.
--- arch/mips/pci/pci-ar2315.c | 1 + 1 file changed, 1 insertion(+)
arch/mips/pci/pci-ar2315.c +1 -0
@@ -31,6 +31,7 @@#include <linux/platform_device.h> #include <linux/kernel.h> #include <linux/init.h> +#include <linux/dma-direct.h> #include <linux/mm.h> #include <linux/delay.h> #include <linux/bitops.h>
Signature · 1 line
2.29.2
PATCH 2/3 MIPS: bmips: include <linux/dma-direct.h> for phys_to_dma
In reply to Christoph HellwigEnsure this file has a prototype for phys_to_dma and dma_to_phys.
--- arch/mips/bmips/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/bmips/dma.c +1 -1
@@ -10,7 +10,7 @@#include <linux/device.h> #include <linux/dma-direction.h> -#include <linux/dma-mapping.h> +#include <linux/dma-direct.h> #include <linux/init.h> #include <linux/io.h> #include <linux/of.h>
Signature · 1 line
2.29.2
Re: [PATCH 2/3] MIPS: bmips: include <linux/dma-direct.h> for phys_to_dma
Quoted 3 lines · Christoph Hellwig
Ensure this file has a prototype for
phys_to_dmaanddma_to_phys.Signed-off-by Christoph Hellwig <[email protected]>
Signature · 1 line
Florian
Re: [PATCH 2/3] MIPS: bmips: include <linux/dma-direct.h> for phys_to_dma
In reply to Christoph HellwigQuoted 7 lines · Christoph Hellwig
Ensure this file has a prototype for
phys_to_dmaanddma_to_phys.Signed-off-by Christoph Hellwig <[email protected]>--- arch/mips/bmips/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH 3/3 MIPS: force CONFIG_PCI to on for IP27 and IP30
In reply to Christoph HellwigThese are PCI based systems, so not enabling the support is rather pointless. Additionally the random configѕ generated by the build bot for IP27 and IP30 builds without PCI fail to buіld.
--- arch/mips/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/mips/Kconfig +2 -0
@@ -712,6 +712,7 @@ config SGI_IP27 select ARC_CMDLINE_ONLY select BOOT_ELF64 select DEFAULT_SGI_PARTITION + select FORCE_PCI select SYS_HAS_EARLY_PRINTK select HAVE_PCI select IRQ_MIPS_CPU
@@ -774,6 +775,7 @@ config SGI_IP30 select BOOT_ELF64 select CEVT_R4K select CSRC_R4K + select FORCE_PCI select SYNC_R4K if SMP select ZONE_DMA32 select HAVE_PCI
Signature · 1 line
2.29.2
Thomas Bogendoerfer
maintainerQuoted 4 lines · Christoph Hellwig
Hi Thomas,
this series fixes a few trivial warnings in the mips DMA code that the buildbot keeps complaining about.
series applied to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]