2025-08-30 07:50 ftp://ftp.de.debian.org/debian/pool/main/d/dm-writeboost/dm-writeboost_2.2.19.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 478055e (2025-08-29 18:53:24 +0200) count: 2 108 elapsed-time: 0.1 0.7 head-timing-info: old-timing-info: head results: dm-writeboost-2.2.19/src/dm-writeboost.h:507:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [preprocessorErrorDirective] dm-writeboost-2.2.19/src/dm-writeboost.h:507:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [preprocessorErrorDirective] diff: 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:110:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bi_rw [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:169:76: style: Parameter 'writeback_io' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:175:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRITE [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:205:40: portability: 'writeback_io->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:239:55: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:239:79: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:288:25: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:291:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:356:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RB_ROOT [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:403:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_NOIO [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:493:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable io_ticks [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:523:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_NOIO [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:528:13: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-daemon.c:91:25: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:1079:76: style: Parameter 'wb' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:1097:43: portability: 'writeback_seg->buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:1144:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:120:76: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:1237:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:1272:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:165:75: style:inconclusive: Function 'get_segment_header_by_id' argument 2 names different: declaration 'segment_id' definition 'id'. [funcArgNamesDifferent] dm-writeboost-2.2.19/src/dm-writeboost-metadata.h:26:50: note: Function 'get_segment_header_by_id' argument 2 names different: declaration 'segment_id' definition 'id'. dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:165:75: note: Function 'get_segment_header_by_id' argument 2 names different: declaration 'segment_id' definition 'id'. 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:182:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:224:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:249:70: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:256:38: style: Parameter 'mb' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:256:61: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:275:45: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:288:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ht_list [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:289:14: error: Uninitialized variables: mb.sector, mb.idx, mb.ht_list, mb.dirtiness [uninitvar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:300:72: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:318:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:34:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:382:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:432:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:467:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:574:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:607:57: style: Parameter 'wb' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:62:49: style: Parameter 'arr' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:64:19: portability: 'arr->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:652:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:674:21: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:685:33: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:688:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:709:39: portability: 'rambuffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:713:26: style: Parameter 'wb' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:739:80: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:740:37: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:753:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sector [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:757:6: style: Condition 'found' is always false [knownConditionTrueFalse] dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:287:33: note: Assignment 'found=NULL', assigned value is 0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:289:13: note: Assuming condition is false dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:756:19: note: Calling function 'ht_lookup' returns 0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:756:19: note: Assignment 'found=ht_lookup(wb,head,&key)', assigned value is 0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:757:6: note: Condition 'found' is always false 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:759:6: style: Local variable 'i' shadows outer argument [shadowArgument] dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:740:45: note: Shadowed declaration dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:759:6: note: Shadow variable 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:76:25: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:784:30: portability: 'wio.data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:828:34: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:831:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:854:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:910:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-metadata.c:96:61: style: Parameter 'wb' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1004:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RB_ROOT [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1020:75: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1041:27: style: Variable 'cell' can be declared as pointer to const [constVariablePointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1081:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1093:29: portability: 'wio->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1097:60: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1105:14: portability: 'to' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1105:29: portability: 'from' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1130:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1160:43: portability: 'wb->current_rambuf->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1175:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_NOIO [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1223:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_FUA [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1268:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DM_MAPIO_SUBMITTED [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1287:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DM_MAPIO_REMAPPED [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1326:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_NOIO [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1390:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DM_MAPIO_SUBMITTED [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1470:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DM_MAPIO_SUBMITTED [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1473:45: style: Parameter 'ti' can be declared as pointer to const. However it seems that 'writeboost_map' is a callback function, if 'ti' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dm-writeboost-2.2.19/src/dm-writeboost-target.c:1995:9: note: You might need to cast the function pointer here dm-writeboost-2.2.19/src/dm-writeboost-target.c:1473:45: note: Parameter 'ti' can be declared as pointer to const 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:147:55: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1480:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_FLUSH [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1497:48: style: Parameter 'ti' can be declared as pointer to const. However it seems that 'writeboost_end_io' is a callback function, if 'ti' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dm-writeboost-2.2.19/src/dm-writeboost-target.c:1996:12: note: You might need to cast the function pointer here dm-writeboost-2.2.19/src/dm-writeboost-target.c:1497:48: note: Parameter 'ti' can be declared as pointer to const 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1577:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1600:10: style: Variable 'err' is assigned a value that is never used. [unreadVariable] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1649:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1725:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:176:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRITE [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1869:54: style: Parameter 'ti' can be declared as pointer to const. However it seems that 'writeboost_postsuspend' is a callback function, if 'ti' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dm-writeboost-2.2.19/src/dm-writeboost-target.c:1999:17: note: You might need to cast the function pointer here dm-writeboost-2.2.19/src/dm-writeboost-target.c:1869:54: note: Parameter 'ti' can be declared as pointer to const 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1880:49: style: Parameter 'ti' can be declared as pointer to const. However it seems that 'writeboost_message' is a callback function, if 'ti' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dm-writeboost-2.2.19/src/dm-writeboost-target.c:2000:13: note: You might need to cast the function pointer here dm-writeboost-2.2.19/src/dm-writeboost-target.c:1880:49: note: Parameter 'ti' can be declared as pointer to const 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1928:49: style: Parameter 'ti' can be declared as pointer to const. However it seems that 'writeboost_status' is a callback function, if 'ti' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dm-writeboost-2.2.19/src/dm-writeboost-target.c:2001:12: note: You might need to cast the function pointer here dm-writeboost-2.2.19/src/dm-writeboost-target.c:1928:49: note: Parameter 'ti' can be declared as pointer to const 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1931:10: style: Variable 'sz' is assigned a value that is never used. [unreadVariable] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:1932:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BDEVNAME_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:203:62: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:206:20: style: Variable 'mb' can be declared as pointer to const [constVariablePointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:264:26: style: Parameter 'mb' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:493:19: portability: 'dst' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:495:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:495:7: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:504:58: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:518:15: portability: 'dst' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:537:35: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:561:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sector [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:612:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_NOIO [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:621:23: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:645:34: portability: 'wb->current_rambuf->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:656:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_NOIO [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:673:27: portability: 'result' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:723:27: style: Variable 'parent_cell' can be declared as pointer to const [constVariablePointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:797:26: style: Variable 'found' can be declared as pointer to const [constVariablePointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:923:34: portability: 'wb->current_rambuf->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:949:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] 2.18.0 dm-writeboost-2.2.19/src/dm-writeboost-target.c:98:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BDEVNAME_SIZE [valueFlowBailoutIncompleteVar] head dm-writeboost-2.2.19/src/dm-writeboost.h:507:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [preprocessorErrorDirective] head dm-writeboost-2.2.19/src/dm-writeboost.h:507:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [preprocessorErrorDirective] DONE