Skip to contentSkip to conversation

m68k dma-mapping: gfp_t annotations

PATCH In review Al Viro 2 participants 2 messages Mar 14, 2007

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 17/17 m68k dma-mapping: gfp_t annotations

---
 include/asm-m68k/dma-mapping.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-m68k/dma-mapping.h +1 -1
index 00259ed..a26cdeb 100644
@@ -32,7 +32,7 @@ extern void dma_free_coherent(struct device *, size_t,
 			      void *, dma_addr_t);
 
 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size,
-					  dma_addr_t *handle, int flag)
+					  dma_addr_t *handle, gfp_t flag)
 {
 	return dma_alloc_coherent(dev, size, handle, flag);
 }
Signature · 1 line
1.5.0-rc2.GIT
Acked-by on v1 17/17
#1 lore raw
Quoted 1 line · Al Viro
Quoted 9 lines
---
 include/asm-m68k/dma-mapping.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-m68k/dma-mapping.h +0 -0
index 00259ed..a26cdeb 100644

include/asm-m68k/dma-mapping.h extern void dma_free_coherent(struct device *, size_t, · line 38

Quoted 8 lines
include/asm-m68k/dma-mapping.h +1 -1
@@ -32,7 +32,7 @@ extern void dma_free_coherent(struct device *, size_t,
 			      void *, dma_addr_t);
 
 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size,
-					  dma_addr_t *handle, int flag)
+					  dma_addr_t *handle, gfp_t flag)
 {
 	return dma_alloc_coherent(dev, size, handle, flag);
 }

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds