From: Christoph Hellwig Date: Fri, 1 Feb 2019 21:25:09 +0000 (+0100) Subject: dma-mapping: remove an incorrect __iommem annotation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=be4311a262bcf29da60c1ef6b5a457fe5d9cccef;p=linux.git dma-mapping: remove an incorrect __iommem annotation memmap return a regular void pointer, not and __iomem one. Signed-off-by: Christoph Hellwig --- diff --git a/kernel/dma/coherent.c b/kernel/dma/coherent.c index 66f0fb7e9a3ac..4b76aba574c29 100644 --- a/kernel/dma/coherent.c +++ b/kernel/dma/coherent.c @@ -43,7 +43,7 @@ static int dma_init_coherent_memory( struct dma_coherent_mem **mem) { struct dma_coherent_mem *dma_mem = NULL; - void __iomem *mem_base = NULL; + void *mem_base = NULL; int pages = size >> PAGE_SHIFT; int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long); int ret;