2025-10-16 16:22 ftp://ftp.de.debian.org/debian/pool/main/f/fcoe-utils/fcoe-utils_1.0.34.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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: 7828eb5 (2025-10-15 23:40:19 +0200) count: 251 248 elapsed-time: 0.6 0.6 head-timing-info: old-timing-info: head results: fcoe-utils-1.0.34/fcoeadm.c:59:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCOE_UTILS_VERSION [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm.c:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMONCONN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm.c:109:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm.c:139:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm.c:189:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm.c:225:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcnsq.c:168:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FC_BSG_HST_CT [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcnsq.c:205:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ct_rev [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcnsq.c:236:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcnsq.c:257:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcnsq.c:280:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ct_rev [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcnsq.c:318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ct_rev [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcnsq.c:404:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoemon.c:1371:31: error: syntax error [syntaxError] fcoe-utils-1.0.34/fcnsq.c:376:26: style: Parameter 'argv' can be declared as const array [constParameter] fcoe-utils-1.0.34/fcoeadm_display.c:106:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:326:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:495:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:517:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTERR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:614:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTERR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:662:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:725:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:835:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:844:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_STR_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:872:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_STR_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:892:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:909:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:932:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm.c:76:69: style: Parameter 'clif_info' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm.c:105:24: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm.c:129:61: style: Parameter 'clif_info' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm.c:182:44: style: Parameter 'ifname' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm.c:92:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] fcoe-utils-1.0.34/fcrls.c:232:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELS_RJT_VENDOR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcrls.c:245:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FC_BSG_RPT_ELS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcrls.c:274:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcrls.c:308:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcrls.c:335:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcrls.c:354:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcrls.c:390:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcrls.c:422:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcrls.c:434:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcrls.c:206:52: style: Parameter 'lesb' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcrls.c:225:42: style: Parameter 'rjt' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcrls.c:243:23: style: Variable 'reply' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcrls.c:272:58: style: Parameter 'rpi' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcrls.c:432:26: style: Parameter 'argv' can be declared as const array [constParameter] fcoe-utils-1.0.34/fcrls.c:267:2: error: Uninitialized variable: reply [uninitvar] fcoe-utils-1.0.34/fcrls.c:243:31: note: Assignment 'reply=(struct fc_bsg_reply*)sense', assigned value is fcoe-utils-1.0.34/fcrls.c:267:2: note: Uninitialized variable: reply fcoe-utils-1.0.34/fcping.c:84:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:264:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:351:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:377:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:477:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:577:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FC_CT_REV [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:641:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FC_NS_GID_PN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:686:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable net32_t [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:740:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable net32_t [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:795:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable net32_t [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:836:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FC_BSG_HST_ELS_NOLOGIN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:880:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:972:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcping.c:994:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:118:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:172:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list_node [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:188:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list_node [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:204:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list_node [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:215:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list_node [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:255:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIP_TLV_MAC_ADDR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:296:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIP_TLV_MAC_ADDR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:339:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIP_PROTO_VLAN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:372:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IFLA_MAX [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:548:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:605:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:672:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCOE_CREATE_VN2VN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:691:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCHOSTBUFLEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:729:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCOE_BUS_CREATE [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:745:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list_node [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:759:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:789:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable revents [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:834:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIP_NONE [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:863:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list_node [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:896:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list_node [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:941:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list_node [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:960:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_capget [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:966:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _LINUX_CAPABILITY_VERSION_3 [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fipvlan.c:989:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sa_log_prefix [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:26:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:57:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_STR_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOFCOECONN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:106:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:129:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCHOSTBUFLEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:148:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:175:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFAIL [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:225:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:254:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOFCOECONN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:292:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fcoe_utils.c:104:48: style: Parameter 'ifname' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/lib/fcoe_utils.c:176:8: style: Variable 'symb' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/fip.c:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fip.c:106:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_MR_UNICAST [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fip.c:127:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_ADDR_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fip.c:147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_ADDR_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fip.c:165:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_ADDR_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fip.c:184:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fip.c:206:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_PACKET [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fip.c:259:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_PACKET [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fip.c:325:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_PACKET [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/fip.c:399:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/fcoeadm_display.c:448:16: style: The statement 'if (link[ret]!='\0') link[ret]='\0'' is logically equivalent to 'link[ret]='\0''. [duplicateConditionalAssign] fcoe-utils-1.0.34/fcoeadm_display.c:449:13: note: Assignment 'link[ret]='\0'' fcoe-utils-1.0.34/fcoeadm_display.c:448:16: note: Condition 'link[ret]!='\0'' is redundant fcoe-utils-1.0.34/fcoeadm_display.c:700:16: style: The statement 'if (link[ret]!='\0') link[ret]='\0'' is logically equivalent to 'link[ret]='\0''. [duplicateConditionalAssign] fcoe-utils-1.0.34/fcoeadm_display.c:701:13: note: Assignment 'link[ret]='\0'' fcoe-utils-1.0.34/fcoeadm_display.c:700:16: note: Condition 'link[ret]!='\0'' is redundant fcoe-utils-1.0.34/fcoeadm_display.c:714:16: style: The statement 'if (ifname[i]!='\0') ifname[i]='\0'' is logically equivalent to 'ifname[i]='\0''. [duplicateConditionalAssign] fcoe-utils-1.0.34/fcoeadm_display.c:715:13: note: Assignment 'ifname[i]='\0'' fcoe-utils-1.0.34/fcoeadm_display.c:714:16: note: Condition 'ifname[i]!='\0'' is redundant fcoe-utils-1.0.34/fcoeadm_display.c:309:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcoe-utils-1.0.34/fcoeadm_display.c:322:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcoe-utils-1.0.34/fcoeadm_display.c:394:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcoe-utils-1.0.34/fcoeadm_display.c:394:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcoe-utils-1.0.34/fcoeadm_display.c:514:61: style:inconclusive: Function 'display_port_stats' argument 2 names different: declaration 'stat_interval' definition 'interval'. [funcArgNamesDifferent] fcoe-utils-1.0.34/fcoeadm_display.h:35:13: note: Function 'display_port_stats' argument 2 names different: declaration 'stat_interval' definition 'interval'. fcoe-utils-1.0.34/fcoeadm_display.c:514:61: note: Function 'display_port_stats' argument 2 names different: declaration 'stat_interval' definition 'interval'. fcoe-utils-1.0.34/fcoeadm_display.c:930:11: style:inconclusive: Function 'display_port_lesb_stats' argument 2 names different: declaration 'stat_interval' definition 'interval'. [funcArgNamesDifferent] fcoe-utils-1.0.34/fcoeadm_display.h:37:11: note: Function 'display_port_lesb_stats' argument 2 names different: declaration 'stat_interval' definition 'interval'. fcoe-utils-1.0.34/fcoeadm_display.c:930:11: note: Function 'display_port_lesb_stats' argument 2 names different: declaration 'stat_interval' definition 'interval'. fcoe-utils-1.0.34/fcoeadm_display.c:101:50: style: Parameter 'rp_info' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm_display.c:109:44: style: Parameter 'hba_info' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm_display.c:121:52: style: Parameter 'lp_info' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm_display.c:156:33: style: Parameter 'rp_info' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm_display.c:158:8: style: Variable 'ifname' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:188:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:216:8: style: Variable 'abbr' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:249:8: style: Variable 'osname' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:250:8: style: Variable 'capstr' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:256:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:341:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:350:8: style: Variable 'osname' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:403:36: style: Parameter 'd_name' can be declared as pointer to const. However it seems that 'list_scsi_device' is a callback function, if 'd_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcoe-utils-1.0.34/fcoeadm_display.c:428:23: note: You might need to cast the function pointer here fcoe-utils-1.0.34/fcoeadm_display.c:403:36: note: Parameter 'd_name' can be declared as pointer to const fcoe-utils-1.0.34/fcoeadm_display.c:409:8: style: Variable 'last' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:431:38: style: Parameter 'rport' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm_display.c:435:8: style: Variable 'substr' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:492:34: style: Parameter 'port_stats' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm_display.c:581:40: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'crawl_vports' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcoe-utils-1.0.34/fcoeadm_display.c:607:20: note: You might need to cast the function pointer here fcoe-utils-1.0.34/fcoeadm_display.c:581:40: note: Parameter 'dp' can be declared as pointer to const fcoe-utils-1.0.34/fcoeadm_display.c:583:8: style: Variable 'oldpath' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:681:42: style: Parameter 'rport' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fcoeadm_display.c:775:8: style: Variable 'offs' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcoeadm_display.c:792:41: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'search_rports' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcoe-utils-1.0.34/fcoeadm_display.c:833:45: note: You might need to cast the function pointer here fcoe-utils-1.0.34/fcoeadm_display.c:792:41: note: Parameter 'dp' can be declared as pointer to const fcoe-utils-1.0.34/fcoeadm_display.c:867:61: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'print_interface_fcoe_fcf_device' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcoe-utils-1.0.34/fcoeadm_display.c:897:37: note: You might need to cast the function pointer here fcoe-utils-1.0.34/fcoeadm_display.c:867:61: note: Parameter 'arg' can be declared as pointer to const fcoe-utils-1.0.34/fcoeadm_display.c:904:61: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'print_interface_fcoe_lesb_stats' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcoe-utils-1.0.34/fcoeadm_display.c:946:6: note: You might need to cast the function pointer here fcoe-utils-1.0.34/fcoeadm_display.c:904:61: note: Parameter 'arg' can be declared as pointer to const fcoe-utils-1.0.34/fcoeadm_display.c:906:27: style: Variable 'ctlr' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/fip.c:78:5: style: Redundant initialization for 'rc'. The initialized value is overwritten before it is read. [redundantInitialization] fcoe-utils-1.0.34/lib/fip.c:68:9: note: rc is initialized fcoe-utils-1.0.34/lib/fip.c:78:5: note: rc is overwritten fcoe-utils-1.0.34/lib/fip.c:51:44: style: Parameter 'mac' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/lib/fip.c:125:65: style: Parameter 'mac' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/lib/fip.c:410:17: style: Variable 'eth' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/fip.c:371:30: error: Uninitialized variable: eh [uninitvar] fcoe-utils-1.0.34/lib/rtnetlink.c:58:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlmsg_len [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:138:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_MULTI [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:200:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlmsg_len [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:248:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlmsg_len [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:296:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlmsg_len [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:348:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlmsg_len [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:376:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IFLA_MAX [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:416:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IFLA_MAX [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:469:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:482:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_log.c:169:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_LOGF_TIME [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_log.c:195:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_log.c:170:3: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] fcoe-utils-1.0.34/lib/rtnetlink.c:175:24: warning:inconclusive: Possible null pointer dereference: data [nullPointer] fcoe-utils-1.0.34/lib/rtnetlink.c:508:39: note: Calling function 'add_rtattr', 3rd argument 'NULL' value is 0 fcoe-utils-1.0.34/lib/rtnetlink.c:175:24: note: Null pointer dereference fcoe-utils-1.0.34/lib/rtnetlink.c:516:5: style: Redundant initialization for 'rc'. The initialized value is overwritten before it is read. [redundantInitialization] fcoe-utils-1.0.34/lib/rtnetlink.c:482:9: note: rc is initialized fcoe-utils-1.0.34/lib/rtnetlink.c:516:5: note: rc is overwritten fcoe-utils-1.0.34/lib/rtnetlink.c:192:63: style: Parameter 'ifname' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/lib/rtnetlink.c:240:65: style: Parameter 'ifname' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/lib/rtnetlink.c:288:74: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/lib/rtnetlink.c:340:60: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/lib/rtnetlink.c:170:23: portability: '(void*)(n)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcoe-utils-1.0.34/lib/rtnetlink.c:181:24: portability: '(void*)(n)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcoe-utils-1.0.34/lib/rtnetlink.c:189:26: portability: '(void*)(n)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcoe-utils-1.0.34/lib/rtnetlink.c:550:29: portability: '(void*)((char*)(rta)+NLA_HDRLEN)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcoe-utils-1.0.34/lib/sa_other.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASSERT_NOTREACHED [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/rtnetlink.c:197:8: style: struct member 'Anonymous1::attrbuf' is never used. [unusedStructMember] fcoe-utils-1.0.34/lib/rtnetlink.c:245:8: style: struct member 'Anonymous2::attrbuf' is never used. [unusedStructMember] fcoe-utils-1.0.34/lib/rtnetlink.c:293:8: style: struct member 'Anonymous3::attrbuf' is never used. [unusedStructMember] fcoe-utils-1.0.34/lib/rtnetlink.c:345:8: style: struct member 'Anonymous4::attrbuf' is never used. [unusedStructMember] fcoe-utils-1.0.34/lib/sa_other.c:52:15: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fipvlan.c:168:40: style: Parameter 'mac' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fipvlan.c:212:51: style: Parameter 'vlan' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/fipvlan.c:335:68: style: Parameter 'sa' can be declared as pointer to const. However it seems that 'fip_vlan_handler' is a callback function, if 'sa' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcoe-utils-1.0.34/fipvlan.c:794:30: note: You might need to cast the function pointer here fcoe-utils-1.0.34/fipvlan.c:335:68: note: Parameter 'sa' can be declared as pointer to const fcoe-utils-1.0.34/fipvlan.c:740:14: style: Variable 'iff' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fipvlan.c:270:24: portability: '(void*)tlv' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcoe-utils-1.0.34/fipvlan.c:189:36: error: Uninitialized variable: iff->ifindex [uninitvar] fcoe-utils-1.0.34/fipvlan.c:216:17: error: Uninitialized variable: real_dev->ifindex [uninitvar] fcoe-utils-1.0.34/fipvlan.c:746:25: error: Uninitialized variable: fcf->ifindex [uninitvar] fcoe-utils-1.0.34/fipvlan.c:864:35: error: Uninitialized variables: iff.ps, iff.ifindex, iff.iflink, iff.running, iff.is_vlan, iff.vid, iff.linkup_sent, iff.req_sent, iff.resp_recv, iff.fip_ready, iff.fcoe_started, iff.vlans [uninitvar] fcoe-utils-1.0.34/fipvlan.c:920:16: error: Uninitialized variable: vlan->running [uninitvar] fcoe-utils-1.0.34/fipvlan.c:942:12: error: Uninitialized variable: iff->linkup_sent [uninitvar] fcoe-utils-1.0.34/lib/sa_sys.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_sys.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_sys.c:108:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_sys.c:131:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_sys.c:153:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_sys.c:175:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_select.c:75:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sa_timer.c:127:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_TIMER_UNITS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/libopenfcoe.c:27:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAC_ADDR_STRLEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/libopenfcoe.c:46:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAC_ADDR_STRLEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/libopenfcoe.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/libopenfcoe.c:94:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcoe_fcf_device [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/libopenfcoe.c:126:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_STR_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/libopenfcoe.c:171:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_STR_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/libopenfcoe.c:182:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_STR_LEN [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:106:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_STATUS [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:228:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_REVISION_ID [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:280:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hba_info [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:313:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_RPORT_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:351:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_HOST_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:390:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_HOST_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:436:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_NET_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:498:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_HOST_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:533:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_HOST_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:567:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_RPORT_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:601:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_NET_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:639:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_NET_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/lib/sysfs_hba.c:689:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSFS_HOST_DIR [valueFlowBailoutIncompleteVar] fcoe-utils-1.0.34/libopenfcoe.c:59:9: style: Parameter 'dname' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/libopenfcoe.c:59:22: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/libopenfcoe.c:178:49: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'read_fcoe_ctlr_device' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcoe-utils-1.0.34/libopenfcoe.c:265:36: note: You might need to cast the function pointer here fcoe-utils-1.0.34/libopenfcoe.c:178:49: note: Parameter 'dp' can be declared as pointer to const fcoe-utils-1.0.34/libopenfcoe.c:186:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/libopenfcoe.c:186:13: style: Variable 'ifname' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:455:20: style: The statement 'if (realdev[len]!='\0') realdev[len]='\0'' is logically equivalent to 'realdev[len]='\0''. [duplicateConditionalAssign] fcoe-utils-1.0.34/lib/sysfs_hba.c:456:17: note: Assignment 'realdev[len]='\0'' fcoe-utils-1.0.34/lib/sysfs_hba.c:455:20: note: Condition 'realdev[len]!='\0'' is redundant fcoe-utils-1.0.34/lib/sysfs_hba.c:480:11: style: Condition 'cp' is always true [knownConditionTrueFalse] fcoe-utils-1.0.34/lib/sysfs_hba.c:475:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] fcoe-utils-1.0.34/lib/sysfs_hba.c:475:9: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] fcoe-utils-1.0.34/lib/sysfs_hba.c:475:9: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] fcoe-utils-1.0.34/lib/sysfs_hba.c:475:9: warning: %x in format string (no. 4) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] fcoe-utils-1.0.34/lib/sysfs_hba.c:48:58: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:52:8: style: Variable 'rport' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:67:59: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:70:8: style: Variable 'target' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:208:8: style: Variable 'unknown' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:444:9: style: Variable 'subif' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:491:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:527:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:561:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:598:8: style: Variable 'ctlr' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/lib/sysfs_hba.c:629:8: style: Variable 'host' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcping.c:977:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] fcoe-utils-1.0.34/fcping.c:84:2: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] fcoe-utils-1.0.34/fcping.c:100:2: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] fcoe-utils-1.0.34/fcping.c:551:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcoe-utils-1.0.34/fcping.c:551:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcoe-utils-1.0.34/fcping.c:551:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcoe-utils-1.0.34/fcping.c:893:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcoe-utils-1.0.34/fcping.c:929:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcoe-utils-1.0.34/fcping.c:274:13: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcping.c:573:12: style: Variable 'uct' can be declared as pointer to const [constVariablePointer] fcoe-utils-1.0.34/fcping.c:903:9: style: Variable 'usec' is assigned a value that is never used. [unreadVariable] diff: head fcoe-utils-1.0.34/fcoeadm_display.c:867:61: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'print_interface_fcoe_fcf_device' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcoe-utils-1.0.34/fcoeadm_display.c:897:37: note: You might need to cast the function pointer here fcoe-utils-1.0.34/fcoeadm_display.c:867:61: note: Parameter 'arg' can be declared as pointer to const head fcoe-utils-1.0.34/fcoeadm_display.c:904:61: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'print_interface_fcoe_lesb_stats' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcoe-utils-1.0.34/fcoeadm_display.c:946:6: note: You might need to cast the function pointer here fcoe-utils-1.0.34/fcoeadm_display.c:904:61: note: Parameter 'arg' can be declared as pointer to const head fcoe-utils-1.0.34/lib/sysfs_hba.c:208:8: style: Variable 'unknown' can be declared as pointer to const [constVariablePointer] DONE