2026-08-21 06:57 ftp://ftp.de.debian.org/debian/pool/main/r/rt-tests/rt-tests_2.10.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j96 platform: Linux-6.8.0-137-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 2e19539 (2026-08-18 17:04:48 +0200) count: 486 477 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: rt-tests-2.10/src/backfire/backfire.c:49:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/backfire/backfire.c:63:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_EXCL [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/backfire/backfire.c:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-get_cpu.c:21:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getcpu_vdso [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-sched.c:21:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sched_setattr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-sched.c:29:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_sched_getattr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-error.c:56:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-error.c:68:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pip_stress.c:267:2: error: #error _POSIX_THREAD_PROCESS_SHARED is not defined [preprocessorErrorDirective] rt-tests-2.10/src/lib/rt-error.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-error.c:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-error.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-numa.c:46:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-numa.c:84:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/queuelat/targeted-ipi/targeted-ipi.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-numa.c:135:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/histogram.c:22:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/histogram.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/histogram.c:57:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HIST_OVERFLOW [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/rt-utils.c:66:9: error: There is an unknown macro here somewhere. Configuration is required. If STR is a macro then please configure it. [unknownMacro] rt-tests-2.10/src/lib/histogram.c:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/histogram.c:127:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buckets [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/sigtest.c:25:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGEV_SIGNAL [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/sigtest.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/sigtest.c:58:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/sigtest.c:86:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/sigtest.c:115:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/queuelat/targeted-ipi/targeted-ipi.c:30:31: style: Parameter 'info' can be declared as pointer to const. However it seems that 'ipi_handler' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rt-tests-2.10/src/queuelat/targeted-ipi/targeted-ipi.c:41:43: note: You might need to cast the function pointer here rt-tests-2.10/src/queuelat/targeted-ipi/targeted-ipi.c:30:31: note: Parameter 'info' can be declared as pointer to const rt-tests-2.10/src/backfire/backfire.c:59:49: style: Parameter 'file' can be declared as pointer to const. However it seems that 'backfire_open' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rt-tests-2.10/src/backfire/backfire.c:100:11: note: You might need to cast the function pointer here rt-tests-2.10/src/backfire/backfire.c:59:49: note: Parameter 'file' can be declared as pointer to const rt-tests-2.10/src/backfire/backfire.c:81:52: style: Parameter 'file' can be declared as pointer to const. However it seems that 'backfire_release' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rt-tests-2.10/src/backfire/backfire.c:103:13: note: You might need to cast the function pointer here rt-tests-2.10/src/backfire/backfire.c:81:52: note: Parameter 'file' can be declared as pointer to const rt-tests-2.10/src/lib/rt-numa.c:62:17: warning:inconclusive: Either the condition 'num_cpus==0' is redundant or there is division by zero at line 62. [zerodivcond] rt-tests-2.10/src/lib/rt-numa.c:59:15: note: Assuming that condition 'num_cpus==0' is not redundant rt-tests-2.10/src/lib/rt-numa.c:62:17: note: Division by zero rt-tests-2.10/src/ssdd/ssdd.c:77:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ssdd/ssdd.c:96:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WUNTRACED [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ssdd/ssdd.c:147:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ssdd/ssdd.c:189:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ssdd/ssdd.c:349:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:85:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:97:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:127:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:173:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:186:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:277:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_STACK_MIN [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:308:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:429:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:488:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:520:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:116:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:193:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sys_siglist [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:210:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:348:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:387:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:433:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:450:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_BARRIER_SERIAL_THREAD [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:529:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_BARRIER_SERIAL_THREAD [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:592:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_BARRIER_SERIAL_THREAD [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/backfire/sendme.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/backfire/sendme.c:90:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/backfire/sendme.c:95:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/backfire/sendme.c:112:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/backfire/sendme.c:170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/queuelat/queuelat.c:236:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC_PER_SEC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/queuelat/queuelat.c:291:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/queuelat/queuelat.c:334:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/queuelat/queuelat.c:484:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC_PER_SEC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/queuelat/queuelat.c:564:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/lib/histogram.c:167:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/queuelat/queuelat.c:589:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ptsematest/ptsematest.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ptsematest/ptsematest.c:143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ptsematest/ptsematest.c:194:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ptsematest/ptsematest.c:344:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_nsec [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ptsematest/ptsematest.c:395:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:55:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:68:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:122:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:157:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:214:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:436:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:548:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/signaltest/signaltest.c:80:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/signaltest/signaltest.c:176:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/signaltest/signaltest.c:254:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/signaltest/signaltest.c:413:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_ONLN [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/oslat/oslat.c:248:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/oslat/oslat.c:409:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/oslat/oslat.c:703:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/oslat/oslat.c:891:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pmqtest/pmqtest.c:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pmqtest/pmqtest.c:223:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pmqtest/pmqtest.c:278:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pmqtest/pmqtest.c:441:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_nsec [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pmqtest/pmqtest.c:493:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/ssdd/ssdd.c:166:41: style: Parameter 'info' can be declared as pointer to const. However it seems that 'sigchld' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rt-tests-2.10/src/ssdd/ssdd.c:198:21: note: You might need to cast the function pointer here rt-tests-2.10/src/ssdd/ssdd.c:166:41: note: Parameter 'info' can be declared as pointer to const rt-tests-2.10/src/ssdd/ssdd.c:166:53: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'sigchld' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rt-tests-2.10/src/ssdd/ssdd.c:198:21: note: You might need to cast the function pointer here rt-tests-2.10/src/ssdd/ssdd.c:166:53: note: Parameter 'arg' can be declared as pointer to const rt-tests-2.10/src/ssdd/ssdd.c:335:24: style: Variable 'long_options' can be declared as const array [constVariable] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:381:31: style:inconclusive: Function 'set_cpu_affinity' argument 1 names different: declaration 'mask' definition 'cpu_set'. [funcArgNamesDifferent] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:108:35: note: Function 'set_cpu_affinity' argument 1 names different: declaration 'mask' definition 'cpu_set'. rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:381:31: note: Function 'set_cpu_affinity' argument 1 names different: declaration 'mask' definition 'cpu_set'. rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:645:14: style:inconclusive: Function 'error' argument 1 names different: declaration '' definition 'fmt'. [funcArgNamesDifferentUnnamed] rt-tests-2.10/src/pi_tests/tst-mutexpi10.c:655:13: style:inconclusive: Function 'info' argument 1 names different: declaration '' definition 'fmt'. [funcArgNamesDifferentUnnamed] rt-tests-2.10/src/hackbench/hackbench.c:160:28: style: Condition 'inet_socketpair(fds)==0' is always true [knownConditionTrueFalse] rt-tests-2.10/src/hackbench/hackbench.c:160:22: note: Calling function 'inet_socketpair' returns 0 rt-tests-2.10/src/hackbench/hackbench.c:160:28: note: Condition 'inet_socketpair(fds)==0' is always true rt-tests-2.10/src/hackbench/hackbench.c:126:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] rt-tests-2.10/src/hackbench/hackbench.c:295:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/hackbench/hackbench.c:504:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/hackbench/hackbench.c:504:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/hackbench/hackbench.c:504:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/hackbench/hackbench.c:507:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/hackbench/hackbench.c:507:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/hackbench/hackbench.c:527:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/hackbench/hackbench.c:527:5: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/pi_tests/pi_stress.c:105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAILURE [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:240:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:295:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:346:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable watchdog [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:362:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WATCHDOG_LIMIT [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:379:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:406:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:475:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:499:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:632:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:736:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_DEADLINE [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:865:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:905:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAILURE [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:924:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAILURE [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:964:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAILURE [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:1034:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAILURE [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:1083:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:1100:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:1118:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:1207:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:1279:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable total [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/pi_tests/pi_stress.c:1352:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAILURE [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:339:19: style: Argument 'num_fds' shadows outer variable [shadowVariable] rt-tests-2.10/src/hackbench/hackbench.c:40:21: note: Shadowed variable rt-tests-2.10/src/hackbench/hackbench.c:339:19: note: Shadow argument rt-tests-2.10/src/pi_tests/pi_stress.c:1370:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_INIT_LOW [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:191:44: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'sender' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rt-tests-2.10/src/hackbench/hackbench.c:390:25: note: You might need to cast the function pointer here rt-tests-2.10/src/hackbench/hackbench.c:191:44: note: Parameter 'ctx' can be declared as pointer to const rt-tests-2.10/src/hackbench/hackbench.c:292:34: style: Parameter 'children' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/hackbench/hackbench.c:405:45: style: Parameter 'argv' can be declared as const array [constParameter] rt-tests-2.10/src/hackbench/hackbench.c:408:24: style: Variable 'longopts' can be declared as const array [constVariable] rt-tests-2.10/src/sigwaittest/sigwaittest.c:73:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sigwaittest/sigwaittest.c:199:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sigwaittest/sigwaittest.c:246:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sigwaittest/sigwaittest.c:401:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_nsec [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sigwaittest/sigwaittest.c:457:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/hackbench/hackbench.c:283:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] rt-tests-2.10/src/svsematest/svsematest.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/svsematest/svsematest.c:226:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/svsematest/svsematest.c:275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/svsematest/svsematest.c:483:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_nsec [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/svsematest/svsematest.c:506:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:163:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:271:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMPFS_MAGIC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:299:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:323:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CGROUP_SUPER_MAGIC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:480:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:513:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:592:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:626:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC_RAW [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:666:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oflow_count [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:756:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1002:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1078:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:56:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:262:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:334:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:371:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:401:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:430:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:536:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMPFS_MAGIC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:575:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:613:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CGROUP_SUPER_MAGIC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:782:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:859:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:998:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:1038:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC_RAW [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:1145:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:1338:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/sched_deadline/deadline_test.c:1819:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/rt_numa.h:43:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:267:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:471:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:515:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:661:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USEC_PER_SEC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:931:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1042:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1162:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1446:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1459:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1512:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1700:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1753:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1783:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1805:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1817:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1830:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1847:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGE_SIZE [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1903:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/cyclictest/cyclictest.c:1916:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_CONF [valueFlowBailoutIncompleteVar] rt-tests-2.10/src/oslat/oslat.c:275:15: style: Condition 'e-s<1000000' is always true [knownConditionTrueFalse] rt-tests-2.10/src/oslat/oslat.c:273:4: note: e is assigned 's' here. rt-tests-2.10/src/oslat/oslat.c:275:15: note: Condition 'e-s<1000000' is always true rt-tests-2.10/src/oslat/oslat.c:431:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/oslat/oslat.c:588:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/oslat/oslat.c:545:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/oslat/oslat.c:550:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/ptsematest/ptsematest.c:349:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/ptsematest/ptsematest.c:349:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/ptsematest/ptsematest.c:373:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/ptsematest/ptsematest.c:383:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/ptsematest/ptsematest.c:385:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/oslat/oslat.c:874:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] rt-tests-2.10/src/oslat/oslat.c:362:11: style: Checking if unsigned expression 'lat' is less than zero. [unsignedLessThanZero] rt-tests-2.10/src/oslat/oslat.c:223:32: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'workload_nop' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rt-tests-2.10/src/oslat/oslat.c:234:13: note: You might need to cast the function pointer here rt-tests-2.10/src/oslat/oslat.c:223:32: note: Parameter 'dst' can be declared as pointer to const rt-tests-2.10/src/oslat/oslat.c:223:43: style: Parameter 'src' can be declared as pointer to const. However it seems that 'workload_nop' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rt-tests-2.10/src/oslat/oslat.c:234:13: note: You might need to cast the function pointer here rt-tests-2.10/src/oslat/oslat.c:223:43: note: Parameter 'src' can be declared as pointer to const rt-tests-2.10/src/oslat/oslat.c:643:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/oslat/oslat.c:666:43: style: Parameter 'argv' can be declared as const array [constParameter] rt-tests-2.10/src/oslat/oslat.c:670:24: style: Variable 'options' can be declared as const array [constVariable] rt-tests-2.10/src/ptsematest/ptsematest.c:334:27: style: Argument 'quiet' shadows outer variable [shadowVariable] rt-tests-2.10/src/ptsematest/ptsematest.c:182:12: note: Shadowed variable rt-tests-2.10/src/ptsematest/ptsematest.c:334:27: note: Shadow argument rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:318:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:325:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:332:4: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:385:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:388:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/ptsematest/ptsematest.c:191:45: style: Parameter 'argv' can be declared as const array [constParameter] rt-tests-2.10/src/ptsematest/ptsematest.c:199:24: style: Variable 'long_options' can be declared as const array [constVariable] rt-tests-2.10/src/ptsematest/ptsematest.c:333:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/ptsematest/ptsematest.c:333:49: style: Parameter 'receiver' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/ptsematest/ptsematest.c:333:74: style: Parameter 'sender' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/ptsematest/ptsematest.c:365:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/ptsematest/ptsematest.c:365:21: style: Variable 'r' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/oslat/oslat.c:273:6: error: Uninitialized variable: s [uninitvar] rt-tests-2.10/src/oslat/oslat.c:398:20: error: Uninitialized variable: ts1 [uninitvar] rt-tests-2.10/src/oslat/oslat.c:398:26: error: Uninitialized variable: ts2 [uninitvar] rt-tests-2.10/src/signaltest/signaltest.c:124:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/signaltest/signaltest.c:534:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/signaltest/signaltest.c:543:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/signaltest/signaltest.c:392:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/signaltest/signaltest.c:394:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:559:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:558:6: note: ret is assigned rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:559:6: note: ret is overwritten rt-tests-2.10/src/oslat/oslat.c:157:23: style: struct member 'thread::int_total' is never used. [unusedStructMember] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:184:43: style: Parameter 'argv' can be declared as const array [constParameter] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:189:24: style: Variable 'long_options' can be declared as const array [constVariable] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:409:24: style: Parameter 'data' can be declared as pointer to const. However it seems that 'start_task' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:597:41: note: You might need to cast the function pointer here rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:409:24: note: Parameter 'data' can be declared as pointer to const rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:517:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/signaltest/signaltest.c:152:13: style: Variable 'stat->act' is reassigned a value before the old one has been used. [redundantAssignment] rt-tests-2.10/src/signaltest/signaltest.c:147:14: note: stat->act is assigned rt-tests-2.10/src/signaltest/signaltest.c:152:13: note: stat->act is overwritten rt-tests-2.10/src/signaltest/signaltest.c:361:65: style: Argument 'verbose' shadows outer variable [shadowVariable] rt-tests-2.10/src/signaltest/signaltest.c:202:12: note: Shadowed variable rt-tests-2.10/src/signaltest/signaltest.c:361:65: note: Shadow argument rt-tests-2.10/src/rt-migrate-test/rt-migrate-test.c:469:12: error: Uninitialized variable: last [uninitvar] rt-tests-2.10/src/signaltest/signaltest.c:227:24: style: Variable 'long_options' can be declared as const array [constVariable] rt-tests-2.10/src/signaltest/signaltest.c:386:22: style: Variable 's' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/queuelat/queuelat.c:128:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:128:4: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:128:4: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:136:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:136:4: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:157:2: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:157:2: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:157:2: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:181:2: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:181:2: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:181:2: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:206:2: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:239:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:239:4: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:239:4: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:249:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/queuelat/queuelat.c:249:4: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/oslat/oslat.c:392:26: style: Variable 'workload_fn' is assigned a value that is never used. [unreadVariable] rt-tests-2.10/src/queuelat/queuelat.c:343:31: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/queuelat/queuelat.c:582:8: style: Variable 'mvalue' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/queuelat/queuelat.c:583:8: style: Variable 'cvalue' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/queuelat/queuelat.c:584:8: style: Variable 'pvalue' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/queuelat/queuelat.c:585:8: style: Variable 'fvalue' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/queuelat/queuelat.c:586:8: style: Variable 'tvalue' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/queuelat/queuelat.c:587:8: style: Variable 'qvalue' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/queuelat/queuelat.c:592:24: style: Variable 'options' can be declared as const array [constVariable] rt-tests-2.10/src/queuelat/queuelat.c:114:26: style: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] rt-tests-2.10/src/queuelat/queuelat.c:148:26: style: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] rt-tests-2.10/src/queuelat/queuelat.c:170:26: style: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] rt-tests-2.10/src/queuelat/queuelat.c:195:26: style: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] rt-tests-2.10/src/queuelat/queuelat.c:215:26: style: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] rt-tests-2.10/src/backfire/sendme.c:253:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/backfire/sendme.c:260:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/backfire/sendme.c:260:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/backfire/sendme.c:271:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/backfire/sendme.c:271:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/backfire/sendme.c:48:8: style: Variable 'fileprefix' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/backfire/sendme.c:109:46: style: Parameter 'argv' can be declared as const array [constParameter] rt-tests-2.10/src/backfire/sendme.c:117:24: style: Variable 'long_options' can be declared as const array [constVariable] rt-tests-2.10/src/pmqtest/pmqtest.c:446:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/pmqtest/pmqtest.c:446:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/pmqtest/pmqtest.c:470:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/pmqtest/pmqtest.c:481:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/pmqtest/pmqtest.c:483:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/pmqtest/pmqtest.c:431:27: style: Argument 'quiet' shadows outer variable [shadowVariable] rt-tests-2.10/src/pmqtest/pmqtest.c:266:12: note: Shadowed variable rt-tests-2.10/src/pmqtest/pmqtest.c:431:27: note: Shadow argument rt-tests-2.10/src/pmqtest/pmqtest.c:275:45: style: Parameter 'argv' can be declared as const array [constParameter] rt-tests-2.10/src/pmqtest/pmqtest.c:283:24: style: Variable 'long_options' can be declared as const array [constVariable] rt-tests-2.10/src/pmqtest/pmqtest.c:430:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/pmqtest/pmqtest.c:430:49: style: Parameter 'receiver' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/pmqtest/pmqtest.c:430:74: style: Parameter 'sender' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/pmqtest/pmqtest.c:462:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/pmqtest/pmqtest.c:462:21: style: Variable 'r' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/pi_tests/pi_stress.c:1330:17: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] rt-tests-2.10/src/pi_tests/pi_stress.c:1358:52: style: Argument 'policy' shadows outer variable [shadowVariable] rt-tests-2.10/src/pi_tests/pi_stress.c:85:5: note: Shadowed variable rt-tests-2.10/src/pi_tests/pi_stress.c:1358:52: note: Shadow argument rt-tests-2.10/src/pi_tests/pi_stress.c:1364:29: style: Argument 'policy' shadows outer variable [shadowVariable] rt-tests-2.10/src/pi_tests/pi_stress.c:85:5: note: Shadowed variable rt-tests-2.10/src/pi_tests/pi_stress.c:1364:29: note: Shadow argument rt-tests-2.10/src/pi_tests/pi_stress.c:1114:14: style: Variable 'k' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/pi_tests/pi_stress.c:1117:8: style: Variable 'id' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/pi_tests/pi_stress.c:1179:17: style: Variable 'options' can be declared as const array [constVariable] rt-tests-2.10/src/pi_tests/pi_stress.c:1330:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/cyclictest/cyclictest.c:686:19: style: Condition 'par->msr_fd<0' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:685:30: note: Calling function 'open_msr_file' returns -1 rt-tests-2.10/src/cyclictest/cyclictest.c:685:30: note: Assignment 'par->msr_fd=open_msr_file(par->cpu)', assigned value is -1 rt-tests-2.10/src/cyclictest/cyclictest.c:686:19: note: Condition 'par->msr_fd<0' is always true rt-tests-2.10/src/cyclictest/cyclictest.c:690:22: style: Condition 'get_smi_counter(par->msr_fd,&smi_old)' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:690:22: note: Calling function 'get_smi_counter' returns 1 rt-tests-2.10/src/cyclictest/cyclictest.c:690:22: note: Condition 'get_smi_counter(par->msr_fd,&smi_old)' is always true rt-tests-2.10/src/cyclictest/cyclictest.c:818:23: style: Condition 'get_smi_counter(par->msr_fd,&smi_now)' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:818:23: note: Calling function 'get_smi_counter' returns 1 rt-tests-2.10/src/cyclictest/cyclictest.c:818:23: note: Condition 'get_smi_counter(par->msr_fd,&smi_now)' is always true rt-tests-2.10/src/cyclictest/cyclictest.c:1375:7: style: Condition '!has_smi_counter()' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:1375:23: note: Calling function 'has_smi_counter' returns 0 rt-tests-2.10/src/cyclictest/cyclictest.c:1375:7: note: Condition '!has_smi_counter()' is always true rt-tests-2.10/src/cyclictest/cyclictest.c:1959:7: style: Condition '!have_libcpupower_support()' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:1959:32: note: Calling function 'have_libcpupower_support' returns 0 rt-tests-2.10/src/cyclictest/cyclictest.c:1959:7: note: Condition '!have_libcpupower_support()' is always true rt-tests-2.10/src/cyclictest/cyclictest.c:1967:39: style: Condition 'save_cpu_idle_disable_state(i)<0' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:1967:35: note: Calling function 'save_cpu_idle_disable_state' returns -1 rt-tests-2.10/src/cyclictest/cyclictest.c:1967:39: note: Condition 'save_cpu_idle_disable_state(i)<0' is always true rt-tests-2.10/src/cyclictest/cyclictest.c:1971:58: style: Condition 'set_deepest_cpu_idle_state(i,deepest_idle_state)<0' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:1971:34: note: Calling function 'set_deepest_cpu_idle_state' returns -1 rt-tests-2.10/src/cyclictest/cyclictest.c:1971:58: note: Condition 'set_deepest_cpu_idle_state(i,deepest_idle_state)<0' is always true rt-tests-2.10/src/cyclictest/cyclictest.c:2272:8: style: Condition '!shutdown' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:2265:7: note: Assuming that condition 'shutdown' is not redundant rt-tests-2.10/src/cyclictest/cyclictest.c:2270:7: note: Assuming condition is true rt-tests-2.10/src/cyclictest/cyclictest.c:2272:8: note: Condition '!shutdown' is always true rt-tests-2.10/src/cyclictest/cyclictest.c:1706:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/cyclictest/cyclictest.c:1713:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/cyclictest/cyclictest.c:2264:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/cyclictest/cyclictest.c:2282:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/cyclictest/cyclictest.c:1528:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] rt-tests-2.10/src/cyclictest/cyclictest.c:1538:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] rt-tests-2.10/src/cyclictest/cyclictest.c:1588:4: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/cyclictest/cyclictest.c:1594:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/cyclictest/cyclictest.c:1614:6: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] rt-tests-2.10/src/cyclictest/cyclictest.c:1617:6: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] rt-tests-2.10/src/cyclictest/cyclictest.c:1617:6: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/cyclictest/cyclictest.c:1753:3: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/cyclictest/cyclictest.c:1756:3: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/cyclictest/cyclictest.c:1878:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/cyclictest/cyclictest.c:1882:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/cyclictest/cyclictest.c:1888:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/cyclictest/cyclictest.c:1588:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] rt-tests-2.10/src/cyclictest/cyclictest.c:1709:14: note: Assuming allocation function fails rt-tests-2.10/src/cyclictest/cyclictest.c:1709:14: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 rt-tests-2.10/src/cyclictest/cyclictest.c:1711:15: note: Calling function 'print_stat', 1st argument 'fp' value is 0 rt-tests-2.10/src/cyclictest/cyclictest.c:1588:12: note: Null pointer dereference rt-tests-2.10/src/cyclictest/cyclictest.c:1596:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] rt-tests-2.10/src/cyclictest/cyclictest.c:1709:14: note: Assuming allocation function fails rt-tests-2.10/src/cyclictest/cyclictest.c:1709:14: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 rt-tests-2.10/src/cyclictest/cyclictest.c:1711:15: note: Calling function 'print_stat', 1st argument 'fp' value is 0 rt-tests-2.10/src/cyclictest/cyclictest.c:1596:12: note: Null pointer dereference rt-tests-2.10/src/cyclictest/cyclictest.c:1712:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] rt-tests-2.10/src/cyclictest/cyclictest.c:1709:14: note: Assuming allocation function fails rt-tests-2.10/src/cyclictest/cyclictest.c:1709:14: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 rt-tests-2.10/src/cyclictest/cyclictest.c:1712:10: note: Null pointer dereference rt-tests-2.10/src/cyclictest/cyclictest.c:458:32: style: Argument 'policy' shadows outer variable [shadowVariable] rt-tests-2.10/src/cyclictest/cyclictest.c:1022:12: note: Shadowed variable rt-tests-2.10/src/cyclictest/cyclictest.c:458:32: note: Shadow argument rt-tests-2.10/src/cyclictest/cyclictest.c:508:40: style: Argument 'policy' shadows outer variable [shadowVariable] rt-tests-2.10/src/cyclictest/cyclictest.c:1022:12: note: Shadowed variable rt-tests-2.10/src/cyclictest/cyclictest.c:508:40: note: Shadow argument rt-tests-2.10/src/cyclictest/cyclictest.c:639:29: style: Local variable 'interval' shadows outer variable [shadowVariable] rt-tests-2.10/src/cyclictest/cyclictest.c:1027:12: note: Shadowed variable rt-tests-2.10/src/cyclictest/cyclictest.c:639:29: note: Shadow local variable rt-tests-2.10/src/cyclictest/cyclictest.c:1055:29: style: Argument 'policy' shadows outer variable [shadowVariable] rt-tests-2.10/src/cyclictest/cyclictest.c:1022:12: note: Shadowed variable rt-tests-2.10/src/cyclictest/cyclictest.c:1055:29: note: Shadow argument rt-tests-2.10/src/cyclictest/cyclictest.c:1574:75: style: Argument 'verbose' shadows outer variable [shadowVariable] rt-tests-2.10/src/cyclictest/cyclictest.c:176:12: note: Shadowed variable rt-tests-2.10/src/cyclictest/cyclictest.c:1574:75: note: Shadow argument rt-tests-2.10/src/cyclictest/cyclictest.c:1574:88: style: Argument 'quiet' shadows outer variable [shadowVariable] rt-tests-2.10/src/cyclictest/cyclictest.c:1026:12: note: Shadowed variable rt-tests-2.10/src/cyclictest/cyclictest.c:1574:88: note: Shadow argument rt-tests-2.10/src/cyclictest/cyclictest.c:1629:71: style: Argument 'verbose' shadows outer variable [shadowVariable] rt-tests-2.10/src/cyclictest/cyclictest.c:176:12: note: Shadowed variable rt-tests-2.10/src/cyclictest/cyclictest.c:1629:71: note: Shadow argument rt-tests-2.10/src/cyclictest/cyclictest.c:1629:84: style: Argument 'quiet' shadows outer variable [shadowVariable] rt-tests-2.10/src/cyclictest/cyclictest.c:1026:12: note: Shadowed variable rt-tests-2.10/src/cyclictest/cyclictest.c:1629:84: note: Shadow argument rt-tests-2.10/src/cyclictest/cyclictest.c:610:51: style: Parameter 'counter' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/cyclictest/cyclictest.c:1039:32: style: Parameter 'polname' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/cyclictest/cyclictest.c:1106:24: style: Variable 'long_options' can be declared as const array [constVariable] rt-tests-2.10/src/cyclictest/cyclictest.c:1489:45: style: Parameter 'par' can be declared as const array [constParameter] rt-tests-2.10/src/cyclictest/cyclictest.c:1580:10: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/cyclictest/cyclictest.c:1746:25: style: Variable 'trig' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/cyclictest/cyclictest.c:1747:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/cyclictest/cyclictest.c:1760:49: style: Parameter 'par' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/cyclictest/cyclictest.c:2234:16: style: Variable 'policystr' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/cyclictest/cyclictest.c:2235:16: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/cyclictest/cyclictest.c:2236:16: style: Variable 'policystr2' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/cyclictest/cyclictest.c:2153:19: portability: 'stack' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] rt-tests-2.10/src/cyclictest/cyclictest.c:1619:21: error: Uninitialized variable: diff_smi [uninitvar] rt-tests-2.10/src/cyclictest/cyclictest.c:2137:37: error: Uninitialized variable: &currstk [uninitvar] rt-tests-2.10/src/cyclictest/cyclictest.c:2137:47: error: Uninitialized variable: &stksize [uninitvar] rt-tests-2.10/src/sigwaittest/sigwaittest.c:110:8: style: Condition 'first' is always true [knownConditionTrueFalse] rt-tests-2.10/src/sigwaittest/sigwaittest.c:101:15: note: Assignment 'first=1', assigned value is 1 rt-tests-2.10/src/sigwaittest/sigwaittest.c:105:10: note: Assuming condition is true rt-tests-2.10/src/sigwaittest/sigwaittest.c:110:8: note: Condition 'first' is always true rt-tests-2.10/src/sigwaittest/sigwaittest.c:136:8: style: Condition 'first' is always true [knownConditionTrueFalse] rt-tests-2.10/src/sigwaittest/sigwaittest.c:101:15: note: Assignment 'first=1', assigned value is 1 rt-tests-2.10/src/sigwaittest/sigwaittest.c:105:10: note: Assuming condition is false rt-tests-2.10/src/sigwaittest/sigwaittest.c:136:8: note: Condition 'first' is always true rt-tests-2.10/src/svsematest/svsematest.c:123:4: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/svsematest/svsematest.c:133:4: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/svsematest/svsematest.c:137:4: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/svsematest/svsematest.c:149:4: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/svsematest/svsematest.c:193:4: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/svsematest/svsematest.c:199:4: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/svsematest/svsematest.c:205:3: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/svsematest/svsematest.c:209:3: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/svsematest/svsematest.c:662:3: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/svsematest/svsematest.c:666:3: warning: Return value of function semop() is not used. [ignoredReturnValue] rt-tests-2.10/src/sigwaittest/sigwaittest.c:410:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sigwaittest/sigwaittest.c:410:4: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sigwaittest/sigwaittest.c:435:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/sigwaittest/sigwaittest.c:445:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sigwaittest/sigwaittest.c:447:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sigwaittest/sigwaittest.c:537:22: warning: If memory allocation fails, then there is a possible null pointer dereference: receiver [nullPointerOutOfMemory] rt-tests-2.10/src/sigwaittest/sigwaittest.c:528:15: note: Assuming allocation function fails rt-tests-2.10/src/sigwaittest/sigwaittest.c:528:15: note: Assignment 'param=mmap(0,totalsize,PROT_READ|PROT_WRITE,MAP_SHARED,shmem,0)', assigned value is 0 rt-tests-2.10/src/sigwaittest/sigwaittest.c:536:12: note: receiver is assigned '(struct params*)param' here. rt-tests-2.10/src/sigwaittest/sigwaittest.c:537:22: note: Null pointer dereference rt-tests-2.10/src/svsematest/svsematest.c:444:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/svsematest/svsematest.c:454:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/svsematest/svsematest.c:456:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/svsematest/svsematest.c:493:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/svsematest/svsematest.c:493:4: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sigwaittest/sigwaittest.c:545:23: warning: If memory allocation fails, then there is a possible null pointer dereference: receiver [nullPointerOutOfMemory] rt-tests-2.10/src/sigwaittest/sigwaittest.c:528:15: note: Assuming allocation function fails rt-tests-2.10/src/sigwaittest/sigwaittest.c:528:15: note: Assignment 'param=mmap(0,totalsize,PROT_READ|PROT_WRITE,MAP_SHARED,shmem,0)', assigned value is 0 rt-tests-2.10/src/sigwaittest/sigwaittest.c:539:17: note: Assuming condition is false rt-tests-2.10/src/sigwaittest/sigwaittest.c:536:12: note: receiver is assigned '(struct params*)param' here. rt-tests-2.10/src/sigwaittest/sigwaittest.c:539:17: note: Assuming condition is false rt-tests-2.10/src/sigwaittest/sigwaittest.c:545:23: note: Null pointer dereference rt-tests-2.10/src/sigwaittest/sigwaittest.c:511:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] rt-tests-2.10/src/sigwaittest/sigwaittest.c:502:15: note: Assuming allocation function fails rt-tests-2.10/src/sigwaittest/sigwaittest.c:502:15: note: Assignment 'param=mmap(0,totalsize,PROT_READ|PROT_WRITE,MAP_SHARED,shmem,0)', assigned value is 0 rt-tests-2.10/src/sigwaittest/sigwaittest.c:510:12: note: receiver is assigned '(struct params*)param' here. rt-tests-2.10/src/sigwaittest/sigwaittest.c:511:21: note: Null pointer addition rt-tests-2.10/src/sigwaittest/sigwaittest.c:545:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] rt-tests-2.10/src/sigwaittest/sigwaittest.c:528:15: note: Assuming allocation function fails rt-tests-2.10/src/sigwaittest/sigwaittest.c:528:15: note: Assignment 'param=mmap(0,totalsize,PROT_READ|PROT_WRITE,MAP_SHARED,shmem,0)', assigned value is 0 rt-tests-2.10/src/sigwaittest/sigwaittest.c:539:17: note: Assuming condition is false rt-tests-2.10/src/sigwaittest/sigwaittest.c:536:12: note: receiver is assigned '(struct params*)param' here. rt-tests-2.10/src/sigwaittest/sigwaittest.c:539:17: note: Assuming condition is false rt-tests-2.10/src/sigwaittest/sigwaittest.c:545:21: note: Null pointer addition rt-tests-2.10/src/svsematest/svsematest.c:592:22: warning: If memory allocation fails, then there is a possible null pointer dereference: receiver [nullPointerOutOfMemory] rt-tests-2.10/src/svsematest/svsematest.c:583:15: note: Assuming allocation function fails rt-tests-2.10/src/svsematest/svsematest.c:583:15: note: Assignment 'param=mmap(0,totalsize,PROT_READ|PROT_WRITE,MAP_SHARED,shmem,0)', assigned value is 0 rt-tests-2.10/src/svsematest/svsematest.c:591:12: note: receiver is assigned '(struct params*)param' here. rt-tests-2.10/src/svsematest/svsematest.c:592:22: note: Null pointer dereference rt-tests-2.10/src/svsematest/svsematest.c:600:23: warning: If memory allocation fails, then there is a possible null pointer dereference: receiver [nullPointerOutOfMemory] rt-tests-2.10/src/svsematest/svsematest.c:583:15: note: Assuming allocation function fails rt-tests-2.10/src/svsematest/svsematest.c:583:15: note: Assignment 'param=mmap(0,totalsize,PROT_READ|PROT_WRITE,MAP_SHARED,shmem,0)', assigned value is 0 rt-tests-2.10/src/svsematest/svsematest.c:594:17: note: Assuming condition is false rt-tests-2.10/src/svsematest/svsematest.c:591:12: note: receiver is assigned '(struct params*)param' here. rt-tests-2.10/src/svsematest/svsematest.c:594:17: note: Assuming condition is false rt-tests-2.10/src/svsematest/svsematest.c:600:23: note: Null pointer dereference rt-tests-2.10/src/svsematest/svsematest.c:566:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] rt-tests-2.10/src/svsematest/svsematest.c:557:15: note: Assuming allocation function fails rt-tests-2.10/src/svsematest/svsematest.c:557:15: note: Assignment 'param=mmap(0,totalsize,PROT_READ|PROT_WRITE,MAP_SHARED,shmem,0)', assigned value is 0 rt-tests-2.10/src/svsematest/svsematest.c:565:12: note: receiver is assigned '(struct params*)param' here. rt-tests-2.10/src/svsematest/svsematest.c:566:21: note: Null pointer addition rt-tests-2.10/src/svsematest/svsematest.c:600:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] rt-tests-2.10/src/svsematest/svsematest.c:583:15: note: Assuming allocation function fails rt-tests-2.10/src/svsematest/svsematest.c:583:15: note: Assignment 'param=mmap(0,totalsize,PROT_READ|PROT_WRITE,MAP_SHARED,shmem,0)', assigned value is 0 rt-tests-2.10/src/svsematest/svsematest.c:594:17: note: Assuming condition is false rt-tests-2.10/src/svsematest/svsematest.c:591:12: note: receiver is assigned '(struct params*)param' here. rt-tests-2.10/src/svsematest/svsematest.c:594:17: note: Assuming condition is false rt-tests-2.10/src/svsematest/svsematest.c:600:21: note: Null pointer addition rt-tests-2.10/src/sigwaittest/sigwaittest.c:383:27: style: Argument 'quiet' shadows outer variable [shadowVariable] rt-tests-2.10/src/sigwaittest/sigwaittest.c:234:12: note: Shadowed variable rt-tests-2.10/src/sigwaittest/sigwaittest.c:383:27: note: Shadow argument rt-tests-2.10/src/sigwaittest/sigwaittest.c:514:14: style: Local variable 'totalsize' shadows outer variable [shadowVariable] rt-tests-2.10/src/sigwaittest/sigwaittest.c:456:9: note: Shadowed variable rt-tests-2.10/src/sigwaittest/sigwaittest.c:514:14: note: Shadow local variable rt-tests-2.10/src/sigwaittest/sigwaittest.c:243:45: style: Parameter 'argv' can be declared as const array [constParameter] rt-tests-2.10/src/sigwaittest/sigwaittest.c:252:24: style: Variable 'long_options' can be declared as const array [constVariable] rt-tests-2.10/src/sigwaittest/sigwaittest.c:427:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/sigwaittest/sigwaittest.c:427:21: style: Variable 'r' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/svsematest/svsematest.c:464:27: style: Argument 'quiet' shadows outer variable [shadowVariable] rt-tests-2.10/src/svsematest/svsematest.c:263:12: note: Shadowed variable rt-tests-2.10/src/svsematest/svsematest.c:464:27: note: Shadow argument rt-tests-2.10/src/svsematest/svsematest.c:569:14: style: Local variable 'totalsize' shadows outer variable [shadowVariable] rt-tests-2.10/src/svsematest/svsematest.c:505:9: note: Shadowed variable rt-tests-2.10/src/svsematest/svsematest.c:569:14: note: Shadow local variable rt-tests-2.10/src/svsematest/svsematest.c:690:11: style: Local variable 'args' shadows outer variable [shadowVariable] rt-tests-2.10/src/svsematest/svsematest.c:509:14: note: Shadowed variable rt-tests-2.10/src/svsematest/svsematest.c:690:11: note: Shadow local variable rt-tests-2.10/src/sigwaittest/sigwaittest.c:114:11: style: Variable 'first' is assigned a value that is never used. [unreadVariable] rt-tests-2.10/src/svsematest/svsematest.c:718:11: style: Local variable 'args' shadows outer variable [shadowVariable] rt-tests-2.10/src/svsematest/svsematest.c:509:14: note: Shadowed variable rt-tests-2.10/src/svsematest/svsematest.c:718:11: note: Shadow local variable rt-tests-2.10/src/sigwaittest/sigwaittest.c:140:11: style: Variable 'first' is assigned a value that is never used. [unreadVariable] rt-tests-2.10/src/svsematest/svsematest.c:272:45: style: Parameter 'argv' can be declared as const array [constParameter] rt-tests-2.10/src/svsematest/svsematest.c:281:24: style: Variable 'long_options' can be declared as const array [constVariable] rt-tests-2.10/src/svsematest/svsematest.c:436:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/svsematest/svsematest.c:436:21: style: Variable 'r' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/svsematest/svsematest.c:463:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/svsematest/svsematest.c:218:19: style: union member 'semun::buf' is never used. [unusedStructMember] rt-tests-2.10/src/svsematest/svsematest.c:219:19: style: union member 'semun::array' is never used. [unusedStructMember] rt-tests-2.10/src/svsematest/svsematest.c:220:19: style: union member 'semun::__buf' is never used. [unusedStructMember] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:171:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:167:6: note: If condition 'ret' is true, the function will return/exit rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:171:9: note: Returning identical expression 'ret' rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1003:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1007:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:389:14: warning:inconclusive: Either the condition 'fd<0' is redundant or write() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:387:9: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:389:14: note: Invalid argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:390:8: warning:inconclusive: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:387:9: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:390:8: note: Invalid argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:398:15: warning:inconclusive: Either the condition 'fd<0' is redundant or write() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:396:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:398:15: note: Invalid argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:399:9: warning:inconclusive: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:396:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:399:9: note: Invalid argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:408:15: warning:inconclusive: Either the condition 'fd<0' is redundant or write() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:406:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:408:15: note: Invalid argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:409:9: warning:inconclusive: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:406:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:409:9: note: Invalid argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:431:15: warning:inconclusive: Either the condition 'fd<0' is redundant or write() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:429:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:431:15: note: Invalid argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:432:9: warning:inconclusive: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:429:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:432:9: note: Invalid argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:648:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:652:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:658:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:694:2: portability: %ld in format string (no. 3) requires 'long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1029:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1033:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1039:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:825:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *cpu_list [nullPointerOutOfMemory] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:824:21: note: Assuming allocation function fails rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:824:21: note: Assignment '*cpu_list=malloc(sizeof(struct cpu_list))', assigned value is 0 rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:825:4: note: Null pointer dereference rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:855:2: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:854:15: note: Assuming allocation function fails rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:854:15: note: Assignment 'list=malloc(sizeof(struct cpu_list))', assigned value is 0 rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:855:2: note: Null pointer dereference rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:856:2: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:854:15: note: Assuming allocation function fails rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:854:15: note: Assignment 'list=malloc(sizeof(struct cpu_list))', assigned value is 0 rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:856:2: note: Null pointer dereference rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:857:2: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:854:15: note: Assuming allocation function fails rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:854:15: note: Assignment 'list=malloc(sizeof(struct cpu_list))', assigned value is 0 rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:857:2: note: Null pointer dereference rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1289:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pids [nullPointerOutOfMemory] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1284:16: note: Assuming allocation function fails rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1284:16: note: Assignment 'pids=calloc(nr_threads+1,sizeof(int))', assigned value is 0 rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1289:4: note: Null pointer dereference rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:341:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:335:6: note: ret is assigned rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:341:6: note: ret is overwritten rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:681:72: style: Argument 'quiet' shadows outer variable [shadowVariable] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:93:12: note: Shadowed variable rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:681:72: note: Shadow argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:996:53: style: Argument 'nr_threads' shadows outer variable [shadowVariable] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:91:12: note: Shadowed variable rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:996:53: note: Shadow argument rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:139:36: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:684:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:899:44: style: Parameter 'cpu_list' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:901:8: style: Variable 'comma' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:988:43: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:1083:24: style: Variable 'options' can be declared as const array [constVariable] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:60:8: style: struct member 'thread_stat::values' is never used. [unusedStructMember] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:63:6: style: struct member 'thread_stat::threadstarted' is never used. [unusedStructMember] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:65:7: style: struct member 'thread_stat::reduce' is never used. [unusedStructMember] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:72:6: style: struct member 'sched_data::bufmsk' is never used. [unusedStructMember] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:664:15: style: Variable 'alloverflows' is assigned a value that is never used. [unreadVariable] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:667:16: style: Variable 'alloverflows' is assigned a value that is never used. [unreadVariable] rt-tests-2.10/src/sched_deadline/deadline_test.c:413:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit] rt-tests-2.10/src/sched_deadline/deadline_test.c:408:6: note: If condition 'ret' is true, the function will return/exit rt-tests-2.10/src/sched_deadline/deadline_test.c:413:9: note: Returning identical expression 'ret' rt-tests-2.10/src/sched_deadline/deadline_test.c:1355:2: portability: %lld in format string (no. 2) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1355:2: portability: %lld in format string (no. 3) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1355:2: portability: %lld in format string (no. 4) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1757:2: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1757:2: portability: %lld in format string (no. 2) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1757:2: portability: %lld in format string (no. 3) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1757:2: portability: %lld in format string (no. 4) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1783:2: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1783:2: portability: %lld in format string (no. 2) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1783:2: portability: %lld in format string (no. 3) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1783:2: portability: %lld in format string (no. 4) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1783:2: portability: %lld in format string (no. 5) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1946:2: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1946:2: portability: %lld in format string (no. 2) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1958:4: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1960:4: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1993:4: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1996:4: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2000:3: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2000:3: portability: %lld in format string (no. 2) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2104:3: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2106:4: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2106:4: portability: %lld in format string (no. 2) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2109:3: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2110:3: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2111:3: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2112:3: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2113:3: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2114:3: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:2117:3: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'u64 {aka unsigned long long}'. [invalidPrintfArgType_sint] rt-tests-2.10/src/sched_deadline/deadline_test.c:1471:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *cpu_list [nullPointerOutOfMemory] rt-tests-2.10/src/sched_deadline/deadline_test.c:1470:21: note: Assuming allocation function fails rt-tests-2.10/src/sched_deadline/deadline_test.c:1470:21: note: Assignment '*cpu_list=malloc(sizeof(struct cpu_list))', assigned value is 0 rt-tests-2.10/src/sched_deadline/deadline_test.c:1471:4: note: Null pointer dereference rt-tests-2.10/src/sched_deadline/deadline_test.c:1501:2: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] rt-tests-2.10/src/sched_deadline/deadline_test.c:1500:15: note: Assuming allocation function fails rt-tests-2.10/src/sched_deadline/deadline_test.c:1500:15: note: Assignment 'list=malloc(sizeof(struct cpu_list))', assigned value is 0 rt-tests-2.10/src/sched_deadline/deadline_test.c:1501:2: note: Null pointer dereference rt-tests-2.10/src/sched_deadline/deadline_test.c:1502:2: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] rt-tests-2.10/src/sched_deadline/deadline_test.c:1500:15: note: Assuming allocation function fails rt-tests-2.10/src/sched_deadline/deadline_test.c:1500:15: note: Assignment 'list=malloc(sizeof(struct cpu_list))', assigned value is 0 rt-tests-2.10/src/sched_deadline/deadline_test.c:1502:2: note: Null pointer dereference rt-tests-2.10/src/sched_deadline/deadline_test.c:1503:2: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] rt-tests-2.10/src/sched_deadline/deadline_test.c:1500:15: note: Assuming allocation function fails rt-tests-2.10/src/sched_deadline/deadline_test.c:1500:15: note: Assignment 'list=malloc(sizeof(struct cpu_list))', assigned value is 0 rt-tests-2.10/src/sched_deadline/deadline_test.c:1503:2: note: Null pointer dereference rt-tests-2.10/src/sched_deadline/deadline_test.c:631:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] rt-tests-2.10/src/sched_deadline/deadline_test.c:625:6: note: ret is assigned rt-tests-2.10/src/sched_deadline/deadline_test.c:631:6: note: ret is overwritten rt-tests-2.10/src/sched_deadline/deadline_test.c:1523:6: style: Local variable 'fail' shadows outer variable [shadowVariable] rt-tests-2.10/src/sched_deadline/deadline_test.c:1026:12: note: Shadowed variable rt-tests-2.10/src/sched_deadline/deadline_test.c:1523:6: note: Shadow local variable rt-tests-2.10/src/sched_deadline/deadline_test.c:247:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/sched_deadline/deadline_test.c:377:36: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/sched_deadline/deadline_test.c:1578:44: style: Parameter 'cpu_list' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/sched_deadline/deadline_test.c:1580:8: style: Variable 'comma' can be declared as pointer to const [constVariablePointer] rt-tests-2.10/src/sched_deadline/deadline_test.c:1685:43: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] rt-tests-2.10/src/sched_deadline/deadline_test.c:156:7: style: struct member 'sched_data::padding' is never used. [unusedStructMember] diff: head rt-tests-2.10/src/cyclictest/cyclictest.c:2272:8: style: Condition '!shutdown' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:2265:7: note: Assuming that condition 'shutdown' is not redundant rt-tests-2.10/src/cyclictest/cyclictest.c:2270:7: note: Assuming condition is true rt-tests-2.10/src/cyclictest/cyclictest.c:2272:8: note: Condition '!shutdown' is always true 2.21.0 rt-tests-2.10/src/cyclictest/cyclictest.c:2272:8: style: Condition '!shutdown' is always true [knownConditionTrueFalse] rt-tests-2.10/src/cyclictest/cyclictest.c:2265:7: note: Assuming that condition 'shutdown' is not redundant rt-tests-2.10/src/cyclictest/cyclictest.c:2272:8: note: Condition '!shutdown' is always true head rt-tests-2.10/src/lib/rt-numa.c:62:17: warning:inconclusive: Either the condition 'num_cpus==0' is redundant or there is division by zero at line 62. [zerodivcond] rt-tests-2.10/src/lib/rt-numa.c:59:15: note: Assuming that condition 'num_cpus==0' is not redundant rt-tests-2.10/src/lib/rt-numa.c:62:17: note: Division by zero head rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:389:14: warning:inconclusive: Either the condition 'fd<0' is redundant or write() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:387:9: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:389:14: note: Invalid argument head rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:390:8: warning:inconclusive: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:387:9: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:390:8: note: Invalid argument head rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:398:15: warning:inconclusive: Either the condition 'fd<0' is redundant or write() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:396:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:398:15: note: Invalid argument head rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:399:9: warning:inconclusive: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:396:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:399:9: note: Invalid argument head rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:408:15: warning:inconclusive: Either the condition 'fd<0' is redundant or write() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:406:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:408:15: note: Invalid argument head rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:409:9: warning:inconclusive: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:406:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:409:9: note: Invalid argument head rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:431:15: warning:inconclusive: Either the condition 'fd<0' is redundant or write() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:429:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:431:15: note: Invalid argument head rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:432:9: warning:inconclusive: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:429:10: note: Assuming that condition 'fd<0' is not redundant rt-tests-2.10/src/sched_deadline/cyclicdeadline.c:432:9: note: Invalid argument head rt-tests-2.10/src/sigwaittest/sigwaittest.c:110:8: style: Condition 'first' is always true [knownConditionTrueFalse] rt-tests-2.10/src/sigwaittest/sigwaittest.c:101:15: note: Assignment 'first=1', assigned value is 1 rt-tests-2.10/src/sigwaittest/sigwaittest.c:105:10: note: Assuming condition is true rt-tests-2.10/src/sigwaittest/sigwaittest.c:110:8: note: Condition 'first' is always true 2.21.0 rt-tests-2.10/src/sigwaittest/sigwaittest.c:110:8: style: Condition 'first' is always true [knownConditionTrueFalse] rt-tests-2.10/src/sigwaittest/sigwaittest.c:101:15: note: Assignment 'first=1', assigned value is 1 rt-tests-2.10/src/sigwaittest/sigwaittest.c:110:8: note: Condition 'first' is always true head rt-tests-2.10/src/sigwaittest/sigwaittest.c:136:8: style: Condition 'first' is always true [knownConditionTrueFalse] rt-tests-2.10/src/sigwaittest/sigwaittest.c:101:15: note: Assignment 'first=1', assigned value is 1 rt-tests-2.10/src/sigwaittest/sigwaittest.c:105:10: note: Assuming condition is false rt-tests-2.10/src/sigwaittest/sigwaittest.c:136:8: note: Condition 'first' is always true 2.21.0 rt-tests-2.10/src/sigwaittest/sigwaittest.c:136:8: style: Condition 'first' is always true [knownConditionTrueFalse] rt-tests-2.10/src/sigwaittest/sigwaittest.c:101:15: note: Assignment 'first=1', assigned value is 1 rt-tests-2.10/src/sigwaittest/sigwaittest.c:136:8: note: Condition 'first' is always true DONE