2026-07-27 20:11 ftp://ftp.de.debian.org/debian/pool/main/i/iw/iw_6.17.orig.tar.xz 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-111-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: 422e90c (2026-07-27 08:53:51 +0200) count: 334 333 elapsed-time: 2.4 1.1 head-timing-info: old-timing-info: head results: iw-6.17/event.c:260:5: error: There is an unknown macro here somewhere. Configuration is required. If nla_for_each_nested is a macro then please configure it. [unknownMacro] iw-6.17/info.c:646:3: error: There is an unknown macro here somewhere. Configuration is required. If nla_for_each_nested is a macro then please configure it. [unknownMacro] iw-6.17/ap.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/cqm.c:19:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] iw-6.17/ibss.c:120:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] iw-6.17/genl.c:20:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_STOP [valueFlowBailoutIncompleteVar] iw-6.17/genl.c:27:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_STOP [valueFlowBailoutIncompleteVar] iw-6.17/genl.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_ATTR_MAX [valueFlowBailoutIncompleteVar] iw-6.17/genl.c:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] iw-6.17/mpp.c:35:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.17/mpp.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/hwsim.c:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.17/hwsim.c:60:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/hwsim.c:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/hwsim.c:115:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/hwsim.c:137:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/keys.c:21:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/keys.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/cqm.c:44:6: style: Redundant initialization for 'ret'. The initialized value is overwritten before it is read. [redundantInitialization] iw-6.17/cqm.c:19:10: note: ret is initialized iw-6.17/cqm.c:44:6: note: ret is overwritten iw-6.17/connect.c:100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/connect.c:150:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] iw-6.17/connect.c:262:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] iw-6.17/cqm.c:46:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/sar.c:24:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/mgmt.c:17:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_OK [valueFlowBailoutIncompleteVar] iw-6.17/mgmt.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/mgmt.c:105:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] iw-6.17/mpp.c:53:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/ftm.c:21:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/ftm.c:107:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/offch.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] iw-6.17/p2p.c:12:51: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_p2p_start' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/p2p.c:18:1: note: You might need to cast the function pointer here iw-6.17/p2p.c:12:51: note: Parameter 'state' can be declared as pointer to const iw-6.17/p2p.c:13:23: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_p2p_start' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/p2p.c:18:1: note: You might need to cast the function pointer here iw-6.17/p2p.c:13:23: note: Parameter 'msg' can be declared as pointer to const iw-6.17/p2p.c:20:50: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_p2p_stop' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/p2p.c:26:1: note: You might need to cast the function pointer here iw-6.17/p2p.c:20:50: note: Parameter 'state' can be declared as pointer to const iw-6.17/p2p.c:21:22: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_p2p_stop' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/p2p.c:26:1: note: You might need to cast the function pointer here iw-6.17/p2p.c:21:22: note: Parameter 'msg' can be declared as pointer to const iw-6.17/mpp.c:63:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/keys.c:66:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/keys.c:67:4: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] iw-6.17/roc.c:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/genl.c:96:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] iw-6.17/genl.c:93:6: note: ret is assigned iw-6.17/genl.c:96:6: note: ret is overwritten iw-6.17/ps.c:35:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/ps.c:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.17/genl.c:111:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/mpp.c:53:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/genl.c:15:68: style: Parameter 'err' can be declared as pointer to const. However it seems that 'error_handler' is a callback function, if 'err' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/genl.c:102:30: note: You might need to cast the function pointer here iw-6.17/genl.c:15:68: note: Parameter 'err' can be declared as pointer to const iw-6.17/keys.c:78:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/ap.c:144:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/ap.c:156:49: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_stop_ap' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/ap.c:163:1: note: You might need to cast the function pointer here iw-6.17/ap.c:156:49: note: Parameter 'state' can be declared as pointer to const iw-6.17/ap.c:157:21: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_stop_ap' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/ap.c:163:1: note: You might need to cast the function pointer here iw-6.17/ap.c:157:21: note: Parameter 'msg' can be declared as pointer to const iw-6.17/offch.c:34:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/offch.c:41:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/keys.c:66:8: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/ocb.c:34:44: style: Parameter 'state' can be declared as pointer to const. However it seems that 'leave_ocb' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/ocb.c:43:1: note: You might need to cast the function pointer here iw-6.17/ocb.c:34:44: note: Parameter 'state' can be declared as pointer to const iw-6.17/ocb.c:35:23: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'leave_ocb' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/ocb.c:43:1: note: You might need to cast the function pointer here iw-6.17/ocb.c:35:23: note: Parameter 'msg' can be declared as pointer to const iw-6.17/keys.c:67:8: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] iw-6.17/sar.c:20:8: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] iw-6.17/offch.c:34:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/roc.c:36:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/ps.c:34:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/survey.c:22:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/measurements.c:15:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] iw-6.17/measurements.c:52:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/measurements.c:234:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iw-6.17/measurements.c:323:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/mgmt.c:78:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/vendor.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/vendor.c:47:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iw-6.17/vendor.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/vendor.c:101:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iw-6.17/mgmt.c:15:39: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'seq_handler' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/mgmt.c:154:52: note: You might need to cast the function pointer here iw-6.17/mgmt.c:15:39: note: Parameter 'msg' can be declared as pointer to const iw-6.17/mgmt.c:15:50: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'seq_handler' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/mgmt.c:154:52: note: You might need to cast the function pointer here iw-6.17/mgmt.c:15:50: note: Parameter 'arg' can be declared as pointer to const iw-6.17/mgmt.c:41:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] iw-6.17/coalesce.c:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/coalesce.c:209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.17/mpath.c:34:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/mpath.c:114:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/mpath.c:151:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/mpath.c:187:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/ibss.c:119:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/ibss.c:20:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] iw-6.17/ibss.c:123:45: style: Parameter 'state' can be declared as pointer to const. However it seems that 'leave_ibss' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/ibss.c:130:1: note: You might need to cast the function pointer here iw-6.17/ibss.c:123:45: note: Parameter 'state' can be declared as pointer to const iw-6.17/ibss.c:124:24: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'leave_ibss' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/ibss.c:130:1: note: You might need to cast the function pointer here iw-6.17/ibss.c:124:24: note: Parameter 'msg' can be declared as pointer to const iw-6.17/connect.c:104:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/connect.c:261:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/connect.c:108:45: style: Parameter 'state' can be declared as pointer to const. However it seems that 'disconnect' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/connect.c:115:1: note: You might need to cast the function pointer here iw-6.17/connect.c:108:45: note: Parameter 'state' can be declared as pointer to const iw-6.17/connect.c:109:24: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'disconnect' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/connect.c:115:1: note: You might need to cast the function pointer here iw-6.17/connect.c:109:24: note: Parameter 'msg' can be declared as pointer to const iw-6.17/nan.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/nan.c:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/nan.c:89:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/nan.c:125:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/nan.c:169:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/nan.c:199:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/nan.c:285:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/nan.c:314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/util.c:1447:2: error: There is an unknown macro here somewhere. Configuration is required. If nla_for_each_nested is a macro then please configure it. [unknownMacro] iw-6.17/iw.c:48:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/iw.c:257:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] iw-6.17/iw.c:286:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/iw.c:321:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.17/iw.c:328:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_STOP [valueFlowBailoutIncompleteVar] iw-6.17/iw.c:345:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_OK [valueFlowBailoutIncompleteVar] iw-6.17/iw.c:402:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iw-6.17/iw.c:616:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/link.c:30:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/link.c:161:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/link.c:260:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/ftm.c:149:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/reg.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/reg.c:121:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/reg.c:257:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] iw-6.17/mesh.c:310:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/mesh.c:393:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/mesh.c:565:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/vendor.c:123:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/vendor.c:15:60: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'print_vendor_response' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/vendor.c:141:19: note: You might need to cast the function pointer here iw-6.17/vendor.c:15:60: note: Parameter 'arg' can be declared as pointer to const iw-6.17/vendor.c:20:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] iw-6.17/mpath.c:155:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/mpath.c:203:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/mpath.c:131:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/mpath.c:165:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/mpath.c:213:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/mpath.c:155:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/mpath.c:203:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/interface.c:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:88:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:175:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:267:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:502:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:532:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:564:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:602:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:641:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:660:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:699:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:751:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:788:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/interface.c:823:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/sha256.c:135:50: style: Condition 'sha256_compress(md,(unsigned char*)in)<0' is always false [knownConditionTrueFalse] iw-6.17/sha256.c:135:23: note: Calling function 'sha256_compress' returns 0 iw-6.17/sha256.c:135:50: note: Condition 'sha256_compress(md,(unsigned char*)in)<0' is always false iw-6.17/sha256.c:147:38: style: Condition 'sha256_compress(md,md->buf)<0' is always false [knownConditionTrueFalse] iw-6.17/sha256.c:147:24: note: Calling function 'sha256_compress' returns 0 iw-6.17/sha256.c:147:38: note: Condition 'sha256_compress(md,md->buf)<0' is always false iw-6.17/wowlan.c:27:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/wowlan.c:193:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.17/wowlan.c:214:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/wowlan.c:365:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.17/link.c:265:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/link.c:275:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/link.c:226:10: style: Variable 'delim' can be declared as pointer to const [constVariablePointer] iw-6.17/reg.c:92:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/coalesce.c:157:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/link.c:265:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/coalesce.c:59:11: style: Variable 'delay' can be declared as pointer to const [constVariablePointer] iw-6.17/coalesce.c:77:11: style: Variable 'cond' can be declared as pointer to const [constVariablePointer] iw-6.17/coalesce.c:185:47: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_coalesce_disable' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/coalesce.c:192:1: note: You might need to cast the function pointer here iw-6.17/coalesce.c:185:47: note: Parameter 'state' can be declared as pointer to const iw-6.17/coalesce.c:186:19: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_coalesce_disable' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/coalesce.c:192:1: note: You might need to cast the function pointer here iw-6.17/coalesce.c:186:19: note: Parameter 'msg' can be declared as pointer to const iw-6.17/coalesce.c:236:14: style: Variable 'mask' can be declared as pointer to const [constVariablePointer] iw-6.17/coalesce.c:236:21: style: Variable 'pat' can be declared as pointer to const [constVariablePointer] iw-6.17/reg.c:100:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/reg.c:23:29: style: Parameter 'alpha2' can be declared as pointer to const [constParameterPointer] iw-6.17/reg.c:30:35: style: Parameter 'alpha2' can be declared as pointer to const [constParameterPointer] iw-6.17/reg.c:116:8: style: Variable 'alpha2' can be declared as pointer to const [constVariablePointer] iw-6.17/reg.c:269:52: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_reg_reload' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/reg.c:276:1: note: You might need to cast the function pointer here iw-6.17/reg.c:269:52: note: Parameter 'state' can be declared as pointer to const iw-6.17/reg.c:270:24: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_reg_reload' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/reg.c:276:1: note: You might need to cast the function pointer here iw-6.17/reg.c:270:24: note: Parameter 'msg' can be declared as pointer to const iw-6.17/reg.c:92:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/nan.c:108:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/nan.c:131:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/nan.c:266:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/nan.c:487:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/station.c:52:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/station.c:108:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/station.c:155:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/station.c:205:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/station.c:442:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_BOOTTIME [valueFlowBailoutIncompleteVar] iw-6.17/station.c:464:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/station.c:699:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/station.c:735:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/station.c:818:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/station.c:868:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/station.c:914:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/station.c:967:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/station.c:1016:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.17/nan.c:68:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/nan.c:114:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/nan.c:139:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/mesh.c:588:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/nan.c:74:50: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_nan_stop' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/nan.c:80:1: note: You might need to cast the function pointer here iw-6.17/nan.c:74:50: note: Parameter 'state' can be declared as pointer to const iw-6.17/nan.c:75:22: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_nan_stop' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/nan.c:80:1: note: You might need to cast the function pointer here iw-6.17/nan.c:75:22: note: Parameter 'msg' can be declared as pointer to const iw-6.17/phy.c:151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:162:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_DUMP [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:261:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:331:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_OK [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:345:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_CB_DEFAULT [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:440:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:492:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:533:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:567:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:616:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:649:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:694:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:745:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:786:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:826:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:840:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/phy.c:901:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_DUMP [valueFlowBailoutIncompleteVar] iw-6.17/mesh.c:380:63: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'print_mesh_param_handler' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/mesh.c:457:19: note: You might need to cast the function pointer here iw-6.17/mesh.c:380:63: note: Parameter 'arg' can be declared as pointer to const iw-6.17/mesh.c:473:14: style: Variable 'value' can be declared as pointer to const [constVariablePointer] iw-6.17/mesh.c:600:45: style: Parameter 'state' can be declared as pointer to const. However it seems that 'leave_mesh' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/mesh.c:609:1: note: You might need to cast the function pointer here iw-6.17/mesh.c:600:45: note: Parameter 'state' can be declared as pointer to const iw-6.17/mesh.c:601:24: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'leave_mesh' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/mesh.c:609:1: note: You might need to cast the function pointer here iw-6.17/mesh.c:601:24: note: Parameter 'msg' can be declared as pointer to const iw-6.17/nan.c:39:12: style: Variable 'bands' is assigned a value that is never used. [unreadVariable] iw-6.17/nan.c:86:12: style: Variable 'bands' is assigned a value that is never used. [unreadVariable] iw-6.17/nan.c:108:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/nan.c:109:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] iw-6.17/nan.c:131:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/nan.c:247:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/nan.c:266:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/nan.c:487:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/measurements.c:269:2: warning: If memory allocation fails, then there is a possible null pointer dereference: req_argv [nullPointerOutOfMemory] iw-6.17/measurements.c:268:19: note: Assuming allocation function fails iw-6.17/measurements.c:268:19: note: Assignment 'req_argv=calloc(argc+1,sizeof(req_argv[0]))', assigned value is 0 iw-6.17/measurements.c:269:2: note: Null pointer dereference iw-6.17/measurements.c:270:2: warning: If memory allocation fails, then there is a possible null pointer dereference: req_argv [nullPointerOutOfMemory] iw-6.17/measurements.c:268:19: note: Assuming allocation function fails iw-6.17/measurements.c:268:19: note: Assignment 'req_argv=calloc(argc+1,sizeof(req_argv[0]))', assigned value is 0 iw-6.17/measurements.c:270:2: note: Null pointer dereference iw-6.17/measurements.c:271:2: warning: If memory allocation fails, then there is a possible null pointer dereference: req_argv [nullPointerOutOfMemory] iw-6.17/measurements.c:268:19: note: Assuming allocation function fails iw-6.17/measurements.c:268:19: note: Assignment 'req_argv=calloc(argc+1,sizeof(req_argv[0]))', assigned value is 0 iw-6.17/measurements.c:271:2: note: Null pointer dereference iw-6.17/measurements.c:273:3: warning: If memory allocation fails, then there is a possible null pointer dereference: req_argv [nullPointerOutOfMemory] iw-6.17/measurements.c:268:19: note: Assuming allocation function fails iw-6.17/measurements.c:268:19: note: Assignment 'req_argv=calloc(argc+1,sizeof(req_argv[0]))', assigned value is 0 iw-6.17/measurements.c:273:3: note: Null pointer dereference iw-6.17/measurements.c:30:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/measurements.c:175:7: style: Local variable 'preamble' shadows outer variable [shadowVariable] iw-6.17/measurements.c:40:30: note: Shadowed variable iw-6.17/measurements.c:175:7: note: Shadow local variable iw-6.17/measurements.c:9:51: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iw-6.17/measurements.c:38:8: style: Variable 'bw' can be declared as pointer to const [constVariablePointer] iw-6.17/measurements.c:38:43: style: Variable 'delims' can be declared as pointer to const [constVariablePointer] iw-6.17/bitrate.c:345:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.17/iw.c:537:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/iw.c:197:2: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.17/iw.c:83:20: note: Variable declared here. iw-6.17/iw.c:197:2: note: Address of variable taken here. iw-6.17/iw.c:82:20: note: Variable declared here. iw-6.17/iw.c:197:2: note: Array decayed to pointer here. iw-6.17/iw.c:197:2: note: Subtracting pointers that point to different objects iw-6.17/iw.c:207:3: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.17/iw.c:83:20: note: Variable declared here. iw-6.17/iw.c:207:3: note: Address of variable taken here. iw-6.17/iw.c:82:20: note: Variable declared here. iw-6.17/iw.c:197:2: note: Array decayed to pointer here. iw-6.17/iw.c:198:14: note: Assuming condition is false iw-6.17/iw.c:201:17: note: Assuming condition is false iw-6.17/iw.c:204:24: note: Assuming condition is false iw-6.17/iw.c:207:3: note: Subtracting pointers that point to different objects iw-6.17/iw.c:408:2: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.17/iw.c:83:20: note: Variable declared here. iw-6.17/iw.c:408:2: note: Address of variable taken here. iw-6.17/iw.c:82:20: note: Variable declared here. iw-6.17/iw.c:408:2: note: Array decayed to pointer here. iw-6.17/iw.c:408:2: note: Subtracting pointers that point to different objects iw-6.17/iw.c:426:3: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.17/iw.c:83:20: note: Variable declared here. iw-6.17/iw.c:426:3: note: Address of variable taken here. iw-6.17/iw.c:82:20: note: Variable declared here. iw-6.17/iw.c:426:3: note: Array decayed to pointer here. iw-6.17/iw.c:426:3: note: Subtracting pointers that point to different objects iw-6.17/iw.c:90:54: style: Parameter 'indent' can be declared as pointer to const [constParameterPointer] iw-6.17/iw.c:227:45: style: Parameter 'state' can be declared as pointer to const. However it seems that 'print_help' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/iw.c:234:1: note: You might need to cast the function pointer here iw-6.17/iw.c:227:45: note: Parameter 'state' can be declared as pointer to const iw-6.17/iw.c:228:24: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'print_help' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/iw.c:234:1: note: You might need to cast the function pointer here iw-6.17/iw.c:228:24: note: Parameter 'msg' can be declared as pointer to const iw-6.17/iw.c:250:29: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iw-6.17/iw.c:601:12: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] iw-6.17/iw.c:603:17: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] iw-6.17/scan.c:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/scan.c:382:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.17/scan.c:2616:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.17/scan.c:2802:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] iw-6.17/wowlan.c:341:56: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_wowlan_disable' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/wowlan.c:348:1: note: You might need to cast the function pointer here iw-6.17/wowlan.c:341:56: note: Parameter 'state' can be declared as pointer to const iw-6.17/wowlan.c:342:21: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_wowlan_disable' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/wowlan.c:348:1: note: You might need to cast the function pointer here iw-6.17/wowlan.c:342:21: note: Parameter 'msg' can be declared as pointer to const iw-6.17/wowlan.c:436:13: style: Variable 'mask' can be declared as pointer to const [constVariablePointer] iw-6.17/wowlan.c:436:20: style: Variable 'pat' can be declared as pointer to const [constVariablePointer] iw-6.17/station.c:704:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/station.c:765:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/station.c:838:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/station.c:885:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/station.c:936:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/station.c:984:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/station.c:1054:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/station.c:300:11: style: Condition 'i++>0' is always false [knownConditionTrueFalse] iw-6.17/station.c:293:10: note: Assignment 'i=0', assigned value is 0 iw-6.17/station.c:296:6: note: Assuming condition is false iw-6.17/station.c:300:11: note: Condition 'i++>0' is always false iw-6.17/station.c:309:6: style: Condition 'i' is always true [knownConditionTrueFalse] iw-6.17/station.c:293:10: note: Assignment 'i=0', assigned value is 0 iw-6.17/station.c:296:6: note: Assuming condition is false iw-6.17/station.c:300:7: note: i is incremented', new value is 1 iw-6.17/station.c:309:6: note: Condition 'i' is always true iw-6.17/station.c:390:3: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] iw-6.17/station.c:401:3: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] iw-6.17/station.c:714:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/station.c:775:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/station.c:847:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/station.c:894:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/station.c:945:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/station.c:993:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/station.c:1060:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/station.c:316:16: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] iw-6.17/station.c:318:8: style: Variable 'chain' can be declared as pointer to const [constVariablePointer] iw-6.17/station.c:462:34: style: Variable 'sta_flags' can be declared as pointer to const [constVariablePointer] iw-6.17/station.c:284:7: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] iw-6.17/station.c:704:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/station.c:765:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/station.c:838:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/station.c:885:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/station.c:936:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/station.c:984:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/station.c:1009:16: style: Variable 'sta_txpwr' is assigned a value that is never used. [unreadVariable] iw-6.17/station.c:1054:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/phy.c:483:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/phy.c:96:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.17/phy.c:276:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.17/phy.c:279:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.17/phy.c:282:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.17/phy.c:285:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.17/phy.c:288:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.17/phy.c:181:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:439:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:491:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:555:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:613:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:648:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:693:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:744:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:785:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:825:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/phy.c:329:40: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'no_seq_check' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/phy.c:384:53: note: You might need to cast the function pointer here iw-6.17/phy.c:329:40: note: Parameter 'msg' can be declared as pointer to const iw-6.17/phy.c:329:51: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'no_seq_check' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/phy.c:384:53: note: You might need to cast the function pointer here iw-6.17/phy.c:329:51: note: Parameter 'arg' can be declared as pointer to const iw-6.17/interface.c:665:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.17/phy.c:483:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/interface.c:376:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.17/interface.c:417:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.17/interface.c:132:6: style: Redundant initialization for 'err'. The initialized value is overwritten before it is read. [redundantInitialization] iw-6.17/interface.c:88:10: note: err is initialized iw-6.17/interface.c:132:6: note: err is overwritten iw-6.17/interface.c:78:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:133:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:225:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:306:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:540:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:563:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:601:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:640:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:673:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:698:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:750:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:795:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:1019:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:1055:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.17/interface.c:150:8: style: Variable 'tpstr' can be declared as pointer to const [constVariablePointer] iw-6.17/interface.c:319:55: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_interface_del' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/interface.c:328:1: note: You might need to cast the function pointer here iw-6.17/interface.c:319:55: note: Parameter 'state' can be declared as pointer to const iw-6.17/interface.c:320:20: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_interface_del' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/interface.c:328:1: note: You might need to cast the function pointer here iw-6.17/interface.c:320:20: note: Parameter 'msg' can be declared as pointer to const iw-6.17/interface.c:665:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.17/interface.c:724:24: style: Variable 'beacons' is assigned a value that is never used. [unreadVariable] iw-6.17/scan.c:1572:6: style: Condition 'zero_delimiter' is always false [knownConditionTrueFalse] iw-6.17/scan.c:1552:23: note: Assignment 'zero_delimiter=0', assigned value is 0 iw-6.17/scan.c:1558:10: note: Assuming condition is false iw-6.17/scan.c:1562:10: note: Assuming condition is false iw-6.17/scan.c:1572:6: note: Condition 'zero_delimiter' is always false iw-6.17/scan.c:1509:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] iw-6.17/scan.c:2128:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] iw-6.17/scan.c:2128:4: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] iw-6.17/scan.c:2685:3: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] iw-6.17/scan.c:1596:31: style: Local variable 'len' shadows outer argument [shadowArgument] iw-6.17/scan.c:1580:68: note: Shadowed argument iw-6.17/scan.c:1596:31: note: Shadow local variable iw-6.17/scan.c:306:11: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] iw-6.17/scan.c:1596:37: style: Variable 'end' can be declared as pointer to const [constVariablePointer] iw-6.17/scan.c:2349:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] iw-6.17/scan.c:2451:63: style: Parameter 'ie' can be declared as pointer to const [constParameterPointer] iw-6.17/scan.c:2864:52: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_scan_abort' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/scan.c:2871:1: note: You might need to cast the function pointer here iw-6.17/scan.c:2864:52: note: Parameter 'state' can be declared as pointer to const iw-6.17/scan.c:2865:24: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_scan_abort' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/scan.c:2871:1: note: You might need to cast the function pointer here iw-6.17/scan.c:2865:24: note: Parameter 'msg' can be declared as pointer to const iw-6.17/scan.c:2882:57: style: Parameter 'state' can be declared as pointer to const. However it seems that 'handle_stop_sched_scan' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/scan.c:2899:1: note: You might need to cast the function pointer here iw-6.17/scan.c:2882:57: note: Parameter 'state' can be declared as pointer to const iw-6.17/scan.c:2883:22: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'handle_stop_sched_scan' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.17/scan.c:2899:1: note: You might need to cast the function pointer here iw-6.17/scan.c:2883:22: note: Parameter 'msg' can be declared as pointer to const iw-6.17/scan.c:1232:10: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] iw-6.17/scan.c:2738:41: style: Variable 'show' is assigned a value that is never used. [unreadVariable] iw-6.17/bitrate.c:127:30: style: Parameter 'he_gi' can be declared as pointer to const [constParameterPointer] diff: head iw-6.17/iw.c:207:3: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.17/iw.c:83:20: note: Variable declared here. iw-6.17/iw.c:207:3: note: Address of variable taken here. iw-6.17/iw.c:82:20: note: Variable declared here. iw-6.17/iw.c:197:2: note: Array decayed to pointer here. iw-6.17/iw.c:198:14: note: Assuming condition is false iw-6.17/iw.c:201:17: note: Assuming condition is false iw-6.17/iw.c:204:24: note: Assuming condition is false iw-6.17/iw.c:207:3: note: Subtracting pointers that point to different objects 2.21.0 iw-6.17/iw.c:207:3: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.17/iw.c:83:20: note: Variable declared here. iw-6.17/iw.c:207:3: note: Address of variable taken here. iw-6.17/iw.c:82:20: note: Variable declared here. iw-6.17/iw.c:207:3: note: Array decayed to pointer here. iw-6.17/iw.c:207:3: note: Subtracting pointers that point to different objects 2.21.0 iw-6.17/iw.c:334:70: style:inconclusive: Function 'register_handler' argument 2 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head iw-6.17/scan.c:1572:6: style: Condition 'zero_delimiter' is always false [knownConditionTrueFalse] iw-6.17/scan.c:1552:23: note: Assignment 'zero_delimiter=0', assigned value is 0 iw-6.17/scan.c:1558:10: note: Assuming condition is false iw-6.17/scan.c:1562:10: note: Assuming condition is false iw-6.17/scan.c:1572:6: note: Condition 'zero_delimiter' is always false head iw-6.17/scan.c:2349:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] DONE