2024-04-25 08:46 ftp://ftp.de.debian.org/debian/pool/main/i/iw/iw_6.7.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 -j4 platform: Linux-6.6.25_1-x86_64-with-libc python: 3.12.3 client-version: 1.3.57 compiler: g++ (GCC) 13.2.0 cppcheck: head 2.14.0 head-info: da380ea (2024-04-25 10:28:43 +0200) count: 322 322 elapsed-time: 8.7 8.9 head-timing-info: old-timing-info: head results: iw-6.7/ap.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/ap.c:144:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/ap.c:154: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.7/ap.c:161:1: note: You might need to cast the function pointer here iw-6.7/ap.c:154:49: note: Parameter 'state' can be declared as pointer to const iw-6.7/ap.c:155: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.7/ap.c:161:1: note: You might need to cast the function pointer here iw-6.7/ap.c:155:21: note: Parameter 'msg' can be declared as pointer to const iw-6.7/coalesce.c:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/coalesce.c:209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.7/connect.c:100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/connect.c:150:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] iw-6.7/connect.c:262:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] iw-6.7/cqm.c:19:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] iw-6.7/connect.c:104:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/cqm.c:44:6: style: Redundant initialization for 'ret'. The initialized value is overwritten before it is read. [redundantInitialization] iw-6.7/cqm.c:19:10: note: ret is initialized iw-6.7/cqm.c:44:6: note: ret is overwritten iw-6.7/connect.c:261:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/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.7/connect.c:115:1: note: You might need to cast the function pointer here iw-6.7/connect.c:108:45: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/connect.c:115:1: note: You might need to cast the function pointer here iw-6.7/connect.c:109:24: note: Parameter 'msg' can be declared as pointer to const iw-6.7/cqm.c:46:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/coalesce.c:157:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/coalesce.c:59:11: style: Variable 'delay' can be declared as pointer to const [constVariablePointer] iw-6.7/coalesce.c:77:11: style: Variable 'cond' can be declared as pointer to const [constVariablePointer] iw-6.7/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.7/coalesce.c:192:1: note: You might need to cast the function pointer here iw-6.7/coalesce.c:185:47: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/coalesce.c:192:1: note: You might need to cast the function pointer here iw-6.7/coalesce.c:186:19: note: Parameter 'msg' can be declared as pointer to const iw-6.7/coalesce.c:236:14: style: Variable 'mask' can be declared as pointer to const [constVariablePointer] iw-6.7/coalesce.c:236:21: style: Variable 'pat' can be declared as pointer to const [constVariablePointer] iw-6.7/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.7/ftm.c:21:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/ftm.c:107:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/bitrate.c:345:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/genl.c:20:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_STOP [valueFlowBailoutIncompleteVar] iw-6.7/genl.c:27:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_STOP [valueFlowBailoutIncompleteVar] iw-6.7/genl.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_ATTR_MAX [valueFlowBailoutIncompleteVar] iw-6.7/genl.c:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] iw-6.7/genl.c:96:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] iw-6.7/genl.c:93:6: note: ret is assigned iw-6.7/genl.c:96:6: note: ret is overwritten iw-6.7/genl.c:111:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/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.7/genl.c:102:30: note: You might need to cast the function pointer here iw-6.7/genl.c:15:68: note: Parameter 'err' can be declared as pointer to const iw-6.7/hwsim.c:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.7/hwsim.c:60:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/hwsim.c:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/hwsim.c:115:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/hwsim.c:137:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/ftm.c:149:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/info.c:650: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.7/ibss.c:120:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] iw-6.7/ibss.c:119:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/ibss.c:20:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] iw-6.7/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.7/ibss.c:130:1: note: You might need to cast the function pointer here iw-6.7/ibss.c:123:45: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/ibss.c:130:1: note: You might need to cast the function pointer here iw-6.7/ibss.c:124:24: note: Parameter 'msg' can be declared as pointer to const iw-6.7/iw.c:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/iw.c:267:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] iw-6.7/iw.c:296:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/iw.c:331:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.7/iw.c:338:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_STOP [valueFlowBailoutIncompleteVar] iw-6.7/iw.c:355:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_OK [valueFlowBailoutIncompleteVar] iw-6.7/iw.c:412:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iw-6.7/iw.c:647:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:88:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:175:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:267:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:490:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:520:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:552:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:590:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:629:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:648:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:687:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:739:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:776:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/interface.c:811:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/keys.c:21:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/keys.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/keys.c:66:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/keys.c:67:4: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] iw-6.7/keys.c:78:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/keys.c:66:8: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/keys.c:67:8: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] iw-6.7/link.c:30:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/link.c:160:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/link.c:259:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/link.c:264:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/link.c:274:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/link.c:225:10: style: Variable 'delim' can be declared as pointer to const [constVariablePointer] iw-6.7/link.c:264:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/iw.c:547:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/iw.c:207:2: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.7/iw.c:93:20: note: Variable declared here. iw-6.7/iw.c:207:2: note: Address of variable taken here. iw-6.7/iw.c:92:20: note: Variable declared here. iw-6.7/iw.c:207:2: note: Array decayed to pointer here. iw-6.7/iw.c:207:2: note: Subtracting pointers that point to different objects iw-6.7/iw.c:217:3: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.7/iw.c:93:20: note: Variable declared here. iw-6.7/iw.c:217:3: note: Address of variable taken here. iw-6.7/iw.c:92:20: note: Variable declared here. iw-6.7/iw.c:217:3: note: Array decayed to pointer here. iw-6.7/iw.c:217:3: note: Subtracting pointers that point to different objects iw-6.7/iw.c:418:2: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.7/iw.c:93:20: note: Variable declared here. iw-6.7/iw.c:418:2: note: Address of variable taken here. iw-6.7/iw.c:92:20: note: Variable declared here. iw-6.7/iw.c:418:2: note: Array decayed to pointer here. iw-6.7/iw.c:418:2: note: Subtracting pointers that point to different objects iw-6.7/iw.c:436:3: error: Subtracting pointers that point to different objects [subtractPointers] iw-6.7/iw.c:93:20: note: Variable declared here. iw-6.7/iw.c:436:3: note: Address of variable taken here. iw-6.7/iw.c:92:20: note: Variable declared here. iw-6.7/iw.c:436:3: note: Array decayed to pointer here. iw-6.7/iw.c:436:3: note: Subtracting pointers that point to different objects iw-6.7/iw.c:100:54: style: Parameter 'indent' can be declared as pointer to const [constParameterPointer] iw-6.7/iw.c:237: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.7/iw.c:244:1: note: You might need to cast the function pointer here iw-6.7/iw.c:237:45: note: Parameter 'state' can be declared as pointer to const iw-6.7/iw.c:238: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.7/iw.c:244:1: note: You might need to cast the function pointer here iw-6.7/iw.c:238:24: note: Parameter 'msg' can be declared as pointer to const iw-6.7/iw.c:260:29: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iw-6.7/iw.c:632:12: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] iw-6.7/iw.c:634:17: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] iw-6.7/measurements.c:15:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] iw-6.7/measurements.c:52:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/measurements.c:234:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iw-6.7/measurements.c:323:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/mesh.c:310:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/mesh.c:393:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/mesh.c:565:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/mesh.c:588:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/mesh.c:473:14: style: Variable 'value' can be declared as pointer to const [constVariablePointer] iw-6.7/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.7/mesh.c:609:1: note: You might need to cast the function pointer here iw-6.7/mesh.c:600:45: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/mesh.c:609:1: note: You might need to cast the function pointer here iw-6.7/mesh.c:601:24: note: Parameter 'msg' can be declared as pointer to const iw-6.7/measurements.c:30:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/measurements.c:175:7: style: Local variable 'preamble' shadows outer variable [shadowVariable] iw-6.7/measurements.c:40:30: note: Shadowed declaration iw-6.7/measurements.c:175:7: note: Shadow variable iw-6.7/measurements.c:9:51: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iw-6.7/measurements.c:38:8: style: Variable 'bw' can be declared as pointer to const [constVariablePointer] iw-6.7/measurements.c:38:43: style: Variable 'delims' can be declared as pointer to const [constVariablePointer] iw-6.7/mgmt.c:17:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_OK [valueFlowBailoutIncompleteVar] iw-6.7/mgmt.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/mgmt.c:105:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] iw-6.7/mgmt.c:78:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/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.7/mgmt.c:154:52: note: You might need to cast the function pointer here iw-6.7/mgmt.c:15:39: note: Parameter 'msg' can be declared as pointer to const iw-6.7/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.7/mgmt.c:154:52: note: You might need to cast the function pointer here iw-6.7/mgmt.c:15:50: note: Parameter 'arg' can be declared as pointer to const iw-6.7/mgmt.c:41:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] iw-6.7/mpath.c:34:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/mpath.c:114:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/mpath.c:151:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/mpath.c:187:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/mpath.c:155:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/mpath.c:203:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/mpath.c:131:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/mpath.c:165:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/mpath.c:213:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/mpath.c:155:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/mpath.c:203:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/mpp.c:35:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.7/mpp.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/mpp.c:53:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/mpp.c:63:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/mpp.c:53:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/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.7/ocb.c:43:1: note: You might need to cast the function pointer here iw-6.7/ocb.c:34:44: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/ocb.c:43:1: note: You might need to cast the function pointer here iw-6.7/ocb.c:35:23: note: Parameter 'msg' can be declared as pointer to const iw-6.7/nan.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/nan.c:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/nan.c:89:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/nan.c:125:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/nan.c:169:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/nan.c:199:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/nan.c:285:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/nan.c:314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/offch.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] iw-6.7/offch.c:34:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/offch.c:41:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/offch.c:34:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/interface.c:653:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/interface.c:376:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.7/interface.c:410:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.7/interface.c:132:6: style: Redundant initialization for 'err'. The initialized value is overwritten before it is read. [redundantInitialization] iw-6.7/interface.c:88:10: note: err is initialized iw-6.7/interface.c:132:6: note: err is overwritten iw-6.7/interface.c:78:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:133:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:225:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:306:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:528:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:551:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:589:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:628:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:661:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:686:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:738:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:783:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:1007:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/interface.c:150:8: style: Variable 'tpstr' can be declared as pointer to const [constVariablePointer] iw-6.7/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.7/interface.c:328:1: note: You might need to cast the function pointer here iw-6.7/interface.c:319:55: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/interface.c:328:1: note: You might need to cast the function pointer here iw-6.7/interface.c:320:20: note: Parameter 'msg' can be declared as pointer to const iw-6.7/interface.c:653:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/nan.c:108:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/interface.c:712:24: style: Variable 'beacons' is assigned a value that is never used. [unreadVariable] iw-6.7/nan.c:131:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/nan.c:266:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/nan.c:487:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/nan.c:68:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/nan.c:114:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/nan.c:139:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/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.7/nan.c:80:1: note: You might need to cast the function pointer here iw-6.7/nan.c:74:50: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/nan.c:80:1: note: You might need to cast the function pointer here iw-6.7/nan.c:75:22: note: Parameter 'msg' can be declared as pointer to const iw-6.7/nan.c:39:12: style: Variable 'bands' is assigned a value that is never used. [unreadVariable] iw-6.7/nan.c:86:12: style: Variable 'bands' is assigned a value that is never used. [unreadVariable] iw-6.7/nan.c:108:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/nan.c:109:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] iw-6.7/nan.c:131:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/nan.c:247:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/nan.c:266:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/nan.c:487:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/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.7/p2p.c:18:1: note: You might need to cast the function pointer here iw-6.7/p2p.c:12:51: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/p2p.c:18:1: note: You might need to cast the function pointer here iw-6.7/p2p.c:13:23: note: Parameter 'msg' can be declared as pointer to const iw-6.7/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.7/p2p.c:26:1: note: You might need to cast the function pointer here iw-6.7/p2p.c:20:50: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/p2p.c:26:1: note: You might need to cast the function pointer here iw-6.7/p2p.c:21:22: note: Parameter 'msg' can be declared as pointer to const iw-6.7/ps.c:35:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/ps.c:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.7/ps.c:34:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/roc.c:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/roc.c:36:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/reg.c:88:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/reg.c:128:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/reg.c:263:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] iw-6.7/sar.c:24:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/sar.c:20:8: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] iw-6.7/reg.c:99:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/reg.c:107:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/reg.c:30:29: style: Parameter 'alpha2' can be declared as pointer to const [constParameterPointer] iw-6.7/reg.c:37:35: style: Parameter 'alpha2' can be declared as pointer to const [constParameterPointer] iw-6.7/reg.c:123:8: style: Variable 'alpha2' can be declared as pointer to const [constVariablePointer] iw-6.7/reg.c:275: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.7/reg.c:282:1: note: You might need to cast the function pointer here iw-6.7/reg.c:275:52: note: Parameter 'state' can be declared as pointer to const iw-6.7/reg.c:276: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.7/reg.c:282:1: note: You might need to cast the function pointer here iw-6.7/reg.c:276:24: note: Parameter 'msg' can be declared as pointer to const iw-6.7/reg.c:99:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/phy.c:151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:162:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_DUMP [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:270:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:340:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_OK [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:354:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_CB_DEFAULT [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:452:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:484:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:525:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:559:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:608:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:641:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:686:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:737:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:778:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:818:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:832:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/phy.c:893:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_DUMP [valueFlowBailoutIncompleteVar] iw-6.7/scan.c:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/scan.c:382:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/scan.c:2523:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/scan.c:2709:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] iw-6.7/sha256.c:135:50: style: Condition 'sha256_compress(md,(unsigned char*)in)<0' is always false [knownConditionTrueFalse] iw-6.7/sha256.c:135:23: note: Calling function 'sha256_compress' returns 0 iw-6.7/sha256.c:135:50: note: Condition 'sha256_compress(md,(unsigned char*)in)<0' is always false iw-6.7/sha256.c:147:38: style: Condition 'sha256_compress(md,md->buf)<0' is always false [knownConditionTrueFalse] iw-6.7/sha256.c:147:24: note: Calling function 'sha256_compress' returns 0 iw-6.7/sha256.c:147:38: note: Condition 'sha256_compress(md,md->buf)<0' is always false iw-6.7/station.c:52:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/station.c:108:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/station.c:155:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/station.c:205:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/station.c:323:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/station.c:653:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/station.c:689:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/station.c:772:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/station.c:822:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/station.c:868:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/station.c:921:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/station.c:970:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/station.c:658:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/station.c:719:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/station.c:792:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/station.c:839:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/station.c:890:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/station.c:938:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/station.c:1008:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iw-6.7/station.c:455:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] iw-6.7/station.c:466:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] iw-6.7/station.c:668:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/station.c:729:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/station.c:801:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/station.c:848:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/station.c:899:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/station.c:947:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/station.c:1014:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/station.c:315:56: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'print_sta_handler' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iw-6.7/station.c:1027:19: note: You might need to cast the function pointer here iw-6.7/station.c:315:56: note: Parameter 'arg' can be declared as pointer to const iw-6.7/station.c:321:34: style: Variable 'sta_flags' can be declared as pointer to const [constVariablePointer] iw-6.7/station.c:359:8: style: Variable 'chain' can be declared as pointer to const [constVariablePointer] iw-6.7/station.c:284:7: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] iw-6.7/station.c:658:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/station.c:719:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/station.c:792:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/station.c:839:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/station.c:890:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/station.c:938:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/station.c:963:16: style: Variable 'sta_txpwr' is assigned a value that is never used. [unreadVariable] iw-6.7/station.c:1008:6: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] iw-6.7/scan.c:1495:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] iw-6.7/scan.c:2100:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] iw-6.7/scan.c:2100:4: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] iw-6.7/scan.c:2592:3: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] iw-6.7/scan.c:1582:31: style: Local variable 'len' shadows outer argument [shadowArgument] iw-6.7/scan.c:1566:68: note: Shadowed declaration iw-6.7/scan.c:1582:31: note: Shadow variable iw-6.7/scan.c:306:11: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] iw-6.7/scan.c:1582:37: style: Variable 'end' can be declared as pointer to const [constVariablePointer] iw-6.7/scan.c:2391:63: style: Parameter 'ie' can be declared as pointer to const [constParameterPointer] iw-6.7/scan.c:2771: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.7/scan.c:2778:1: note: You might need to cast the function pointer here iw-6.7/scan.c:2771:52: note: Parameter 'state' can be declared as pointer to const iw-6.7/scan.c:2772: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.7/scan.c:2778:1: note: You might need to cast the function pointer here iw-6.7/scan.c:2772:24: note: Parameter 'msg' can be declared as pointer to const iw-6.7/scan.c:2789: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.7/scan.c:2806:1: note: You might need to cast the function pointer here iw-6.7/scan.c:2789:57: note: Parameter 'state' can be declared as pointer to const iw-6.7/scan.c:2790: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.7/scan.c:2806:1: note: You might need to cast the function pointer here iw-6.7/scan.c:2790:22: note: Parameter 'msg' can be declared as pointer to const iw-6.7/scan.c:1207:10: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] iw-6.7/scan.c:2645:41: style: Variable 'show' is assigned a value that is never used. [unreadVariable] iw-6.7/survey.c:22:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] iw-6.7/util.c:1429: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.7/vendor.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iw-6.7/vendor.c:47:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iw-6.7/vendor.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] iw-6.7/vendor.c:101:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iw-6.7/vendor.c:123:1: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/vendor.c:20:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] iw-6.7/wowlan.c:27:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/wowlan.c:193:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] iw-6.7/wowlan.c:214:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOBUFS [valueFlowBailoutIncompleteVar] iw-6.7/wowlan.c:365:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_SKIP [valueFlowBailoutIncompleteVar] iw-6.7/wowlan.c:111:10: style: Variable 'len' can be declared as pointer to const [constVariablePointer] iw-6.7/wowlan.c:133:10: style: Variable 'len' can be declared as pointer to const [constVariablePointer] iw-6.7/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.7/wowlan.c:348:1: note: You might need to cast the function pointer here iw-6.7/wowlan.c:341:56: note: Parameter 'state' can be declared as pointer to const iw-6.7/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.7/wowlan.c:348:1: note: You might need to cast the function pointer here iw-6.7/wowlan.c:342:21: note: Parameter 'msg' can be declared as pointer to const iw-6.7/wowlan.c:436:13: style: Variable 'mask' can be declared as pointer to const [constVariablePointer] iw-6.7/wowlan.c:436:20: style: Variable 'pat' can be declared as pointer to const [constVariablePointer] iw-6.7/phy.c:96:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.7/phy.c:285:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.7/phy.c:288:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.7/phy.c:291:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.7/phy.c:294:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.7/phy.c:297:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iw-6.7/phy.c:181:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:451:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:483:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:547:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:605:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:640:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:685:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:736:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:777:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:817:2: style: Label 'nla_put_failure' is not used. [unusedLabel] iw-6.7/phy.c:338: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.7/phy.c:393:53: note: You might need to cast the function pointer here iw-6.7/phy.c:338:40: note: Parameter 'msg' can be declared as pointer to const iw-6.7/phy.c:338: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.7/phy.c:393:53: note: You might need to cast the function pointer here iw-6.7/phy.c:338:51: note: Parameter 'arg' can be declared as pointer to const iw-6.7/bitrate.c:127:30: style: Parameter 'he_gi' can be declared as pointer to const [constParameterPointer] diff: DONE