* [PATCH] dma-mapping: dma-map-ops.h: Remove an outdated comment
@ 2024-10-23 3:25 Sui Jingfeng
2024-10-23 5:25 ` Christoph Hellwig
2024-10-29 7:56 ` Christoph Hellwig
0 siblings, 2 replies; 3+ messages in thread
From: Sui Jingfeng @ 2024-10-23 3:25 UTC (permalink / raw)
To: Christoph Hellwig, Marek Szyprowski, Robin Murphy
Cc: Greg Kroah-Hartman, Thomas Bogendoerfer, iommu, linux-kernel,
Sui Jingfeng
The "/* CONFIG_ARCH_HAS_DMA_COHERENCE_H */" was an description about the
ARCH_HAS_DMA_COHERENCE_H configure option, but it has been removed since
the dma_default_coherent variable was lifted from the mips architecture
to the driver core. Therefore it doesn't match any compile guard now.
Just remove it.
Fixes: 6d4e9a8efe3d ("driver core: lift dma_default_coherent into common code")
Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
---
include/linux/dma-map-ops.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/dma-map-ops.h b/include/linux/dma-map-ops.h
index 4abc60f04209..7689f6fb4148 100644
--- a/include/linux/dma-map-ops.h
+++ b/include/linux/dma-map-ops.h
@@ -271,7 +271,7 @@ static inline bool dev_is_dma_coherent(struct device *dev)
{
return true;
}
-#endif /* CONFIG_ARCH_HAS_DMA_COHERENCE_H */
+#endif
/*
* Check whether potential kmalloc() buffers are safe for non-coherent DMA.
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dma-mapping: dma-map-ops.h: Remove an outdated comment
2024-10-23 3:25 [PATCH] dma-mapping: dma-map-ops.h: Remove an outdated comment Sui Jingfeng
@ 2024-10-23 5:25 ` Christoph Hellwig
2024-10-29 7:56 ` Christoph Hellwig
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2024-10-23 5:25 UTC (permalink / raw)
To: Sui Jingfeng
Cc: Christoph Hellwig, Marek Szyprowski, Robin Murphy,
Greg Kroah-Hartman, Thomas Bogendoerfer, iommu, linux-kernel
Thanks Sui,
I'll queue it up for Linux 6.13.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dma-mapping: dma-map-ops.h: Remove an outdated comment
2024-10-23 3:25 [PATCH] dma-mapping: dma-map-ops.h: Remove an outdated comment Sui Jingfeng
2024-10-23 5:25 ` Christoph Hellwig
@ 2024-10-29 7:56 ` Christoph Hellwig
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2024-10-29 7:56 UTC (permalink / raw)
To: Sui Jingfeng
Cc: Christoph Hellwig, Marek Szyprowski, Robin Murphy,
Greg Kroah-Hartman, Thomas Bogendoerfer, iommu, linux-kernel
Thanks, applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-29 7:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23 3:25 [PATCH] dma-mapping: dma-map-ops.h: Remove an outdated comment Sui Jingfeng
2024-10-23 5:25 ` Christoph Hellwig
2024-10-29 7:56 ` Christoph Hellwig
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.