Skip to content

Commit be4311a

Browse files
author
Christoph Hellwig
committed
dma-mapping: remove an incorrect __iommem annotation
memmap return a regular void pointer, not and __iomem one. Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent 34e04ee commit be4311a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/dma/coherent.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static int dma_init_coherent_memory(
4343
struct dma_coherent_mem **mem)
4444
{
4545
struct dma_coherent_mem *dma_mem = NULL;
46-
void __iomem *mem_base = NULL;
46+
void *mem_base = NULL;
4747
int pages = size >> PAGE_SHIFT;
4848
int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long);
4949
int ret;

0 commit comments

Comments
 (0)