You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2021/09/08 09:19:08 UTC
[incubator-nuttx] branch master updated: xtensa:cache: fix typo
error
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 26b4bb3 xtensa:cache: fix typo error
26b4bb3 is described below
commit 26b4bb30751294b65aabd71877ef3d8dfa174ffe
Author: zhuyanlin <zh...@xiaomi.com>
AuthorDate: Wed Sep 8 16:05:29 2021 +0800
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 f2adf85..0b49c83 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