yinshengkai
|
9fe1894625
|
testing: fix compiler warning
apps/benchmarks/ramspeed/ramspeed_main.c:70:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if HAS_IRQ_CONTROL
^
apps/examples/pipe/interlock_test.c:211:12: warning: variable 'readerid' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
else if (ret != 0)
^~~~~~~~
memorystress_main.c:443:41: note: format string is defined here
443 | " nodelen: %zu\n sleep_us: %lu\n nthreads: %zu\n debug: %s\n",
| ~~^
| |
| long unsigned int
| %u
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2026-04-20 15:19:09 +08:00 |