This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 2799cba36b3690ea764748f0f7cb312163c5b282 Author: George Poulios <gpoul...@census-labs.com> AuthorDate: Sun May 11 02:52:07 2025 +0300 tools/nxstyle.c: Whitelist libteec mixed case symbols Whitelist all symbols starting with "TEEC_" and a few entire struct field names from tee_client_api.h. Signed-off-by: George Poulios <gpoul...@census-labs.com> --- tools/nxstyle.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 9a597d2a14..cf396e6438 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -188,6 +188,7 @@ static const char *g_white_prefix[] = "ASCII_", /* Ref: include/nuttx/ascii.h */ "Dl_info", /* Ref: include/dlfcn.h */ "Elf", /* Ref: include/elf.h, include/elf32.h, include/elf64.h */ + "Ifx", /* Ref: arch/tricore/src */ "PRId", /* Ref: inttypes.h */ "PRIi", /* Ref: inttypes.h */ "PRIo", /* Ref: inttypes.h */ @@ -200,6 +201,8 @@ static const char *g_white_prefix[] = "SCNx", /* Ref: inttypes.h */ "SYS_", /* Ref: include/sys/syscall.h */ "STUB_", /* Ref: syscall/syscall_lookup.h, syscall/sycall_stublookup.c */ + "TEEC_", /* Ref: apps/tee/libteec/optee_client/libteec/include/tee_client_api.h */ + "V4L2_", /* Ref: include/sys/video_controls.h */ "XK_", /* Ref: include/input/X11_keysymdef.h */ "b8", /* Ref: include/fixedmath.h */ "b16", /* Ref: include/fixedmath.h */ @@ -210,8 +213,6 @@ static const char *g_white_prefix[] = "ub32", /* Ref: include/fixedmath.h */ "lua_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lua.h */ "luaL_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lauxlib.h */ - "V4L2_", /* Ref: include/sys/video_controls.h */ - "Ifx", /* Ref: arch/tricore/src */ NULL }; @@ -636,6 +637,16 @@ static const char *g_white_content_list[] = "inflateEnd", "zError", + /* Ref: + * apps/tee/libteec/optee_client/libteec/include/tee_client_api.h + */ + + "clockSeqAndNode", + "paramTypes", + "timeLow", + "timeMid", + "timeHiAndVersion", + NULL };