Thread (13 messages) 13 messages, 5 authors, 2023-03-15

Re: [PATCH v2 2/5] dma-mapping: Provide a fallback dma_default_coherent

flat view

From: Christoph Hellwig <hch@lst.de>
Date: 2023-03-01 13:03:42
Also in: linux-mips, linux-riscv, lkml

On Thu, Feb 23, 2023 at 11:36:41AM +0000, Jiaxun Yang wrote:
dma_default_coherent was decleared unconditionally at kernel/dma/mapping.c
but only decleared when any of non-coherent options is enabled in dma-map-ops.h.
Overly lone line here.
quoted hunk ↗ jump to hunk
 }
 #else
+#define dma_default_coherent true
 static inline bool dev_is_dma_coherent(struct device *dev)
Please keep an empty line before the function declaration.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help