2025-11-25 21:56 ftp://ftp.de.debian.org/debian/pool/main/d/dlm/dlm_4.3.0.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.57+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: 796b181 (2025-11-25 16:14:10 +0100) count: 878 875 elapsed-time: 2.2 2.3 head-timing-info: old-timing-info: head results: dlm-4.3.0/dlm_controld/rbtree.h:286:16: style: Expression is always true because 'else if' condition is opposite to previous condition at line 282. [multiCondition] dlm-4.3.0/dlm_controld/rbtree.h:282:9: note: first condition dlm-4.3.0/dlm_controld/rbtree.h:286:16: note: else if condition is opposite to first condition dlm-4.3.0/dlm_controld/list.h:69:6: style: Condition '!__list_add_valid(new,prev,next)' is always false [knownConditionTrueFalse] dlm-4.3.0/dlm_controld/list.h:69:23: note: Calling function '__list_add_valid' returns 1 dlm-4.3.0/dlm_controld/list.h:69:6: note: Condition '!__list_add_valid(new,prev,next)' is always false dlm-4.3.0/dlm_controld/list.h:134:6: style: Condition '!__list_del_entry_valid(entry)' is always false [knownConditionTrueFalse] dlm-4.3.0/dlm_controld/list.h:134:29: note: Calling function '__list_del_entry_valid' returns 1 dlm-4.3.0/dlm_controld/list.h:134:6: note: Condition '!__list_del_entry_valid(entry)' is always false dlm-4.3.0/dlm_controld/list.h:47:55: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/list.h:48:23: style: Parameter 'prev' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/list.h:49:23: style: Parameter 'next' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/list.h:53:61: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/list.h:436:55: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/list.h:617:20: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/list.h:149:16: portability: '(void*)0x100' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/list.h:150:16: portability: '(void*)0x122' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/action.c:31:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:60:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:120:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:175:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:223:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:236:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:251:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:424:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:444:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:476:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:497:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:521:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:576:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:701:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:718:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:760:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:941:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/action.c:946:7: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] dlm-4.3.0/dlm_controld/action.c:133:29: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/action.c:143:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/action.c:153:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/action.c:163:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/action.c:173:37: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/action.c:177:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/action.c:206:46: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/action.c:425:27: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/action.c:428:8: style: Variable 'saddr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/action.c:446:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/action.c:849:8: style: Variable 'proto_name' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:219:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:230:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:241:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:257:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:328:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:405:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:453:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:484:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:556:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:585:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:604:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:625:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:658:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:666:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:701:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:739:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:765:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:806:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:859:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:993:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1008:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1025:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1072:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1169:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1186:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1196:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1219:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1237:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1246:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1308:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1341:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1382:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodeid [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1464:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodeid [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1498:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1744:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DISPATCH_ALL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1760:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_MODEL_V1 [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1832:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_TRY_AGAIN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1852:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESRCH [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1876:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1972:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1985:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:2014:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:149:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodeid [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:276:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_TYPE_AGREED [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:419:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:430:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:453:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:514:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:556:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:588:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodeid [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:607:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodeid [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:694:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:728:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:739:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:879:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:1338:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODATA [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:1451:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECANCELED [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:1538:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECANCELED [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:1590:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodeid [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:1616:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodeid [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:1902:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2174:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2198:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2281:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodeid [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2467:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DISPATCH_ALL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2494:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPG_MODEL_V1 [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2534:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2561:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ERR_TRY_AGAIN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2632:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2655:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2715:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NOSIGNAL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/config.c:503:7: style: Condition '!o' is always false [knownConditionTrueFalse] dlm-4.3.0/dlm_controld/config.c:71:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/config.c:129:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/config.c:152:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/config.c:167:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/config.c:182:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/config.c:52:8: style: Variable 'k' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/config.c:106:8: style: Variable 'k' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:125:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:141:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:158:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfgd_enable_deadlk [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:170:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:252:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:285:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:347:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:445:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:493:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:557:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:572:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_RESNAME_MAXLEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:701:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_RESNAME_MAXLEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:839:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:845:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:851:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:867:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:879:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:906:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:942:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:962:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1011:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1042:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1066:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1073:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1095:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfgd_enable_deadlk [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1146:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1170:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1200:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1306:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1360:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1380:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1413:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1429:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1478:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1512:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/deadlock.c:1521:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/fence.c:21:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/fence.c:136:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/fence.c:191:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/fence.c:11:41: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/fence_config.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/fence_config.c:244:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/cpg.c:1079:8: style: Condition 'ls->need_plocks' is always true [knownConditionTrueFalse] dlm-4.3.0/dlm_controld/cpg.c:177:20: style: Redundant assignment of 'li->ls_info_size' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/cpg.c:178:20: style: Redundant assignment of 'li->id_info_size' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/cpg.c:179:20: style: Redundant assignment of 'li->id_info_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/cpg.c:180:20: style: Redundant assignment of 'li->started_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/cpg.c:181:20: style: Redundant assignment of 'li->member_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/cpg.c:182:20: style: Redundant assignment of 'li->joined_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/cpg.c:183:20: style: Redundant assignment of 'li->remove_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/cpg.c:184:20: style: Redundant assignment of 'li->failed_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/cpg.c:189:13: style: Redundant assignment of 'id->nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/cpg.c:192:36: style: Parameter 'li' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/cpg.c:208:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:219:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:230:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:241:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:245:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:257:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:265:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:328:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:354:27: style: Parameter 'cg' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/cpg.c:370:21: style: Parameter 'cg' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/cpg.c:388:21: style: Parameter 'cg' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/cpg.c:488:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:556:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:585:22: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:591:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:604:12: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:609:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:610:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:613:4: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:625:22: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:739:22: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:743:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:765:22: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:779:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:806:22: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:810:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:841:43: style: Parameter 'li' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/cpg.c:845:17: style: Variable 'memb' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:993:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1006:17: style: Variable 'memb' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1008:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1169:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1208:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1219:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1237:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1246:22: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1259:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1308:7: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1341:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1437:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1518:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1874:22: style: Variable 'last' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1909:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1912:7: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1930:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1931:15: style: Variable 'n' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1972:8: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1985:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:1994:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:2014:9: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:2018:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:2030:8: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:2042:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:2045:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/cpg.c:208:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:219:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:230:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:241:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:245:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:257:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:265:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:328:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:488:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:556:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:585:22: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:591:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:604:12: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:609:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:610:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:613:4: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:625:22: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:739:22: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:743:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:765:22: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:779:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:806:22: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:810:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:993:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1008:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1169:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1208:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1219:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1237:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1246:22: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1259:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1308:7: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1341:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1437:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1518:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1909:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1912:7: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1972:8: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1985:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:1994:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:2014:9: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:2018:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:2030:8: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:2042:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/cpg.c:2045:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:373:8: warning: %u in format string (no. 4) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dlm-4.3.0/dlm_controld/deadlock.c:1067:1: error: Memory leak: node [memleak] dlm-4.3.0/dlm_controld/fence_config.c:353:16: warning: Either the condition 'd>=4' is redundant or the array 'fc->dev[4]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] dlm-4.3.0/dlm_controld/fence_config.c:349:8: note: Assuming that condition 'd>=4' is not redundant dlm-4.3.0/dlm_controld/fence_config.c:353:16: note: Array index out of bounds dlm-4.3.0/dlm_controld/fence_config.c:127:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/fence_config.c:160:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/fence_config.c:266:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/fence_config.c:93:8: style: Variable 'k' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/fence_config.c:105:71: style: Parameter 'dev_line' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/fence_config.c:231:75: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/fence_config.c:318:48: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/fence_config.c:319:27: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/fence_config.c:398:60: style: Parameter 'extra' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/fence_config.c:403:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:425:17: style: Redundant assignment of 'lock->xid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/deadlock.c:426:17: style: Redundant assignment of 'lock->id' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/deadlock.c:427:17: style: Redundant assignment of 'lock->nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/deadlock.c:428:17: style: Redundant assignment of 'lock->remid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/deadlock.c:429:17: style: Redundant assignment of 'lock->ownpid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/deadlock.c:430:17: style: Redundant assignment of 'lock->exflags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/deadlock.c:431:17: style: Redundant assignment of 'lock->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/deadlock.c:125:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:126:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:141:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:166:65: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:170:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:240:50: style: Parameter 'lock' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:245:69: style: Parameter 'lock' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:252:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:261:51: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:326:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:445:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:726:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:729:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:775:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:881:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:883:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:908:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:922:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:936:72: style: Parameter 'hd' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:946:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:956:67: style: Parameter 'hd' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:971:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:984:41: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:984:64: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:997:65: style: Parameter 'hd' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:1017:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1025:67: style: Parameter 'hd' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:1073:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1146:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1147:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1170:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1200:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1202:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1216:20: style: Parameter 'granted_lkb' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:1233:37: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:1233:55: style: Parameter 'add_tr' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:1246:43: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:1306:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1307:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1314:4: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1360:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1380:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1413:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1433:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1472:42: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/deadlock.c:1484:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:1514:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/deadlock.c:125:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:126:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:141:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:170:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:252:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:445:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:726:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:729:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:775:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:881:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:883:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:908:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:922:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:946:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:971:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1017:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1073:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1146:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1147:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1170:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1200:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1202:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1306:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1307:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1314:4: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1360:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1380:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1413:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1433:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1484:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:1514:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/deadlock.c:557:25: error: Uninitialized variable: name [uninitvar] dlm-4.3.0/dlm_controld/deadlock.c:581:25: error: Uninitialized variable: name [uninitvar] dlm-4.3.0/dlm_controld/deadlock.c:707:25: error: Uninitialized variable: name [uninitvar] dlm-4.3.0/dlm_controld/helper.c:91:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/helper.c:127:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/helper.c:210:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/helper.c:225:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/helper.c:256:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/helper.c:291:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:279:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dlm-4.3.0/dlm_controld/daemon_cpg.c:725:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dlm-4.3.0/dlm_controld/lib.c:32:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/lib.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/lib.c:72:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/lib.c:107:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/lib.c:471:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_WAITALL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/lib.c:768:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/lib.c:837:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/lib.c:935:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/lib.c:956:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:2643:7: style: Condition 'str_len' is always true [knownConditionTrueFalse] dlm-4.3.0/dlm_controld/daemon_cpg.c:2638:36: note: Calling function 'print_state_daemon_node' returns !<=0 dlm-4.3.0/dlm_controld/daemon_cpg.c:2643:7: note: Condition 'str_len' is always true dlm-4.3.0/dlm_controld/daemon_cpg.c:2666:7: style: Condition 'str_len' is always true [knownConditionTrueFalse] dlm-4.3.0/dlm_controld/daemon_cpg.c:2661:36: note: Calling function 'print_state_daemon_node' returns !<=0 dlm-4.3.0/dlm_controld/daemon_cpg.c:2666:7: note: Condition 'str_len' is always true dlm-4.3.0/dlm_controld/daemon_cpg.c:2716:6: style: Condition 'str_len' is always true [knownConditionTrueFalse] dlm-4.3.0/dlm_controld/daemon_cpg.c:2711:30: note: Calling function 'print_state_daemon' returns !<=0 dlm-4.3.0/dlm_controld/daemon_cpg.c:2716:6: note: Condition 'str_len' is always true dlm-4.3.0/dlm_controld/daemon_cpg.c:2189:2: error: Memory leak: run [memleak] dlm-4.3.0/dlm_controld/daemon_cpg.c:308:11: style: Redundant assignment of 'hd->type' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:310:18: style: Redundant assignment of 'hd->to_nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:312:18: style: Redundant assignment of 'hd->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:313:18: style: Redundant assignment of 'hd->msgdata' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:314:18: style: Redundant assignment of 'hd->msgdata2' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:327:11: style: Redundant assignment of 'hd->type' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:329:18: style: Redundant assignment of 'hd->to_nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:330:18: style: Redundant assignment of 'hd->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:331:18: style: Redundant assignment of 'hd->msgdata' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:332:18: style: Redundant assignment of 'hd->msgdata2' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:339:18: style: Redundant assignment of 'hd->version[0]' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:340:18: style: Redundant assignment of 'hd->version[1]' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:341:18: style: Redundant assignment of 'hd->version[2]' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:342:18: style: Redundant assignment of 'hd->type' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:343:18: style: Redundant assignment of 'hd->nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:344:18: style: Redundant assignment of 'hd->to_nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:345:18: style: Redundant assignment of 'hd->global_id' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:346:18: style: Redundant assignment of 'hd->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:347:18: style: Redundant assignment of 'hd->msgdata' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:348:18: style: Redundant assignment of 'hd->msgdata2' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:353:21: style: Redundant assignment of 'info->dest_nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:354:21: style: Redundant assignment of 'info->start_nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:355:21: style: Redundant assignment of 'info->local_pid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:356:21: style: Redundant assignment of 'info->local_result' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:357:21: style: Redundant assignment of 'info->need_replies' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:358:21: style: Redundant assignment of 'info->reply_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:359:21: style: Redundant assignment of 'info->fail_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:360:21: style: Redundant assignment of 'info->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:365:21: style: Redundant assignment of 'info->dest_nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:366:21: style: Redundant assignment of 'info->start_nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:367:21: style: Redundant assignment of 'info->local_pid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:368:21: style: Redundant assignment of 'info->local_result' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:369:21: style: Redundant assignment of 'info->need_replies' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:370:21: style: Redundant assignment of 'info->reply_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:371:21: style: Redundant assignment of 'info->fail_count' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:372:21: style: Redundant assignment of 'info->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1311:21: style: Redundant assignment of 'fr->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1312:21: style: Redundant assignment of 'fr->nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1313:21: style: Redundant assignment of 'fr->result' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1314:21: style: Redundant assignment of 'fr->fence_walltime' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1418:21: style: Redundant assignment of 'fr->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1419:21: style: Redundant assignment of 'fr->nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1420:21: style: Redundant assignment of 'fr->result' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1421:21: style: Redundant assignment of 'fr->fence_walltime' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1548:12: style: Redundant assignment of 'pv->major' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1549:12: style: Redundant assignment of 'pv->minor' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1550:12: style: Redundant assignment of 'pv->patch' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1551:12: style: Redundant assignment of 'pv->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1556:12: style: Redundant assignment of 'pv->major' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1557:12: style: Redundant assignment of 'pv->minor' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1558:12: style: Redundant assignment of 'pv->patch' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:1559:12: style: Redundant assignment of 'pv->flags' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/daemon_cpg.c:419:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:430:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:439:22: style: Variable 'node' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:453:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:460:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:471:22: style: Variable 'node' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:514:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:575:22: style: Variable 'node' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:583:59: style: Parameter 'daemon_list' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:739:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:879:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:938:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1001:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1092:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1221:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1230:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1583:22: style: Variable 'node' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1864:44: style: Parameter 'proto' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2198:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2317:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2371:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2389:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2534:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2570:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2586:56: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2632:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2655:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/logging.c:24:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/logging.c:34:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL4 [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/logging.c:212:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/daemon_cpg.c:419:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:430:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:453:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:460:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:514:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:739:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:879:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:938:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1001:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1092:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1221:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:1230:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2198:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2317:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2371:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2389:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2534:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2570:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2632:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/daemon_cpg.c:2655:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/logging.c:203:44: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dlm-4.3.0/dlm_controld/logging.c:92:49: style: Parameter 'log_buf' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/logging.c:93:22: style: Parameter 'point' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/logging.c:93:43: style: Parameter 'wrap' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/logging.c:162:14: style: Variable 'namelen' is assigned a value that is never used. [unreadVariable] dlm-4.3.0/dlm_controld/helper.c:372:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dlm-4.3.0/dlm_controld/helper.c:372:5: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dlm-4.3.0/dlm_controld/helper.c:407:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dlm-4.3.0/dlm_controld/helper.c:407:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dlm-4.3.0/dlm_controld/helper.c:437:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dlm-4.3.0/dlm_controld/helper.c:437:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dlm-4.3.0/dlm_controld/helper.c:83:36: style: Parameter 'uuid' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/helper.c:111:48: style: Parameter 'uuid' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/helper.c:247:40: style: Parameter 'running' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/helper.c:278:21: style: Variable 'hd' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/member.c:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/member.c:209:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/member.c:266:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DISPATCH_ALL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/member.c:278:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DISPATCH_ONE [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/member.c:298:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUORUM_MODEL_V1 [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/member.c:338:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COROSYNC_CFG_SHUTDOWN_FLAG_IMMEDIATE [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/member.c:348:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COROSYNC_CFG_SHUTDOWN_FLAG_REQUEST [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/member.c:368:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DISPATCH_ALL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/member.c:384:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OK [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/member.c:428:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAP_KEYNAME_MAXLEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/lib.c:399:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dlm-4.3.0/dlm_controld/lib.c:605:26: style:inconclusive: Function 'dlmc_node_info' argument 1 names different: declaration 'lsname' definition 'name'. [funcArgNamesDifferent] dlm-4.3.0/dlm_controld/libdlmcontrol.h:89:26: note: Function 'dlmc_node_info' argument 1 names different: declaration 'lsname' definition 'name'. dlm-4.3.0/dlm_controld/lib.c:605:26: note: Function 'dlmc_node_info' argument 1 names different: declaration 'lsname' definition 'name'. dlm-4.3.0/dlm_controld/lib.c:643:31: style:inconclusive: Function 'dlmc_lockspace_info' argument 1 names different: declaration 'lsname' definition 'name'. [funcArgNamesDifferent] dlm-4.3.0/dlm_controld/libdlmcontrol.h:88:31: note: Function 'dlmc_lockspace_info' argument 1 names different: declaration 'lsname' definition 'name'. dlm-4.3.0/dlm_controld/lib.c:643:31: note: Function 'dlmc_lockspace_info' argument 1 names different: declaration 'lsname' definition 'name'. dlm-4.3.0/dlm_controld/lib.c:643:60: style:inconclusive: Function 'dlmc_lockspace_info' argument 2 names different: declaration 'ls' definition 'lockspace'. [funcArgNamesDifferent] dlm-4.3.0/dlm_controld/libdlmcontrol.h:88:62: note: Function 'dlmc_lockspace_info' argument 2 names different: declaration 'ls' definition 'lockspace'. dlm-4.3.0/dlm_controld/lib.c:643:60: note: Function 'dlmc_lockspace_info' argument 2 names different: declaration 'ls' definition 'lockspace'. dlm-4.3.0/dlm_controld/lib.c:732:32: style:inconclusive: Function 'dlmc_lockspace_nodes' argument 1 names different: declaration 'lsname' definition 'name'. [funcArgNamesDifferent] dlm-4.3.0/dlm_controld/libdlmcontrol.h:92:32: note: Function 'dlmc_lockspace_nodes' argument 1 names different: declaration 'lsname' definition 'name'. dlm-4.3.0/dlm_controld/lib.c:732:32: note: Function 'dlmc_lockspace_nodes' argument 1 names different: declaration 'lsname' definition 'name'. dlm-4.3.0/dlm_controld/lib.c:41:35: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/lib.c:96:63: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/lib.c:200:27: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/lib.c:246:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/lib.c:328:45: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/lib.c:355:51: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/lib.c:607:25: style: Variable 'rh' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/lib.c:645:25: style: Variable 'rh' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/lib.c:735:25: style: Variable 'rh' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/lib.c:893:26: style: Parameter 'run_command' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/lib.c:945:26: style: Parameter 'run_uuid' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/node_config.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/node_config.c:42:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/member.c:38:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/member.c:78:23: style: Variable 'node' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/member.c:87:32: style: Parameter 'node_list' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/member.c:38:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/main.c:100:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:133:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:143:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:188:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:207:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:213:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:230:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:243:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:272:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:309:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:336:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:386:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:439:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:493:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:591:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:612:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:624:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:639:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:651:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EALREADY [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:664:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:710:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:815:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:864:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:875:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:913:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NOSIGNAL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:927:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NOSIGNAL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:978:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NOSIGNAL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:992:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NOSIGNAL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1007:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1056:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1076:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1119:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1278:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1297:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1435:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1552:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1635:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1707:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1929:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:1993:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RELEASE_VERSION [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/main.c:2192:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RELEASE_VERSION [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:237:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:504:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:525:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LSFL_NEWEXCL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:540:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LSFL_NEWEXCL [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:566:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:667:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:682:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:908:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:984:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1041:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1068:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1249:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLMC_LF_SAVE_PLOCKS [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1281:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLMC_NF_NEED_FENCING [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1344:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLMC_NODES_MEMBERS [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1385:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLMC_NF_DISALLOWED [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1402:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLMC_NF_START [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1422:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlmc_lockspace [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1478:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLMC_DUMP_SIZE [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1498:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1541:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLMC_DUMP_SIZE [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1571:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLMC_FLAG_RUN_START_NODE_NONE [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_tool/main.c:1692:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/rbtree.c:229:18: style: Variable 'node' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/rbtree.c:422:52: style: Parameter 'node' can be declared as pointer to const. However it seems that 'dummy_propagate' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dlm-4.3.0/dlm_controld/rbtree.c:427:15: note: You might need to cast the function pointer here dlm-4.3.0/dlm_controld/rbtree.c:422:52: note: Parameter 'node' can be declared as pointer to const dlm-4.3.0/dlm_controld/rbtree.c:422:74: style: Parameter 'stop' can be declared as pointer to const. However it seems that 'dummy_propagate' is a callback function, if 'stop' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dlm-4.3.0/dlm_controld/rbtree.c:427:15: note: You might need to cast the function pointer here dlm-4.3.0/dlm_controld/rbtree.c:422:74: note: Parameter 'stop' can be declared as pointer to const dlm-4.3.0/dlm_controld/rbtree.c:423:47: style: Parameter 'old' can be declared as pointer to const. However it seems that 'dummy_copy' is a callback function, if 'old' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dlm-4.3.0/dlm_controld/rbtree.c:428:10: note: You might need to cast the function pointer here dlm-4.3.0/dlm_controld/rbtree.c:423:47: note: Parameter 'old' can be declared as pointer to const dlm-4.3.0/dlm_controld/rbtree.c:423:68: style: Parameter 'new' can be declared as pointer to const. However it seems that 'dummy_copy' is a callback function, if 'new' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dlm-4.3.0/dlm_controld/rbtree.c:428:10: note: You might need to cast the function pointer here dlm-4.3.0/dlm_controld/rbtree.c:423:68: note: Parameter 'new' can be declared as pointer to const dlm-4.3.0/dlm_controld/rbtree.c:424:49: style: Parameter 'old' can be declared as pointer to const. However it seems that 'dummy_rotate' is a callback function, if 'old' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dlm-4.3.0/dlm_controld/rbtree.c:442:39: note: You might need to cast the function pointer here dlm-4.3.0/dlm_controld/rbtree.c:424:49: note: Parameter 'old' can be declared as pointer to const dlm-4.3.0/dlm_controld/rbtree.c:424:70: style: Parameter 'new' can be declared as pointer to const. However it seems that 'dummy_rotate' is a callback function, if 'new' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dlm-4.3.0/dlm_controld/rbtree.c:442:39: note: You might need to cast the function pointer here dlm-4.3.0/dlm_controld/rbtree.c:424:70: note: Parameter 'new' can be declared as pointer to const dlm-4.3.0/dlm_controld/rbtree_augmented.h:168:35: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/fence/stonith_helper.c:34:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dlm-4.3.0/fence/stonith_helper.c:79:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dlm-4.3.0/fence/stonith_helper.c:43:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_controld/plock.c:152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_PLOCK_OP_UNLOCK [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:170:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:258:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:276:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:428:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:454:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:528:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:591:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:654:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:678:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:690:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlm_plock_info [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:702:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:732:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:754:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:791:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_PLOCK_FL_CLOSE [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:861:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:911:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1013:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlm_plock_info [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1075:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1126:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1141:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1155:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1278:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1301:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1355:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1419:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1476:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1507:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1559:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1644:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1709:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1804:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1869:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:1905:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:2029:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:2057:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/dlm_controld/plock.c:2112:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:329:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlm_device_version [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:397:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:414:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:474:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_USER_LVB_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:534:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlm_lock_result [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:673:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:695:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:720:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_RESNAME_MAXLEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:788:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlm_write_request [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:860:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:894:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:992:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_USER_UNLOCK [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1013:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_USER_UNLOCK [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1036:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1078:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1239:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LOCKSPACE_LEN [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1263:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlm_write_request [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1288:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1347:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_LSFL_TIMEWARN [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1361:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_USER_REMOVE_LOCKSPACE [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1373:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_USER_REMOVE_LOCKSPACE [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1390:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1443:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:1490:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLM_DEVICE_VERSION_MAJOR [valueFlowBailoutIncompleteVar] dlm-4.3.0/libdlm/libdlm.c:354:7: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/libdlm/libdlm.c:1462:3: error: Resource leak: newls.fd [resourceLeak] dlm-4.3.0/libdlm/libdlm.c:441:24: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] dlm-4.3.0/libdlm/libdlm.c:440:14: note: Assuming allocation function fails dlm-4.3.0/libdlm/libdlm.c:440:14: note: Assignment 'd=opendir("/dev/misc/")', assigned value is 0 dlm-4.3.0/libdlm/libdlm.c:441:24: note: Null pointer dereference dlm-4.3.0/libdlm/libdlm.c:391:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dlm-4.3.0/libdlm/libdlm.c:880:33: style:inconclusive: Function 'dlm_ls_lockx' argument 1 names different: declaration 'lockspace' definition 'ls'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:174:40: note: Function 'dlm_ls_lockx' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:880:33: note: Function 'dlm_ls_lockx' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:905:32: style:inconclusive: Function 'dlm_ls_lock' argument 1 names different: declaration 'lockspace' definition 'ls'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:162:39: note: Function 'dlm_ls_lock' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:905:32: note: Function 'dlm_ls_lock' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:924:37: style:inconclusive: Function 'dlm_ls_lock_wait' argument 1 names different: declaration 'lockspace' definition 'ls'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:193:44: note: Function 'dlm_ls_lock_wait' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:924:37: note: Function 'dlm_ls_lock_wait' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:1029:34: style:inconclusive: Function 'dlm_ls_unlock' argument 1 names different: declaration 'lockspace' definition 'ls'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:187:41: note: Function 'dlm_ls_unlock' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:1029:34: note: Function 'dlm_ls_unlock' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:1055:39: style:inconclusive: Function 'dlm_ls_unlock_wait' argument 1 names different: declaration 'lockspace' definition 'ls'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:204:46: note: Function 'dlm_ls_unlock_wait' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:1055:39: note: Function 'dlm_ls_unlock_wait' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:1106:33: style:inconclusive: Function 'dlm_ls_purge' argument 1 names different: declaration 'lockspace' definition 'ls'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:213:40: note: Function 'dlm_ls_purge' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:1106:33: note: Function 'dlm_ls_purge' argument 1 names different: declaration 'lockspace' definition 'ls'. dlm-4.3.0/libdlm/libdlm.c:1175:34: style:inconclusive: Function 'dlm_ls_get_fd' argument 1 names different: declaration 'ls' definition 'lockspace'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:145:41: note: Function 'dlm_ls_get_fd' argument 1 names different: declaration 'ls' definition 'lockspace'. dlm-4.3.0/libdlm/libdlm.c:1175:34: note: Function 'dlm_ls_get_fd' argument 1 names different: declaration 'ls' definition 'lockspace'. dlm-4.3.0/libdlm/libdlm.c:1478:34: style:inconclusive: Function 'dlm_kernel_version' argument 1 names different: declaration 'maj' definition 'major'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:59:41: note: Function 'dlm_kernel_version' argument 1 names different: declaration 'maj' definition 'major'. dlm-4.3.0/libdlm/libdlm.c:1478:34: note: Function 'dlm_kernel_version' argument 1 names different: declaration 'maj' definition 'major'. dlm-4.3.0/libdlm/libdlm.c:1478:51: style:inconclusive: Function 'dlm_kernel_version' argument 2 names different: declaration 'min' definition 'minor'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:59:56: note: Function 'dlm_kernel_version' argument 2 names different: declaration 'min' definition 'minor'. dlm-4.3.0/libdlm/libdlm.c:1478:51: note: Function 'dlm_kernel_version' argument 2 names different: declaration 'min' definition 'minor'. dlm-4.3.0/libdlm/libdlm.c:1488:36: style:inconclusive: Function 'dlm_library_version' argument 1 names different: declaration 'maj' definition 'major'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:60:43: note: Function 'dlm_library_version' argument 1 names different: declaration 'maj' definition 'major'. dlm-4.3.0/libdlm/libdlm.c:1488:36: note: Function 'dlm_library_version' argument 1 names different: declaration 'maj' definition 'major'. dlm-4.3.0/libdlm/libdlm.c:1488:53: style:inconclusive: Function 'dlm_library_version' argument 2 names different: declaration 'min' definition 'minor'. [funcArgNamesDifferent] dlm-4.3.0/libdlm/libdlm.h:60:58: note: Function 'dlm_library_version' argument 2 names different: declaration 'min' definition 'minor'. dlm-4.3.0/libdlm/libdlm.c:1488:53: note: Function 'dlm_library_version' argument 2 names different: declaration 'min' definition 'minor'. dlm-4.3.0/libdlm/libdlm.c:122:37: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'dummy_ast_routine' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dlm-4.3.0/libdlm/libdlm.c:684:26: note: You might need to cast the function pointer here dlm-4.3.0/libdlm/libdlm.c:122:37: note: Parameter 'arg' can be declared as pointer to const dlm-4.3.0/libdlm/libdlm.c:417:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/libdlm/libdlm.c:657:46: style: Parameter 'lsinfo' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/libdlm/libdlm.c:679:46: style: Parameter 'lsinfo' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/libdlm/libdlm.c:785:13: style: Parameter 'xid' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/libdlm/libdlm.c:856:9: style: Parameter 'range' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/libdlm/libdlm.c:1074:22: style: Variable 'lsinfo' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/libdlm/libdlm.c:1109:22: style: Variable 'lsinfo' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/libdlm/libdlm.c:1177:25: style: Variable 'lsinfo' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:658:2: error: Memory leak: fs [memleak] dlm-4.3.0/dlm_controld/main.c:145:3: error: Common realloc mistake: 'client' nulled but not freed upon failure [memleakOnRealloc] dlm-4.3.0/dlm_controld/main.c:109:28: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/main.c:226:28: style: Parameter 'uuid_str' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/main.c:230:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:261:50: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/main.c:298:48: style: Parameter 'run' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/main.c:463:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/main.c:612:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:624:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:636:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/main.c:639:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:661:35: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/main.c:664:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:852:63: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/main.c:875:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:935:21: style: Variable 'o' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:1024:14: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/main.c:1625:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:1930:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:1974:8: style: Variable 'arg1' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:1974:19: style: Variable 'arg_str' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/main.c:230:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/main.c:612:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/main.c:624:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/main.c:639:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/main.c:664:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/main.c:875:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/main.c:1625:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/main.c:937:25: style: Variable 'l' is assigned a value that is never used. [unreadVariable] dlm-4.3.0/dlm_controld/plock.c:987:22: style: Condition 'r->owner==our_nodeid' is always true [knownConditionTrueFalse] dlm-4.3.0/dlm_controld/plock.c:980:22: note: Assuming that condition 'r->owner!=our_nodeid' is not redundant dlm-4.3.0/dlm_controld/plock.c:987:22: note: Condition 'r->owner==our_nodeid' is always true dlm-4.3.0/dlm_controld/plock.c:465:2: error: Memory leak: po [memleak] dlm-4.3.0/dlm_controld/plock.c:682:2: error: Memory leak: w [memleak] dlm-4.3.0/dlm_controld/plock.c:1574:3: warning: Either the condition '!ls' is redundant or there is possible null pointer dereference: ls. [nullPointerRedundantCheck] dlm-4.3.0/dlm_controld/plock.c:1573:6: note: Assuming that condition '!ls' is not redundant dlm-4.3.0/dlm_controld/plock.c:1574:3: note: Null pointer dereference dlm-4.3.0/dlm_controld/plock.c:1268:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] dlm-4.3.0/dlm_controld/plock.c:1271:5: note: Found duplicate branches for 'if' and 'else'. dlm-4.3.0/dlm_controld/plock.c:1268:10: note: Found duplicate branches for 'if' and 'else'. dlm-4.3.0/dlm_controld/plock.c:106:16: style: Redundant assignment of 'i->version[0]' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:107:16: style: Redundant assignment of 'i->version[1]' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:108:16: style: Redundant assignment of 'i->version[2]' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:109:10: style: Redundant assignment of 'i->pid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:110:12: style: Redundant assignment of 'i->nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:111:9: style: Redundant assignment of 'i->rv' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:112:11: style: Redundant assignment of 'i->fsid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:113:12: style: Redundant assignment of 'i->number' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:114:11: style: Redundant assignment of 'i->start' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:115:10: style: Redundant assignment of 'i->end' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:116:11: style: Redundant assignment of 'i->owner' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:121:16: style: Redundant assignment of 'i->version[0]' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:122:16: style: Redundant assignment of 'i->version[1]' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:123:16: style: Redundant assignment of 'i->version[2]' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:124:10: style: Redundant assignment of 'i->pid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:125:12: style: Redundant assignment of 'i->nodeid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:126:9: style: Redundant assignment of 'i->rv' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:127:11: style: Redundant assignment of 'i->fsid' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:128:12: style: Redundant assignment of 'i->number' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:129:11: style: Redundant assignment of 'i->start' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:130:10: style: Redundant assignment of 'i->end' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:131:11: style: Redundant assignment of 'i->owner' to itself. [selfAssignment] dlm-4.3.0/dlm_controld/plock.c:910:11: style: The comparison 'from != hd->nodeid' is always false because 'from' and 'hd->nodeid' represent the same value. [knownConditionTrueFalse] dlm-4.3.0/dlm_controld/plock.c:884:15: note: 'from' is assigned value 'hd->nodeid' here. dlm-4.3.0/dlm_controld/plock.c:910:11: note: The comparison 'from != hd->nodeid' is always false because 'from' and 'hd->nodeid' represent the same value. dlm-4.3.0/dlm_controld/plock.c:99:39: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:191:51: style: Parameter 'begin' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:191:74: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:214:7: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:227:19: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:234:11: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:258:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:428:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:473:32: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:500:32: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:528:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:586:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:591:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:649:45: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:654:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:671:32: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:702:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:754:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:821:67: style: Parameter 'hd' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:1075:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1092:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1119:50: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:1120:34: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:1141:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1155:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1295:50: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:1301:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1314:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1336:68: style: Parameter 'hd' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:1383:68: style: Parameter 'hd' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_controld/plock.c:1476:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1507:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1644:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1709:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1734:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1816:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1869:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1874:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:1883:21: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:2029:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:2057:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:2058:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:2066:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:2112:2: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:2130:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:2147:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:2164:3: style: Variable '__mptr' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_controld/plock.c:214:7: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:234:11: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:258:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:428:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:528:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:591:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:654:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:702:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:754:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1075:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1092:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1141:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1155:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1301:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1314:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1476:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1507:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1644:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1709:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1734:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1816:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1869:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1874:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:2029:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:2057:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:2058:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:2066:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:2112:2: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:2130:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:2147:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:2164:3: portability: '__mptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dlm-4.3.0/dlm_controld/plock.c:1503:9: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dlm-4.3.0/dlm_tool/main.c:622:7: warning: %u in format string (no. 8) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dlm-4.3.0/dlm_tool/main.c:622:7: warning: %u in format string (no. 9) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dlm-4.3.0/dlm_tool/main.c:784:2: warning: %u in format string (no. 5) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dlm-4.3.0/dlm_tool/main.c:856:7: warning: %u in format string (no. 9) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dlm-4.3.0/dlm_tool/main.c:1190:8: warning: %u in format string (no. 4) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dlm-4.3.0/dlm_tool/main.c:1218:4: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dlm-4.3.0/dlm_tool/main.c:1233:3: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dlm-4.3.0/dlm_tool/main.c:622:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_tool/main.c:679:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_tool/main.c:784:2: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_tool/main.c:856:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dlm-4.3.0/dlm_tool/main.c:498:35: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:596:40: style: Parameter 'first_lkid' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:670:29: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:706:42: style: Parameter 'lkb' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:716:42: style: Parameter 'lkb' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:734:42: style: Parameter 'lkb' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:734:61: style: Parameter 'ri' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:751:40: style: Parameter 'lkb' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:765:37: style: Parameter 'lkb' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:779:29: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:917:58: style: Parameter 'ri' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:953:43: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:981:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:1038:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:1139:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_tool/main.c:1155:31: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:1277:48: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:1320:20: style: Variable 'n' can be declared as pointer to const [constVariablePointer] dlm-4.3.0/dlm_tool/main.c:1383:41: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] dlm-4.3.0/dlm_tool/main.c:1565:17: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] diff: head dlm-4.3.0/dlm_controld/deadlock.c:326:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head dlm-4.3.0/dlm_controld/list.h:617:20: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] 2.18.0 dlm-4.3.0/dlm_controld/node_config.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] head dlm-4.3.0/dlm_controld/node_config.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] head dlm-4.3.0/dlm_tool/main.c:1139:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DONE