From 3fc18d50b8a83d491666b0c46181953204d2ecb5 Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Mon, 24 Jan 2022 21:46:17 +0800 Subject: [PATCH] tools/nxstyle: add Segger System View prototype name into white list Reference: https: //github.com/SEGGERMicro/SystemView/blob/master/SYSVIEW/SEGGER_SYSVIEW.h Signed-off-by: chao.an --- tools/nxstyle.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 138fa3258e..008d312600 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -264,6 +264,17 @@ static const char *g_white_list[] = "PhysicalAddress", "WideCharToMultiByte", + /* Ref: + * drivers/segger/note_sysview.c + */ + + "SEGGER_SYSVIEW", + "TaskID", + "sName", + "Prio", + "StackBase", + "StackSize", + /* Ref: * fs/nfs/rpc.h * fs/nfs/nfs_proto.h