2026-05-01 13:21 ftp://ftp.de.debian.org/debian/pool/main/c/cpufrequtils/cpufrequtils_008.orig.tar.bz2 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 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 150 150 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: cpufrequtils-008/bench/benchmark.c:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/benchmark.c:140:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cpufrequtils-008/bench/benchmark.c:161:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cpufrequtils-008/bench/benchmark.c:126:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cpufrequtils-008/bench/benchmark.c:45:60: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/bench/benchmark.c:50:22: style: Variable 'rounds' is assigned a value that is never used. [unreadVariable] cpufrequtils-008/bench/benchmark.c:97:24: style: Variable 'performance_time' is assigned a value that is never used. [unreadVariable] cpufrequtils-008/bench/benchmark.c:97:44: style: Variable 'powersave_time' is assigned a value that is never used. [unreadVariable] cpufrequtils-008/bench/main.c:99:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/parse.c:46:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_HIGH [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/parse.c:76:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/parse.c:134:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_HIGH [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/parse.c:163:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/parse.c:179:3: warning: %a in format string (no. 1) requires 'float *' but the argument type is 'char *'. [invalidScanfArgType_float] cpufrequtils-008/bench/parse.c:179:3: warning: %a in format string (no. 2) requires 'float *' but the argument type is 'char *'. [invalidScanfArgType_float] cpufrequtils-008/bench/parse.c:91:4: error: Resource leak: dir [resourceLeak] cpufrequtils-008/bench/parse.c:164:3: error: Resource leak: configfile [resourceLeak] cpufrequtils-008/bench/parse.c:87:3: error: Common realloc mistake: 'filename' nulled but not freed upon failure [memleakOnRealloc] cpufrequtils-008/bench/parse.c:110:10: warning: Either the condition '(output=fopen(filename,"w+"))==NULL' is redundant or there is possible null pointer dereference: output. [nullPointerRedundantCheck] cpufrequtils-008/bench/parse.c:102:39: note: Assuming that condition '(output=fopen(filename,"w+"))==NULL' is not redundant cpufrequtils-008/bench/parse.c:110:10: note: Null pointer dereference cpufrequtils-008/bench/parse.c:127:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:127:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:128:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:128:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:129:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:129:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:130:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:130:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:131:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:131:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:132:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:132:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:133:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:133:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:134:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:134:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:135:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:135:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:136:10: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:136:10: note: Null pointer dereference cpufrequtils-008/bench/parse.c:138:2: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] cpufrequtils-008/bench/parse.c:123:32: note: Assuming allocation function fails cpufrequtils-008/bench/parse.c:123:32: note: Assignment 'config=malloc(sizeof(struct config))', assigned value is 0 cpufrequtils-008/bench/parse.c:138:2: note: Null pointer dereference cpufrequtils-008/bench/parse.c:64:34: style:inconclusive: Function 'prepare_output' argument 1 names different: declaration 'dir' definition 'dirname'. [funcArgNamesDifferent] cpufrequtils-008/bench/parse.h:46:34: note: Function 'prepare_output' argument 1 names different: declaration 'dir' definition 'dirname'. cpufrequtils-008/bench/parse.c:64:34: note: Function 'prepare_output' argument 1 names different: declaration 'dir' definition 'dirname'. cpufrequtils-008/bench/parse.c:70:7: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] cpufrequtils-008/bench/parse.c:220:7: warning: Uninitialized variable: opt [uninitvar] cpufrequtils-008/bench/parse.c:174:42: note: Assuming condition is false cpufrequtils-008/bench/parse.c:220:7: note: Uninitialized variable: opt cpufrequtils-008/bench/parse.c:221:7: warning: Uninitialized variable: val [uninitvar] cpufrequtils-008/bench/parse.c:174:42: note: Assuming condition is false cpufrequtils-008/bench/parse.c:221:7: note: Uninitialized variable: val cpufrequtils-008/bench/system.c:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/system.c:96:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/system.c:122:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/system.c:149:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cpufrequtils-008/bench/system.c:173:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] cpufrequtils-008/build/ccdv.c:101:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpufrequtils-008/build/ccdv.c:123:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cpufrequtils-008/build/ccdv.c:205:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cpufrequtils-008/build/ccdv.c:261:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cpufrequtils-008/build/ccdv.c:331:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cpufrequtils-008/build/ccdv.c:250:5: style: Redundant initialization for 'cp'. The initialized value is overwritten before it is read. [redundantInitialization] cpufrequtils-008/build/ccdv.c:249:17: note: cp is initialized cpufrequtils-008/build/ccdv.c:250:5: note: cp is overwritten cpufrequtils-008/build/ccdv.c:82:68: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/build/ccdv.c:82:88: style: Parameter 't0' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/debug/i386/centrino-decode.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cpufrequtils-008/debug/i386/centrino-decode.c:42:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cpufrequtils-008/debug/i386/centrino-decode.c:73:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cpufrequtils-008/debug/i386/centrino-decode.c:73:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cpufrequtils-008/debug/i386/centrino-decode.c:84:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cpufrequtils-008/debug/i386/dump_psb.c:178:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cpufrequtils-008/debug/i386/dump_psb.c:93:2: warning: %hhu in format string (no. 3) requires 'unsigned char' but the argument type is 'unsigned short'. [invalidPrintfArgType_uint] cpufrequtils-008/debug/i386/dump_psb.c:194:9: warning: If memory allocation fails, then there is a possible null pointer dereference: mem [nullPointerOutOfMemory] cpufrequtils-008/debug/i386/dump_psb.c:184:12: note: Assuming allocation function fails cpufrequtils-008/debug/i386/dump_psb.c:184:12: note: Assignment 'mem=mmap(mem,0x100000-0xc0000,PROT_READ,MAP_SHARED,fd,0xc0000)', assigned value is 0 cpufrequtils-008/debug/i386/dump_psb.c:188:35: note: Assuming condition is false cpufrequtils-008/debug/i386/dump_psb.c:194:9: note: Null pointer dereference cpufrequtils-008/debug/i386/dump_psb.c:61:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/debug/i386/dump_psb.c:86:21: style: Variable 'pst' can be declared as pointer to const [constVariablePointer] cpufrequtils-008/debug/i386/dump_psb.c:149:22: style: Parameter 'argv' can be declared as const array [constParameter] cpufrequtils-008/debug/i386/dump_psb.c:153:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] cpufrequtils-008/debug/i386/powernow-k8-decode.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cpufrequtils-008/debug/i386/powernow-k8-decode.c:38:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cpufrequtils-008/debug/i386/powernow-k8-decode.c:90:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cpufrequtils-008/debug/i386/powernow-k8-decode.c:90:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cpufrequtils-008/debug/i386/powernow-k8-decode.c:69:27: style: Parameter 'argv' can be declared as const array [constParameter] cpufrequtils-008/debug/kernel/cpufreq-test_tsc.c:107:1: error: There is an unknown macro here somewhere. Configuration is required. If module_init is a macro then please configure it. [unknownMacro] cpufrequtils-008/lib/interfaces.h:24:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:28:114: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:37:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:38:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:39:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:40:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:41:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:55:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:58:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:59:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:66:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:67:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:73:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:74:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/interfaces.h:75:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/cpufreq.c:19:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/cpufreq.c:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/cpufreq.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/cpufreq.c:213:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/cpufreq.c:27:6: style: Condition '!ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:26:43: note: Calling function 'sysfs_get_freq_kernel' returns 0 cpufrequtils-008/lib/cpufreq.c:26:43: note: Assignment 'ret=sysfs_get_freq_kernel(cpu)', assigned value is 0 cpufrequtils-008/lib/cpufreq.c:27:6: note: Condition '!ret' is always true cpufrequtils-008/lib/cpufreq.c:35:6: style: Condition '!ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:34:45: note: Calling function 'sysfs_get_freq_hardware' returns 0 cpufrequtils-008/lib/cpufreq.c:34:45: note: Assignment 'ret=sysfs_get_freq_hardware(cpu)', assigned value is 0 cpufrequtils-008/lib/cpufreq.c:35:6: note: Condition '!ret' is always true cpufrequtils-008/lib/cpufreq.c:43:6: style: Condition '!ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:42:50: note: Calling function 'sysfs_get_transition_latency' returns 0 cpufrequtils-008/lib/cpufreq.c:42:50: note: Assignment 'ret=sysfs_get_transition_latency(cpu)', assigned value is 0 cpufrequtils-008/lib/cpufreq.c:43:6: note: Condition '!ret' is always true cpufrequtils-008/lib/cpufreq.c:56:6: style: Condition 'ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:64:6: style: Condition '!ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:63:24: note: Calling function 'sysfs_get_driver' returns 0 cpufrequtils-008/lib/cpufreq.c:63:24: note: Assignment 'ret=sysfs_get_driver(cpu)', assigned value is 0 cpufrequtils-008/lib/cpufreq.c:64:6: note: Condition '!ret' is always true cpufrequtils-008/lib/cpufreq.c:79:6: style: Condition '!ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:78:24: note: Calling function 'sysfs_get_policy' returns 0 cpufrequtils-008/lib/cpufreq.c:78:24: note: Assignment 'ret=sysfs_get_policy(cpu)', assigned value is 0 cpufrequtils-008/lib/cpufreq.c:79:6: note: Condition '!ret' is always true cpufrequtils-008/lib/cpufreq.c:96:6: style: Condition '!ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:95:37: note: Calling function 'sysfs_get_available_governors' returns 0 cpufrequtils-008/lib/cpufreq.c:95:37: note: Assignment 'ret=sysfs_get_available_governors(cpu)', assigned value is 0 cpufrequtils-008/lib/cpufreq.c:96:6: note: Condition '!ret' is always true cpufrequtils-008/lib/cpufreq.c:121:6: style: Condition '!ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:120:39: note: Calling function 'sysfs_get_available_frequencies' returns 0 cpufrequtils-008/lib/cpufreq.c:120:39: note: Assignment 'ret=sysfs_get_available_frequencies(cpu)', assigned value is 0 cpufrequtils-008/lib/cpufreq.c:121:6: note: Condition '!ret' is always true cpufrequtils-008/lib/cpufreq.c:144:6: style: Condition '!ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:143:31: note: Calling function 'sysfs_get_affected_cpus' returns 0 cpufrequtils-008/lib/cpufreq.c:143:31: note: Assignment 'ret=sysfs_get_affected_cpus(cpu)', assigned value is 0 cpufrequtils-008/lib/cpufreq.c:144:6: note: Condition '!ret' is always true cpufrequtils-008/lib/cpufreq.c:183:6: style: Condition 'ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:193:6: style: Condition 'ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:203:6: style: Condition 'ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:216:6: style: Condition 'ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:225:6: style: Condition 'ret' is always true [knownConditionTrueFalse] cpufrequtils-008/lib/cpufreq.c:101:74: style:inconclusive: Function 'cpufreq_put_available_governors' argument 1 names different: declaration 'first' definition 'any'. [funcArgNamesDifferent] cpufrequtils-008/lib/cpufreq.h:134:81: note: Function 'cpufreq_put_available_governors' argument 1 names different: declaration 'first' definition 'any'. cpufrequtils-008/lib/cpufreq.c:101:74: note: Function 'cpufreq_put_available_governors' argument 1 names different: declaration 'first' definition 'any'. cpufrequtils-008/lib/cpufreq.c:126:78: style:inconclusive: Function 'cpufreq_put_available_frequencies' argument 1 names different: declaration 'first' definition 'any'. [funcArgNamesDifferent] cpufrequtils-008/lib/cpufreq.h:146:85: note: Function 'cpufreq_put_available_frequencies' argument 1 names different: declaration 'first' definition 'any'. cpufrequtils-008/lib/cpufreq.c:126:78: note: Function 'cpufreq_put_available_frequencies' argument 1 names different: declaration 'first' definition 'any'. cpufrequtils-008/lib/cpufreq.c:149:62: style:inconclusive: Function 'cpufreq_put_affected_cpus' argument 1 names different: declaration 'first' definition 'any'. [funcArgNamesDifferent] cpufrequtils-008/lib/cpufreq.h:157:69: note: Function 'cpufreq_put_affected_cpus' argument 1 names different: declaration 'first' definition 'any'. cpufrequtils-008/lib/cpufreq.c:149:62: note: Function 'cpufreq_put_affected_cpus' argument 1 names different: declaration 'first' definition 'any'. cpufrequtils-008/lib/cpufreq.c:172:61: style:inconclusive: Function 'cpufreq_put_related_cpus' argument 1 names different: declaration 'first' definition 'any'. [funcArgNamesDifferent] cpufrequtils-008/lib/cpufreq.h:168:68: note: Function 'cpufreq_put_related_cpus' argument 1 names different: declaration 'first' definition 'any'. cpufrequtils-008/lib/cpufreq.c:172:61: note: Function 'cpufreq_put_related_cpus' argument 1 names different: declaration 'first' definition 'any'. cpufrequtils-008/lib/cpufreq.c:237:46: style:inconclusive: Function 'cpufreq_put_stats' argument 1 names different: declaration 'stats' definition 'any'. [funcArgNamesDifferent] cpufrequtils-008/lib/cpufreq.h:178:53: note: Function 'cpufreq_put_stats' argument 1 names different: declaration 'stats' definition 'any'. cpufrequtils-008/lib/cpufreq.c:237:46: note: Function 'cpufreq_put_stats' argument 1 names different: declaration 'stats' definition 'any'. cpufrequtils-008/lib/interfaces.h:28:78: style: Parameter 'min' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/interfaces.h:28:98: style: Parameter 'max' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/interfaces.h:35:92: style: Parameter 'total_time' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/interfaces.h:37:77: style: Parameter 'policy' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/interfaces.h:40:72: style: Parameter 'governor' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/interfaces.h:58:76: style: Parameter 'policy' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/interfaces.h:67:77: style: Parameter 'min' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/interfaces.h:67:97: style: Parameter 'max' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/interfaces.h:75:71: style: Parameter 'governor' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/proc.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/proc.c:101:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/proc.c:159:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/proc.c:190:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/proc.c:54:9: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] cpufrequtils-008/lib/proc.c:54:9: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] cpufrequtils-008/lib/proc.c:54:9: warning: %d in format string (no. 5) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] cpufrequtils-008/lib/proc.c:164:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cpufrequtils-008/lib/proc.c:54:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] cpufrequtils-008/lib/proc.c:171:6: style: Redundant initialization for 'ret'. The initialized value is overwritten before it is read. [redundantInitialization] cpufrequtils-008/lib/proc.c:159:10: note: ret is initialized cpufrequtils-008/lib/proc.c:171:6: note: ret is overwritten cpufrequtils-008/lib/proc.c:156:62: style: Parameter 'policy' can be declared as pointer to const [constParameterPointer] cpufrequtils-008/lib/sysfs.c:35:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:62:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:120:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:187:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:201:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:227:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:512:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:547:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:585:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:625:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] cpufrequtils-008/lib/sysfs.c:397:10: style: Condition 'i==len' is always false [knownConditionTrueFalse] cpufrequtils-008/lib/sysfs.c:395:17: note: Assuming that condition 'i