All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] iommu/dma: Add some missing #includes
@ 2015-12-18 17:01 ` Robin Murphy
  0 siblings, 0 replies; 26+ messages in thread
From: Robin Murphy @ 2015-12-18 17:01 UTC (permalink / raw)
  To: joro-zLv9SwRftAIdnm+yROfE0A
  Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

dma-iommu.c was naughtily relying on an implicit transitive #include of
linux/vmalloc.h, which is apparently not present on some architectures.
Add that, plus a couple more headers for other functions which are used
similarly.

Reported-by: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Signed-off-by: Robin Murphy <robin.murphy-5wv7dgnIgG8@public.gmane.org>
---

Hi Joerg,

here are a couple more minor fixes for some obscure subtleties in the
common DMA code. I see I've just missed the rc5 fixes pull, but I hope
you can pick these up for rc6 (unless of course you're also just about
to disappear for 2 weeks like I am).

Thanks,
Robin.


 drivers/iommu/dma-iommu.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-iommu.c
index 427fdc1..982e716 100644
--- a/drivers/iommu/dma-iommu.c
+++ b/drivers/iommu/dma-iommu.c
@@ -21,10 +21,13 @@
 
 #include <linux/device.h>
 #include <linux/dma-iommu.h>
+#include <linux/gfp.h>
 #include <linux/huge_mm.h>
 #include <linux/iommu.h>
 #include <linux/iova.h>
 #include <linux/mm.h>
+#include <linux/scatterlist.h>
+#include <linux/vmalloc.h>
 
 int iommu_dma_init(void)
 {
-- 
1.9.1

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

end of thread, other threads:[~2016-03-10  7:47 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-18 17:01 [PATCH 1/3] iommu/dma: Add some missing #includes Robin Murphy
2015-12-18 17:01 ` Robin Murphy
     [not found] ` <9a84191ed813c23db7901f8c73f514d081495bdf.1450457730.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
2015-12-18 17:01   ` [PATCH 2/3] iommu/dma: Use correct offset in map_sg Robin Murphy
2015-12-18 17:01     ` Robin Murphy
     [not found]     ` <4812a34857b081e45c36d7e887840f3675da74dc.1450457730.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
2015-12-28 16:05       ` Joerg Roedel
2015-12-28 16:05         ` Joerg Roedel
     [not found]         ` <20151228160551.GA17673-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2016-01-04 16:08           ` Robin Murphy
2016-01-04 16:08             ` Robin Murphy
2016-01-04 16:19       ` [PATCH RESEND] " Robin Murphy
2016-01-04 16:19         ` Robin Murphy
     [not found]         ` <8317d001da4f48831fa23d8d7729a4659ac72b49.1451924092.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
2016-01-07 12:38           ` Joerg Roedel
2016-01-07 12:38             ` Joerg Roedel
2016-03-09  7:50       ` [PATCH 2/3] " Magnus Damm
2016-03-09  7:50         ` Magnus Damm
     [not found]         ` <CANqRtoSHa1fzQge4ntK9Jt_XFiL0AKWtUti93-cwS-aOkJQcjg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-09 15:00           ` Robin Murphy
2016-03-09 15:00             ` Robin Murphy
     [not found]             ` <56E03A83.9050909-5wv7dgnIgG8@public.gmane.org>
2016-03-10  7:47               ` Magnus Damm
2016-03-10  7:47                 ` Magnus Damm
2015-12-18 17:01   ` [PATCH 3/3] iommu/dma: Avoid unlikely high-order allocations Robin Murphy
2015-12-18 17:01     ` Robin Murphy
     [not found]     ` <8014a146e90282b8cbc5868cee0d01776670d9a6.1450457730.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
2015-12-18 22:35       ` Doug Anderson
2015-12-18 22:35         ` Doug Anderson
     [not found]         ` <CAD=FV=WqJHjb3zoZn=8OPO2iKH1k1sMvXkVBkyM6pAyvo6PgDQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-19  2:55           ` Yong Wu
2016-01-19  2:55             ` Yong Wu
2015-12-28 16:08   ` [PATCH 1/3] iommu/dma: Add some missing #includes Joerg Roedel
2015-12-28 16:08     ` Joerg Roedel

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.