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 48598ce51ba850e91c1508d8d77fd0c79784f5f1 Author: zhangyuan29 <[email protected]> AuthorDate: Fri May 8 20:45:03 2026 +0800 fix(testing/ostest): resolve Tasking warning W597 alignment Adapted from vela a2b72fcd029. The vela patch removes aligned_data(64) from the inline union in spinlock_test_thread_num(); in the community shape (typedef'd union spinlock_test_u at the top of spinlock.c) the aligned_data(64) attribute sits on the typedef and triggers the same Tasking compiler warning (W597), so drop it there as well. Assisted-By: mimo-v2.6-pro Signed-off-by: zhangyuan29 <[email protected]> --- testing/ostest/spinlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/ostest/spinlock.c b/testing/ostest/spinlock.c index 3a33f5c08..9464c572b 100644 --- a/testing/ostest/spinlock.c +++ b/testing/ostest/spinlock.c @@ -71,7 +71,7 @@ struct spinlock_thread_args_s FAR struct spinlock_pub_args_s *pub; /* Pointer to shared arguments */ }; -aligned_data(64) union spinlock_test_u +union spinlock_test_u { spinlock_t spinlock; rspinlock_t rspinlock;
