This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 6d658b59a0900555e607a0ad85a36672a91f5d40 Author: huojianchao <[email protected]> AuthorDate: Tue Nov 24 14:28:39 2026 +0800 testing/mm/kasantest: add the blank lines in the stack tests nxstyle wants a blank line after the declaration of stack in test_stack_underflow() and test_stack_overflow(). No functional change. Assisted-by: Kiro:claude-opus-5-5 Signed-off-by: huojianchao <[email protected]> --- testing/mm/kasantest/kasantest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/mm/kasantest/kasantest.c b/testing/mm/kasantest/kasantest.c index dc14d9f50..ce583666a 100644 --- a/testing/mm/kasantest/kasantest.c +++ b/testing/mm/kasantest/kasantest.c @@ -637,6 +637,7 @@ static bool test_global_overflow(FAR struct mm_heap_s *heap, size_t size) static bool test_stack_underflow(FAR struct mm_heap_s *heap, size_t size) { char stack[0]; + memset(stack - 16, 0xef, 16); return false; } @@ -644,6 +645,7 @@ static bool test_stack_underflow(FAR struct mm_heap_s *heap, size_t size) static bool test_stack_overflow(FAR struct mm_heap_s *heap, size_t size) { char stack[0]; + memset(stack, 0xef, 16); return false; }
