arch/arm/mm/dma-mapping-nommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
There is a spelling mistake of 'absense' in comments which
should be 'absence'.
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
---
arch/arm/mm/dma-mapping-nommu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mm/dma-mapping-nommu.c b/arch/arm/mm/dma-mapping-nommu.c
index 97db5397c320..fecac107fd0d 100644
--- a/arch/arm/mm/dma-mapping-nommu.c
+++ b/arch/arm/mm/dma-mapping-nommu.c
@@ -39,7 +39,7 @@ void arch_setup_dma_ops(struct device *dev, bool coherent)
/*
* Cache support for v7m is optional, so can be treated as
* coherent if no cache has been detected. Note that it is not
- * enough to check if MPU is in use or not since in absense of
+ * enough to check if MPU is in use or not since in absence of
* MPU system memory map is used.
*/
dev->dma_coherent = cacheid ? coherent : true;
--
2.45.2
On 10/17/24 04:29, WangYuli wrote: > There is a spelling mistake of 'absense' in comments which > should be 'absence'. > > Signed-off-by: WangYuli <wangyuli@uniontech.com> > Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> > --- > arch/arm/mm/dma-mapping-nommu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mm/dma-mapping-nommu.c b/arch/arm/mm/dma-mapping-nommu.c > index 97db5397c320..fecac107fd0d 100644 > --- a/arch/arm/mm/dma-mapping-nommu.c > +++ b/arch/arm/mm/dma-mapping-nommu.c > @@ -39,7 +39,7 @@ void arch_setup_dma_ops(struct device *dev, bool coherent) > /* > * Cache support for v7m is optional, so can be treated as > * coherent if no cache has been detected. Note that it is not > - * enough to check if MPU is in use or not since in absense of > + * enough to check if MPU is in use or not since in absence of > * MPU system memory map is used. > */ > dev->dma_coherent = cacheid ? coherent : true; > -- 2.45.2 > Unless it is already taken by someone, please, upload the patch in RMK's patch system [1] [1] https://www.arm.linux.org.uk/developer/patches/ Vladimir
© 2016 - 2024 Red Hat, Inc.