tools/nxstyle.c: Fix a rare false alarm that could occur if a variable or function name begins with the sub-string 'union' or 'struct'. misc fixes under fs/ and sched/ from application of current version of nxstyle.

This commit is contained in:
Gregory Nutt
2019-12-01 13:01:16 -06:00
parent 91d04837e9
commit d2af57169b
17 changed files with 23 additions and 10 deletions
+2 -1
View File
@@ -606,7 +606,8 @@ int pg_worker(int argc, char *argv[])
else
{
pgerr("ERROR: Timeout!\n");
DEBUGASSERT(clock_systimer() - g_starttime < CONFIG_PAGING_TIMEOUT_TICKS);
DEBUGASSERT(clock_systimer() - g_starttime <
CONFIG_PAGING_TIMEOUT_TICKS);
}
#endif
}