2025-11-13 15:22 ftp://ftp.de.debian.org/debian/pool/main/e/ethtool/ethtool_6.15.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.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 9ab1585 (2025-11-12 10:13:54 +0100) count: 775 777 elapsed-time: 97.8 86.8 head-timing-info: old-timing-info: head results: ethtool-6.15/at76c50x-usb.c:26:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/at76c50x-usb.c:16:28: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] ethtool-6.15/at76c50x-usb.c:20:8: style: Variable 'ver_string' can be declared as pointer to const [constVariablePointer] ethtool-6.15/internal.h:194:31: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 192. [shiftTooManyBitsSigned] ethtool-6.15/internal.h:192:9: note: Assuming that condition 'nr>=(32*127)' is not redundant ethtool-6.15/internal.h:194:31: note: Shift ethtool-6.15/internal.h:201:22: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 199. [shiftTooManyBitsSigned] ethtool-6.15/internal.h:199:9: note: Assuming that condition 'nr>=(32*127)' is not redundant ethtool-6.15/internal.h:201:22: note: Shift ethtool-6.15/bnxt.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/amd8111e.c:162:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/amd8111e.c:290:7: style: Condition 'reg&LINK_STATS' is always true [knownConditionTrueFalse] ethtool-6.15/amd8111e.c:282:9: note: Assuming that condition 'reg&LINK_STATS' is not redundant ethtool-6.15/amd8111e.c:290:7: note: Condition 'reg&LINK_STATS' is always true ethtool-6.15/amd8111e.c:159:7: style: Variable 'reg_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/amd8111e.c:78:14: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ethtool-6.15/bnxt.c:39:86: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] ethtool-6.15/bnxt.c:42:7: style: Variable 'pcie_stats' can be declared as pointer to const [constVariablePointer] ethtool-6.15/common.c:108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAKE_PHY [valueFlowBailoutIncompleteVar] ethtool-6.15/common.c:138:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAKE_MAGICSECURE [valueFlowBailoutIncompleteVar] ethtool-6.15/common.c:166:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_TP_MDI [valueFlowBailoutIncompleteVar] ethtool-6.15/common.c:227:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/cpsw.c:141:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/cpsw.c:187:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/cpsw.c:83:28: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] ethtool-6.15/cpsw.c:121:42: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] ethtool-6.15/cpsw.c:181:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] ethtool-6.15/cpsw.c:50:6: style: union member 'ale_entry::val' is never used. [unusedStructMember] ethtool-6.15/common.c:211:44: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/common.c:212:31: style: Parameter 'indir' can be declared as pointer to const [constParameterPointer] ethtool-6.15/common.c:231:25: style: Parameter 'hkey' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/extapi.h:76:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/extapi.h:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/extapi.h:97:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/cmis.c:514:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u16 [valueFlowBailoutIncompleteVar] ethtool-6.15/cmis.c:1051:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/e100.c:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/e100.c:42:7: style: Variable 'regs_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/de2104x.c:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/de2104x.c:98:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/de2104x.c:119:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/de2104x.c:425:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/e1000.c:384:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/cmis.c:682:8: style: Variable 'rx_power_type_str' can be declared as pointer to const [constVariablePointer] ethtool-6.15/et131x.c:14:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/et131x.c:9:7: style: Variable 'reg' can be declared as pointer to const [constVariablePointer] ethtool-6.15/ethtool.c:416:23: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] ethtool-6.15/e1000.c:369:7: style: Variable 'regs_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/de2104x.c:140:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/de2104x.c:143:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/de2104x.c:323:2: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/de2104x.c:323:2: warning: %u in format string (no. 7) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/de2104x.c:323:2: warning: %u in format string (no. 8) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/de2104x.c:323:2: warning: %u in format string (no. 9) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/de2104x.c:448:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/de2104x.c:451:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/de2104x.c:344:15: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:345:15: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:346:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:347:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:607:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:608:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:609:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:610:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:611:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:612:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:613:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/de2104x.c:614:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/fec.c:197:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] ethtool-6.15/de2104x.c:117:15: style: Variable 'data' can be declared as pointer to const [constVariablePointer] ethtool-6.15/de2104x.c:423:15: style: Variable 'data' can be declared as pointer to const [constVariablePointer] ethtool-6.15/de2104x.c:528:9: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ethtool-6.15/fec_8xx.c:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fjes.c:14:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fec_8xx.c:53:14: style: Variable 'f' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fjes.c:8:7: style: Variable 'regs_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/hibmcge.c:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/hibmcge.c:155:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/fsl_enetc.c:206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fsl_enetc.c:211:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fsl_enetc.c:216:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fsl_enetc.c:249:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/hns3.c:699:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/hns3.c:747:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/hns3.c:813:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODATA [valueFlowBailoutIncompleteVar] ethtool-6.15/ibm_emac.c:173:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/ibm_emac.c:243:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/ibm_emac.c:256:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/ibm_emac.c:262:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/ibm_emac.c:269:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/ibm_emac.c:269:3: portability: %d in format string (no. 3) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/ibm_emac.c:280:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/ibm_emac.c:293:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/ibm_emac.c:305:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/ibm_emac.c:51:6: style: struct member 'emac_regs::ptr' is never used. [unusedStructMember] ethtool-6.15/igb.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/ibm_emac.c:146:6: style: struct member 'tah_regs::pad' is never used. [unusedStructMember] ethtool-6.15/dsa.c:39:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:58:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:72:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:75:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:78:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:115:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:118:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:122:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:127:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:130:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:133:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:153:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:156:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:159:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:162:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:165:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:168:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:171:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:174:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:177:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:180:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:183:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:186:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:189:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:192:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:201:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:204:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:207:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:210:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:213:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:216:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:219:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:222:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:225:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:228:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:231:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:234:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:237:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:240:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:243:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:246:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:249:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:252:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:261:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:278:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:295:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:298:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:301:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:338:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:341:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:345:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:350:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:353:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:356:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:378:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:381:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:384:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:387:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:390:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:393:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:396:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:399:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:402:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:405:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:408:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:411:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:414:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:417:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:420:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:423:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:426:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:429:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:432:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:435:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:451:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:460:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:463:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:466:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:482:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:499:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:505:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:508:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:511:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:514:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:517:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:533:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:549:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:560:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:571:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:574:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:577:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:580:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:583:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:586:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:589:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:606:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:615:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:633:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:652:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:655:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:658:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:695:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:699:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:703:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:709:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:712:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:715:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:738:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:741:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:744:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:747:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:750:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:753:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:756:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:759:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:762:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:765:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:768:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:771:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:774:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:777:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:780:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/dsa.c:783:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/igc.c:183:3: portability: %d in format string (no. 5) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:200:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:200:2: portability: %d in format string (no. 5) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:200:2: portability: %d in format string (no. 8) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:200:2: portability: %d in format string (no. 11) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:200:2: portability: %d in format string (no. 14) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:200:2: portability: %d in format string (no. 17) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:200:2: portability: %d in format string (no. 20) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:200:2: portability: %d in format string (no. 23) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:263:3: portability: %d in format string (no. 4) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:263:3: portability: %d in format string (no. 6) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/igc.c:97:43: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] ethtool-6.15/igc.c:102:7: style: Variable 'regs_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/ixgb.c:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/ixgb.c:44:7: style: Variable 'regs_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/ixgbe.c:192:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/ixgbevf.c:16:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/igb.c:94:7: style: Variable 'regs_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/ixgbevf.c:9:7: style: Variable 'regs_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/json_print.c:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:120:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:121:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:122:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:123:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:124:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:125:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:126:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:127:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:128:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:145:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:166:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:184:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:202:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_print.c:221:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/json_writer.c:233:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] ethtool-6.15/json_writer.c:238:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] ethtool-6.15/json_writer.c:258:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] ethtool-6.15/json_writer.c:201:43: style:inconclusive: Function 'jsonw_bool' argument 2 names different: declaration 'value' definition 'val'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:35:43: note: Function 'jsonw_bool' argument 2 names different: declaration 'value' definition 'val'. ethtool-6.15/json_writer.c:201:43: note: Function 'jsonw_bool' argument 2 names different: declaration 'value' definition 'val'. ethtool-6.15/json_writer.c:211:46: style:inconclusive: Function 'jsonw_float' argument 2 names different: declaration 'number' definition 'num'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:36:46: note: Function 'jsonw_float' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:211:46: note: Function 'jsonw_float' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:221:51: style:inconclusive: Function 'jsonw_hu' argument 2 names different: declaration 'number' definition 'num'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:42:51: note: Function 'jsonw_hu' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:221:51: note: Function 'jsonw_hu' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:226:51: style:inconclusive: Function 'jsonw_uint' argument 2 names different: declaration 'number' definition 'num'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:38:51: note: Function 'jsonw_uint' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:226:51: note: Function 'jsonw_uint' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:231:46: style:inconclusive: Function 'jsonw_u64' argument 2 names different: declaration 'number' definition 'num'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:39:46: note: Function 'jsonw_u64' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:231:46: note: Function 'jsonw_u64' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:236:47: style:inconclusive: Function 'jsonw_xint' argument 2 names different: declaration 'number' definition 'num'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:40:47: note: Function 'jsonw_xint' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:236:47: note: Function 'jsonw_xint' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:251:41: style:inconclusive: Function 'jsonw_int' argument 2 names different: declaration 'number' definition 'num'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:43:41: note: Function 'jsonw_int' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:251:41: note: Function 'jsonw_int' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:256:45: style:inconclusive: Function 'jsonw_s64' argument 2 names different: declaration 'number' definition 'num'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:44:45: note: Function 'jsonw_s64' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:256:45: note: Function 'jsonw_s64' argument 2 names different: declaration 'number' definition 'num'. ethtool-6.15/json_writer.c:268:67: style:inconclusive: Function 'jsonw_bool_field' argument 3 names different: declaration 'value' definition 'val'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:51:67: note: Function 'jsonw_bool_field' argument 3 names different: declaration 'value' definition 'val'. ethtool-6.15/json_writer.c:268:67: note: Function 'jsonw_bool_field' argument 3 names different: declaration 'value' definition 'val'. ethtool-6.15/json_writer.c:274:70: style:inconclusive: Function 'jsonw_float_field' argument 3 names different: declaration 'num' definition 'val'. [funcArgNamesDifferent] ethtool-6.15/json_writer.h:52:70: note: Function 'jsonw_float_field' argument 3 names different: declaration 'num' definition 'val'. ethtool-6.15/json_writer.c:274:70: note: Function 'jsonw_float_field' argument 3 names different: declaration 'num' definition 'val'. ethtool-6.15/json_print.c:131:36: style:inconclusive: Function 'print_string' argument 1 names different: declaration 't' definition 'type'. [funcArgNamesDifferent] ethtool-6.15/json_print.h:55:1: note: Function 'print_string' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/json_print.c:131:36: note: Function 'print_string' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/json_print.c:155:34: style:inconclusive: Function 'print_bool' argument 1 names different: declaration 't' definition 'type'. [funcArgNamesDifferent] ethtool-6.15/json_print.h:53:1: note: Function 'print_bool' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/json_print.c:155:34: note: Function 'print_bool' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/json_print.c:173:35: style:inconclusive: Function 'print_0xhex' argument 1 names different: declaration 't' definition 'type'. [funcArgNamesDifferent] ethtool-6.15/json_print.h:61:1: note: Function 'print_0xhex' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/json_print.c:173:35: note: Function 'print_0xhex' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/json_print.c:176:23: style:inconclusive: Function 'print_0xhex' argument 4 names different: declaration 'value' definition 'hex'. [funcArgNamesDifferent] ethtool-6.15/json_print.h:61:1: note: Function 'print_0xhex' argument 4 names different: declaration 'value' definition 'hex'. ethtool-6.15/json_print.c:176:23: note: Function 'print_0xhex' argument 4 names different: declaration 'value' definition 'hex'. ethtool-6.15/json_print.c:188:33: style:inconclusive: Function 'print_hex' argument 1 names different: declaration 't' definition 'type'. [funcArgNamesDifferent] ethtool-6.15/json_print.h:60:1: note: Function 'print_hex' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/json_print.c:188:33: note: Function 'print_hex' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/json_print.c:191:22: style:inconclusive: Function 'print_hex' argument 4 names different: declaration 'value' definition 'hex'. [funcArgNamesDifferent] ethtool-6.15/json_print.h:60:1: note: Function 'print_hex' argument 4 names different: declaration 'value' definition 'hex'. ethtool-6.15/json_print.c:191:22: note: Function 'print_hex' argument 4 names different: declaration 'value' definition 'hex'. ethtool-6.15/json_print.c:210:34: style:inconclusive: Function 'print_null' argument 1 names different: declaration 't' definition 'type'. [funcArgNamesDifferent] ethtool-6.15/json_print.h:54:1: note: Function 'print_null' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/json_print.c:210:34: note: Function 'print_null' argument 1 names different: declaration 't' definition 'type'. ethtool-6.15/lan743x.c:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/lan743x.c:37:7: style: Variable 'lan743x_reg' can be declared as pointer to const [constVariablePointer] ethtool-6.15/lan78xx.c:10:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/lan78xx.c:8:16: style: Variable 'lan78xx_reg' can be declared as pointer to const [constVariablePointer] ethtool-6.15/marvell.c:66:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/marvell.c:242:30: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] ethtool-6.15/marvell.c:338:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ethtool-6.15/marvell.c:324:7: style: struct member 'sky2_queue::rss' is never used. [unusedStructMember] ethtool-6.15/marvell.c:330:7: style: struct member 'sky2_queue::length' is never used. [unusedStructMember] ethtool-6.15/marvell.c:331:7: style: struct member 'sky2_queue::vlan' is never used. [unusedStructMember] ethtool-6.15/marvell.c:332:7: style: struct member 'sky2_queue::rsvd1' is never used. [unusedStructMember] ethtool-6.15/marvell.c:335:7: style: struct member 'sky2_queue::rsvd2' is never used. [unusedStructMember] ethtool-6.15/marvell.c:336:7: style: struct member 'sky2_queue::req_count' is never used. [unusedStructMember] ethtool-6.15/module-common.c:217:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/module-common.c:245:50: style: Parameter 'given_json_fn' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/netlink.h:153:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALTIFNAMSIZ [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.h:168:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETLINK_GENERIC [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.h:175:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETLINK_ROUTE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/bitset.c:19:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_BITSET_SIZE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/bitset.c:49:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_BITSET_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/bitset.c:112:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_BITSET_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/bitset.c:169:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_BITSET_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/bitset.c:189:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_BITSET_VALUE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/bitset.c:194:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_BITSET_MASK [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/bitset.c:200:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_BITSET_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/natsemi.c:288:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/natsemi.c:332:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/natsemi.c:974:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/bitset.c:216:13: style: Variable 'val_bm' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/bitset.c:217:13: style: Variable 'mask_bm' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/netlink.h:127:77: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] ethtool-6.15/ixgbe.c:174:7: style: Variable 'regs_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/natsemi.c:440:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:440:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:440:2: portability: %d in format string (no. 3) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:440:2: portability: %d in format string (no. 4) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:469:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:469:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:549:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:641:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:645:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:649:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:653:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:657:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:661:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:665:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:728:2: portability: %d in format string (no. 3) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:728:2: portability: %d in format string (no. 5) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:742:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:767:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:874:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:879:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:907:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/natsemi.c:383:36: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/natsemi.c:683:35: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/natsemi.c:822:39: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/natsemi.c:920:37: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ethtool-6.15/natsemi.c:329:7: style: Variable 'data' can be declared as pointer to const [constVariablePointer] ethtool-6.15/natsemi.c:970:7: style: Variable 'eebuf' can be declared as pointer to const [constVariablePointer] ethtool-6.15/natsemi.c:384:19: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ethtool-6.15/natsemi.c:456:21: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ethtool-6.15/natsemi.c:482:21: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ethtool-6.15/natsemi.c:542:23: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ethtool-6.15/natsemi.c:559:19: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ethtool-6.15/natsemi.c:591:20: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ethtool-6.15/natsemi.c:615:23: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ethtool-6.15/netlink/cable_test.c:23:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_CABLE_RESULT_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:45:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_CABLE_FAULT_LENGTH_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:167:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_CABLE_TEST_NTF_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:225:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNL_CB_STOP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:235:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_MSG_CABLE_TEST_NTF [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:311:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_CABLE_AMPLITUDE_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:331:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_CABLE_PULSE_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:349:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_CABLE_STEP_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:435:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_CABLE_TEST_TDR_NTF_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:494:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNL_CB_STOP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:505:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_MSG_CABLE_TEST_TDR_NTF [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:587:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/channels.c:20:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_CHANNELS_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/channels.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/channels.c:122:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/coalesce.c:20:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_COALESCE_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/coalesce.c:112:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/coalesce.c:306:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/cable_test.c:259:9: style: Condition '!ctctx.breakout' is always true [knownConditionTrueFalse] ethtool-6.15/netlink/cable_test.c:256:19: note: Assignment 'ctctx.breakout=false', assigned value is 0 ethtool-6.15/netlink/cable_test.c:262:7: note: Assuming condition is false ethtool-6.15/netlink/cable_test.c:259:9: note: Condition '!ctctx.breakout' is always true ethtool-6.15/netlink/cable_test.c:531:9: style: Condition '!ctctx.breakout' is always true [knownConditionTrueFalse] ethtool-6.15/netlink/cable_test.c:528:19: note: Assignment 'ctctx.breakout=false', assigned value is 0 ethtool-6.15/netlink/cable_test.c:534:7: note: Assuming condition is false ethtool-6.15/netlink/cable_test.c:531:9: note: Condition '!ctctx.breakout' is always true ethtool-6.15/netlink/cable_test.c:244:62: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/cable_test.c:516:66: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/eee.c:23:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_EEE_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/eee.c:100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/eee.c:165:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/features.c:35:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_FEATURES_HW [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/features.c:128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFAULT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/features.c:207:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_FEATURES_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/features.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/features.c:291:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_BITSET_BITS_BIT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/features.c:351:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMSGSIZE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/features.c:420:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_SS_FEATURES [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/features.c:482:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_FEATURES_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/features.c:518:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/fec.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_LINK_MODE_FEC_NONE_BIT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/fec.c:49:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_FEC_STAT_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/fec.c:122:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_FEC_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/fec.c:209:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/fec.c:245:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_GSTRING_LEN [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/fec.c:329:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/mm.c:41:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_MM_STAT_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/mm.c:101:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_MM_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/mm.c:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/mm.c:239:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/fec.c:69:13: style: Variable 'vals' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/fec.c:240:43: style: Parameter 'dest' can be declared as pointer to const. However it seems that 'fec_parse_bitset' is a callback function, if 'dest' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ethtool-6.15/netlink/fec.c:315:14: note: You might need to cast the function pointer here ethtool-6.15/netlink/fec.c:240:43: note: Parameter 'dest' can be declared as pointer to const ethtool-6.15/netlink/module-eeprom.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module-eeprom.c:125:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_MODULE_EEPROM_DATA [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module-eeprom.c:164:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module-eeprom.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module-eeprom.c:260:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_MODULE_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module.c:101:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module.c:147:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module.c:207:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_MODULE_FW_FLASH_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module.c:284:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_MSG_MODULE_FW_FLASH_NTF [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module.c:303:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module.c:329:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/monitor.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ETHTOOL_MSG_KERNEL_CNT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/monitor.c:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNL_CB_OK [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/monitor.c:242:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/monitor.c:262:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/monitor.c:310:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/module.c:292:63: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/module-eeprom.c:107:2: error: Memory leak: entry [memleak] ethtool-6.15/netlink/monitor.c:109:21: style: Variable 'nlctx' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/module-eeprom.c:128:6: style: Variable 'eeprom_data' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/module-eeprom.c:155:44: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/monitor.c:125:11: style: struct member 'monitor_option::info_mask' is never used. [unusedStructMember] ethtool-6.15/netlink/monitor.c:226:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] ethtool-6.15/netlink/msgbuff.c:40:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNL_SOCKET_BUFFER_SIZE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/msgbuff.c:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENL_HDRLEN [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/msgbuff.c:152:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_HEADER_DEV_NAME [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/msgbuff.c:221:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNL_SOCKET_BUFFER_SIZE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/msgbuff.c:256:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_GENL_VERSION [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/msgbuff.c:63:2: error: Memory leak: nbuff [memleak] ethtool-6.15/netlink/msgbuff.c:252:33: style: Parameter 'nlctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/netlink.c:23:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MNL_CB_OK [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_HEADER_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:62:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_HEADER_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:116:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENL_CMD_CAP_DO [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:158:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_ATTR_POLICY_DO [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:184:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL_POLICY_TYPE_ATTR_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:260:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_ACK [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:282:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_MSG_USER_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:303:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:333:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_ATTR_MCAST_GRP_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:361:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENL_HDRLEN [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:394:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_ACK [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:418:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:482:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALTIFNAMSIZ [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/nlsock.c:27:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLMSG_HDRLEN [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/nlsock.c:55:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLMSG_HDRLEN [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/nlsock.c:104:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLMSG_MIN_TYPE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/nlsock.c:156:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/nlsock.c:174:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLMSGERR_ATTR_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/nlsock.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLMSG_HDRLEN [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/nlsock.c:280:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_REQUEST [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/nlsock.c:323:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_REQUEST [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/nlsock.c:400:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/netlink.c:33:46: style: Parameter 'data' can be declared as pointer to const. However it seems that 'attr_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ethtool-6.15/netlink/netlink.c:339:41: note: You might need to cast the function pointer here ethtool-6.15/netlink/netlink.c:33:46: note: Parameter 'data' can be declared as pointer to const ethtool-6.15/netlink/netlink.c:469:21: style: Variable 'nlctx' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/nlsock.c:346:68: style:inconclusive: Function 'nlsock_sendmsg' argument 2 names different: declaration '__msgbuff' definition 'altbuff'. [funcArgNamesDifferent] ethtool-6.15/netlink/nlsock.h:43:68: note: Function 'nlsock_sendmsg' argument 2 names different: declaration '__msgbuff' definition 'altbuff'. ethtool-6.15/netlink/nlsock.c:346:68: note: Function 'nlsock_sendmsg' argument 2 names different: declaration '__msgbuff' definition 'altbuff'. ethtool-6.15/netlink/nlsock.c:346:68: style: Parameter 'altbuff' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/parser.c:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:64:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:117:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:143:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:431:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:476:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:540:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:605:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:685:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMSGSIZE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:785:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMSGSIZE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:862:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:887:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:1031:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/permaddr.c:21:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_REQUEST [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/permaddr.c:62:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IFLA_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pause.c:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_LINK_MODE_Pause_BIT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pause.c:39:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_LINKMODES_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pause.c:111:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_PAUSE_STAT_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pause.c:167:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_PAUSE_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pause.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pause.c:302:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/permaddr.c:25:20: style: Variable 'ifinfo' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/permaddr.c:102:37: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/permaddr.c:44:9: style: Variable 'ifinfo' is assigned a value that is never used. [unreadVariable] ethtool-6.15/netlink/pause.c:43:21: style: Variable 'nlctx' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/phy.c:29:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_PHY_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/phy.c:100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/phy.c:89:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] ethtool-6.15/netlink/plca.c:22:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_PLCA_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/plca.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/plca.c:196:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/plca.c:236:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_PLCA_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/plca.c:281:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/parser.c:17:57: style: Parameter 'nlctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/parser.c:23:53: style: Parameter 'nlctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/parser.c:29:52: style: Parameter 'nlctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/parser.c:40:57: style: Parameter 'nlctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/parser.c:46:56: style: Parameter 'nlctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/parser.c:857:42: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/parser.c:882:11: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/parser.c:1026:18: style: Variable 'nest' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/prettymsg.c:69:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLA_F_NESTED [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/prettymsg.c:208:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENL_HDRLEN [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/prettymsg.c:241:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTM_BASE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/plca.c:64:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/netlink/plca.c:76:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/netlink/plca.c:93:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/netlink/plca.c:103:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/netlink/plca.c:114:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ethtool-6.15/netlink/privflags.c:53:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_PRIVFLAGS_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/privflags.c:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/privflags.c:128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pse-pd.c:272:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_C33_PSE_PW_LIMIT_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pse-pd.c:309:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_PSE_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pse-pd.c:435:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/pse-pd.c:501:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/prettymsg.c:159:7: warning: Either the condition 'adesc' is redundant or there is possible null pointer dereference: adesc. [nullPointerRedundantCheck] ethtool-6.15/netlink/prettymsg.c:164:7: note: Assuming that condition 'adesc' is not redundant ethtool-6.15/netlink/prettymsg.c:159:7: note: Null pointer dereference ethtool-6.15/netlink/prettymsg.c:26:43: style: Parameter 'adata' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/prettymsg.c:37:42: style: Parameter 'adata' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/privflags.c:41:16: style: Variable 'maxlen' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/rings.c:20:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_RINGS_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/rings.c:103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/rings.c:218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/rss.c:60:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RXH_XFRM_SYM_XOR [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/rss.c:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_GRXRINGS [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/rss.c:98:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_RSS_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/rss.c:220:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/rings.c:24:8: style: Variable 'tcp_hds_fmt' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/rings.c:25:8: style: Variable 'tcp_hds_key' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/rss.c:216:7: style: Redundant initialization for 'nlsk'. The initialized value is overwritten before it is read. [redundantInitialization] ethtool-6.15/netlink/rss.c:207:25: note: nlsk is initialized ethtool-6.15/netlink/rss.c:216:7: note: nlsk is overwritten ethtool-6.15/netlink/rss.c:22:45: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/rss.c:22:55: style: Parameter 'indir_table' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/rss.c:23:24: style: Parameter 'hkey' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/stats.c:22:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_STATS_GRP_HIST_VAL [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/stats.c:93:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_STATS_GRP_SS_ID [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/stats.c:170:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_STATS_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/stats.c:233:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFAULT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:235:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_LINK_MODE_Pause_BIT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:270:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_BITSET_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:510:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_LINKMODES_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:600:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_LINKINFO_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:772:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_LINKSTATE_EXT_SUBSTATE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:789:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_LINKSTATE_EXT_STATE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:809:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_LINKSTATE_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:877:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_WOL_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:932:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_DEBUG_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:975:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_PLCA_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:1016:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_PLCA_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:1075:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:1332:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_LINKMODES_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:1387:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_LINKMODES_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:1431:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/stats.c:225:13: style: Parameter 'dest' can be declared as pointer to const. However it seems that 'stats_parse_all_groups' is a callback function, if 'dest' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ethtool-6.15/netlink/stats.c:290:14: note: You might need to cast the function pointer here ethtool-6.15/netlink/stats.c:225:13: note: Parameter 'dest' can be declared as pointer to const ethtool-6.15/netlink/stats.c:330:40: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/netlink/strset.c:46:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_STRINGSET_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/strset.c:133:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_STRSET_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/strset.c:183:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_STRSET_STRINGSETS [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/strset.c:207:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_ACK [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/strset.c:229:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_SS_COUNT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/strset.c:243:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_SS_COUNT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/strset.c:286:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_SS_COUNT [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/strset.c:135:21: style: Variable 'nlctx' can be declared as pointer to const [constVariablePointer] ethtool-6.15/netlink/tsconfig.c:26:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_TSCONFIG_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tsconfig.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tsconfig.c:123:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tsinfo.c:35:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_TS_HWTSTAMP_PROVIDER_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tsinfo.c:57:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_TS_STAT_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tsinfo.c:149:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_TSINFO_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tsinfo.c:222:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWTSTAMP_PROVIDER_QUALIFIER_PRECISE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tsinfo.c:257:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tunnels.c:32:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_SS_UDP_TUNNEL_TYPES [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tunnels.c:41:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_TUNNEL_UDP_ENTRY_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tunnels.c:122:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_TUNNEL_UDP_TABLE_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tunnels.c:176:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_TUNNEL_UDP_TABLE [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tunnels.c:190:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_A_TUNNEL_INFO_MAX [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/tunnels.c:224:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] ethtool-6.15/netlink/settings.c:330:8: style: The statement 'if (first) first=false' is logically equivalent to 'first=false'. [duplicateConditionalAssign] ethtool-6.15/netlink/settings.c:331:11: note: Assignment 'first=false' ethtool-6.15/netlink/settings.c:330:8: note: Condition 'first' is redundant ethtool-6.15/netlink/settings.c:220:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/netlink/tunnels.c:70:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/netlink/tsinfo.c:110:13: style: Parameter 'data' can be declared as pointer to const. However it seems that 'tsinfo_dump_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ethtool-6.15/netlink/tsinfo.c:144:36: note: You might need to cast the function pointer here ethtool-6.15/netlink/tsinfo.c:110:13: note: Parameter 'data' can be declared as pointer to const ethtool-6.15/realtek.c:228:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/realtek.c:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/pcnet32.c:24:47: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] ethtool-6.15/pcnet32.c:29:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ethtool-6.15/qsfp.c:542:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_MODULE_SFF_8636 [valueFlowBailoutIncompleteVar] ethtool-6.15/qsfp.c:1072:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/qsfp.c:763:8: style: Variable 'rx_power_type_string' can be declared as pointer to const [constVariablePointer] ethtool-6.15/rxclass.c:26:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:63:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLOW_EXT [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:286:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLOW_EXT [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:319:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_GRXCLSRLCNT [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:337:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_GRXCLSRULE [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:364:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:418:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:481:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:506:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:589:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RX_CLS_LOC_SPECIAL [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:614:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_SRXCLSRLDEL [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:938:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:953:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:965:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:973:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:981:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ALEN [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:1076:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHTOOL_RX_FLOW_SPEC_RING_VF [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:1250:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ALEN [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:1285:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCP_V4_FLOW [valueFlowBailoutIncompleteVar] ethtool-6.15/realtek.c:247:7: style: Variable 'data' can be declared as pointer to const [constVariablePointer] ethtool-6.15/realtek.c:248:6: style: Variable 'data8' can be declared as pointer to const [constVariablePointer] ethtool-6.15/realtek.c:250:20: style: Variable 'ci' can be declared as pointer to const [constVariablePointer] ethtool-6.15/sff-common.c:71:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_MODULE_SFF_8472 [valueFlowBailoutIncompleteVar] ethtool-6.15/rxclass.c:462:29: style: Condition '!~(rmgr->slot[slot_num])' is always false [knownConditionTrueFalse] ethtool-6.15/rxclass.c:42:45: style: Parameter 'sip' can be declared as pointer to const [constParameterPointer] ethtool-6.15/rxclass.c:42:58: style: Parameter 'sipm' can be declared as pointer to const [constParameterPointer] ethtool-6.15/rxclass.c:42:72: style: Parameter 'dip' can be declared as pointer to const [constParameterPointer] ethtool-6.15/rxclass.c:43:17: style: Parameter 'dipm' can be declared as pointer to const [constParameterPointer] ethtool-6.15/rxclass.c:83:18: style: Variable 'dmac' can be declared as pointer to const [constVariablePointer] ethtool-6.15/rxclass.c:83:25: style: Variable 'dmacm' can be declared as pointer to const [constVariablePointer] ethtool-6.15/rxclass.c:100:17: style: Variable 'smac' can be declared as pointer to const [constVariablePointer] ethtool-6.15/rxclass.c:100:24: style: Variable 'smacm' can be declared as pointer to const [constVariablePointer] ethtool-6.15/rxclass.c:100:32: style: Variable 'dmac' can be declared as pointer to const [constVariablePointer] ethtool-6.15/rxclass.c:100:39: style: Variable 'dmacm' can be declared as pointer to const [constVariablePointer] ethtool-6.15/rxclass.c:933:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ethtool-6.15/rxclass.c:948:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ethtool-6.15/rxclass.c:963:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ethtool-6.15/rxclass.c:971:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ethtool-6.15/rxclass.c:979:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ethtool-6.15/sfpdiag.c:244:8: style: Variable 'rx_power_type_string' can be declared as pointer to const [constVariablePointer] ethtool-6.15/sfc.c:3803:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/sfc.c:3822:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/sfc.c:3852:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/smsc911x.c:10:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/smsc911x.c:8:16: style: Variable 'smsc_reg' can be declared as pointer to const [constVariablePointer] ethtool-6.15/sfpid.c:309:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_MODULE_SFF_8472 [valueFlowBailoutIncompleteVar] ethtool-6.15/sfpid.c:511:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_MODULE_SFF_8472_LEN [valueFlowBailoutIncompleteVar] ethtool-6.15/stmmac.c:27:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/stmmac.c:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/stmmac.c:25:16: style: Variable 'stmmac_reg' can be declared as pointer to const [constVariablePointer] ethtool-6.15/stmmac.c:58:16: style: Variable 'stmmac_reg' can be declared as pointer to const [constVariablePointer] ethtool-6.15/sfpid.c:496:6: style: Condition '!ret' is always false [knownConditionTrueFalse] ethtool-6.15/sfpid.c:517:6: style: Condition 'ret' is always true [knownConditionTrueFalse] ethtool-6.15/sfpid.c:533:6: style: Condition 'ret' is always true [knownConditionTrueFalse] ethtool-6.15/sfc.c:3893:39: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] ethtool-6.15/sfc.c:3894:29: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] ethtool-6.15/test-cmdline.c:334:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/test-cmdline.c:305:36: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ethtool-6.15/test-cmdline.c:305:62: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] ethtool-6.15/test-common.c:140:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ethtool-6.15/test-common.c:270:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_IOCTL_MISMATCH [valueFlowBailoutIncompleteVar] ethtool-6.15/test-common.c:328:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ethtool-6.15/test-common.c:197:15: warning: Either the condition 'fd>=0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] ethtool-6.15/test-common.c:187:9: note: Assuming that condition 'fd>=0' is not redundant ethtool-6.15/test-common.c:197:15: note: Invalid argument ethtool-6.15/test-common.c:161:2: error: Memory leak: node [memleak] ethtool-6.15/test-common.c:180:2: error: Memory leak: node [memleak] ethtool-6.15/test-common.c:216:2: error: Memory leak: node [memleak] ethtool-6.15/test-common.c:109:2: error: Common realloc mistake: 'block' nulled but not freed upon failure [memleakOnRealloc] ethtool-6.15/test-common.c:155:3: error: Resource leak: node.fd [resourceLeak] ethtool-6.15/test-common.c:174:3: error: Resource leak: node.fd [resourceLeak] ethtool-6.15/test-features.c:506:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_IOCTL_MISMATCH [valueFlowBailoutIncompleteVar] ethtool-6.15/test-features.c:542:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/test-features.c:542:4: portability: %zu in format string (no. 2) requires 'size_t' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_uint] ethtool-6.15/test-features.c:19:6: style: struct member 'Anonymous3::data' is never used. [unusedStructMember] ethtool-6.15/test-features.c:183:5: style: struct member 'Anonymous4::data' is never used. [unusedStructMember] ethtool-6.15/tg3.c:13:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/tg3.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/tg3.c:8:30: style: Parameter 'ee' can be declared as pointer to const [constParameterPointer] ethtool-6.15/tg3.c:27:26: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] ethtool-6.15/tse.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/tse.c:49:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/tse.c:53:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/tse.c:53:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/tse.c:75:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] ethtool-6.15/tse.c:32:7: style: Variable 'tsereg' can be declared as pointer to const [constVariablePointer] ethtool-6.15/vioc.c:14:44: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] ethtool-6.15/vioc.c:19:20: style: Variable 'reg_info' can be declared as pointer to const [constVariablePointer] ethtool-6.15/vmxnet3.c:16:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/vmxnet3.c:9:7: style: Variable 'regs_buff' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:5554:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:5587:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:5712:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:5807:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:6290:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:6739:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:7439:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:7569:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:7951:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:8121:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:9188:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:9960:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:9998:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:10008:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:10037:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:10209:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:10632:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:11569:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:12285:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:12652:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:13522:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:21551:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:22392:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:24389:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:25394:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:25496:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ethtool-6.15/fbnic.c:5747:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:5756:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12173:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12173:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12173:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12180:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12180:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12234:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12234:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12234:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12241:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12241:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12309:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12349:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12390:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12400:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12410:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12420:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12430:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12440:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12458:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12468:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12514:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12529:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12544:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12559:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12569:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12579:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12589:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:12599:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:23760:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:23811:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:23818:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:23885:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24255:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24262:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24269:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24276:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24283:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24290:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24297:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24304:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24311:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24318:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24389:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24419:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24433:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24463:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24474:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24485:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24532:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24543:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24550:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24575:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24590:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24601:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24612:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24619:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24626:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24633:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24640:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24647:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:24654:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ethtool-6.15/fbnic.c:5900:6: style: Variable 'm' is reassigned a value before the old one has been used. [redundantAssignment] ethtool-6.15/fbnic.c:5895:6: note: m is assigned ethtool-6.15/fbnic.c:5900:6: note: m is overwritten ethtool-6.15/fbnic.c:5577:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:5702:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:5796:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:6279:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:6728:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:7427:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:7558:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:7941:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:8111:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:9177:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:10027:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:10199:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:10622:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:11558:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:12275:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:12642:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:13512:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:21541:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:22382:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] ethtool-6.15/fbnic.c:25383:12: style: Variable 'section_start' can be declared as pointer to const [constVariablePointer] diff: 2.18.0 ethtool-6.15/ibm_emac.c:108:8: style: struct member 'Anonymous8::tpc' is never used. [unusedStructMember] 2.18.0 ethtool-6.15/ibm_emac.c:70:8: style: struct member 'Anonymous5::rsvd0' is never used. [unusedStructMember] 2.18.0 ethtool-6.15/ibm_emac.c:89:8: style: struct member 'Anonymous8::rsvd1' is never used. [unusedStructMember] 2.18.0 ethtool-6.15/ibm_emac.c:91:8: style: struct member 'Anonymous8::rsvd2' is never used. [unusedStructMember] head ethtool-6.15/netlink/netlink.c:33:46: style: Parameter 'data' can be declared as pointer to const. However it seems that 'attr_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ethtool-6.15/netlink/netlink.c:339:41: note: You might need to cast the function pointer here ethtool-6.15/netlink/netlink.c:33:46: note: Parameter 'data' can be declared as pointer to const head ethtool-6.15/sfc.c:3893:39: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] DONE