From 26b4bb30751294b65aabd71877ef3d8dfa174ffe Mon Sep 17 00:00:00 2001 From: zhuyanlin Date: Wed, 8 Sep 2021 16:05:29 +0800 Subject: [PATCH] xtensa:cache: fix typo error use addr instead of add --- arch/xtensa/src/common/xtensa_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/xtensa/src/common/xtensa_cache.c b/arch/xtensa/src/common/xtensa_cache.c index f2adf85177..0b49c835ba 100644 --- a/arch/xtensa/src/common/xtensa_cache.c +++ b/arch/xtensa/src/common/xtensa_cache.c @@ -463,7 +463,7 @@ void up_coherent_dcache(uintptr_t addr, size_t len) if (len > 0) { up_clean_dcache(addr, addr + len); - up_invalidate_icache(addr, add + len); + up_invalidate_icache(addr, addr + len); } } #endif