* [PATCH] asm-generic/scatterlist.h: Refer to "dma_map_sg" instead of "pci_map_sg"
@ 2015-05-21 11:45 Geert Uytterhoeven
2015-05-21 11:49 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2015-05-21 11:45 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-kernel, Geert Uytterhoeven
The PCI DMA API predates the generic DMA API, while the latter is
recommended. Add parentheses to make clear this is a C function.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
include/asm-generic/scatterlist.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/scatterlist.h b/include/asm-generic/scatterlist.h
index 5de07355fad492b1..30668d1e0f684fe6 100644
--- a/include/asm-generic/scatterlist.h
+++ b/include/asm-generic/scatterlist.h
@@ -19,7 +19,7 @@ struct scatterlist {
/*
* These macros should be used after a dma_map_sg call has been done
* to get bus addresses of each of the SG entries and their lengths.
- * You should only work with the number of sg entries pci_map_sg
+ * You should only work with the number of sg entries dma_map_sg()
* returns, or alternatively stop on the first sg_dma_len(sg) which
* is 0.
*/
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] asm-generic/scatterlist.h: Refer to "dma_map_sg" instead of "pci_map_sg"
2015-05-21 11:45 [PATCH] asm-generic/scatterlist.h: Refer to "dma_map_sg" instead of "pci_map_sg" Geert Uytterhoeven
@ 2015-05-21 11:49 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2015-05-21 11:49 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-kernel
Hi Arnd,
On Thu, May 21, 2015 at 1:45 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> The PCI DMA API predates the generic DMA API, while the latter is
> recommended. Add parentheses to make clear this is a C function.
Sorry, please ignore this.
This was obsoleted by commit 84be456f883c4685 ("remove <asm/scatterlist.h>")
in -next.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-21 11:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-21 11:45 [PATCH] asm-generic/scatterlist.h: Refer to "dma_map_sg" instead of "pci_map_sg" Geert Uytterhoeven
2015-05-21 11:49 ` Geert Uytterhoeven
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.