2022-06-24 11:47 ftp://ftp.de.debian.org/debian/pool/main/p/pmdk/pmdk_1.12.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 60c1eef (2022-06-23 20:26:47 +0200) count: 677 680 elapsed-time: 70.3 105.1 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: pmdk-1.12.0/src/benchmarks/benchmark_empty.cpp:50:40: style: Parameter 'bench' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/benchmarks/benchmark_empty.cpp:34:20: style: struct member 'obj_bench::pa' is never used. [unusedStructMember] pmdk-1.12.0/src/benchmarks/benchmark_worker.cpp:47:18: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/benchmark_worker.cpp:92:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:132:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:158:25: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:211:24: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:237:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:264:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:265:19: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:279:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:286:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:287:17: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:291:18: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:301:20: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:350:19: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:362:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:467:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:496:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:538:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:576:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:648:30: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/blk.cpp:659:30: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:76:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/benchmarks/clo.cpp:79:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/benchmarks/clo.cpp:361:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pmdk-1.12.0/src/benchmarks/clo.cpp:121:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:124:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:227:19: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:228:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:229:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:272:18: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:273:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:274:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:353:20: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:355:19: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:358:19: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:508:24: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:522:20: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:534:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:540:11: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:544:11: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:548:11: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:552:11: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:572:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:578:11: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:582:11: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:586:11: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:590:11: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:673:11: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:702:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo.cpp:779:15: style:inconclusive: Function 'benchmark_clo_parse' argument 4 names different: declaration 'nclo' definition 'nclos'. [funcArgNamesDifferent] pmdk-1.12.0/src/benchmarks/clo.hpp:7:12: note: Function 'benchmark_clo_parse' argument 4 names different: declaration 'nclo' definition 'nclos'. pmdk-1.12.0/src/benchmarks/clo.cpp:779:15: note: Function 'benchmark_clo_parse' argument 4 names different: declaration 'nclo' definition 'nclos'. pmdk-1.12.0/src/benchmarks/clo.cpp:850:44: style:inconclusive: Function 'benchmark_clo_parse_scenario' argument 3 names different: declaration 'nclo' definition 'nclos'. [funcArgNamesDifferent] pmdk-1.12.0/src/benchmarks/clo.hpp:9:41: note: Function 'benchmark_clo_parse_scenario' argument 3 names different: declaration 'nclo' definition 'nclos'. pmdk-1.12.0/src/benchmarks/clo.cpp:850:44: note: Function 'benchmark_clo_parse_scenario' argument 3 names different: declaration 'nclo' definition 'nclos'. pmdk-1.12.0/src/benchmarks/clo.cpp:858:37: error: Uninitialized variable: kv->key [uninitvar] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:18:28: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:32:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:100:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:121:5: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:146:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:181:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:208:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:242:17: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:86:17: error: Uninitialized variable: args->args [uninitvar] pmdk-1.12.0/src/benchmarks/clo_vec.cpp:244:24: error: Uninitialized variable: value->ptr [uninitvar] pmdk-1.12.0/src/benchmarks/config_reader.cpp:33:30: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:83:30: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:167:20: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:181:18: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:220:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:240:31: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:241:10: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:243:31: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:244:10: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:265:31: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:266:10: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:281:34: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:284:10: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:300:30: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/config_reader_win.cpp:301:9: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/map_bench.cpp:166:2: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/benchmarks/log.cpp:79:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:127:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:130:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:151:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:154:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:174:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:177:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:198:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:201:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:222:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:270:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:273:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:304:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:308:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:317:21: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:330:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:344:29: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:363:27: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:414:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:447:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:454:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:578:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:615:30: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:638:30: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:650:29: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/log.cpp:303:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/benchmarks/log.cpp:430:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/benchmarks/obj_lanes.cpp:51:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_lanes.cpp:58:12: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_lanes.cpp:86:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_lanes.cpp:100:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:93:8: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:98:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:105:12: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:170:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:206:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:232:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:259:27: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:260:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:278:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:311:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:312:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:346:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:367:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:393:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:438:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:449:34: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:292:11: style: The scope of the variable 'tmp' can be reduced. [variableScope] pmdk-1.12.0/src/benchmarks/obj_pmalloc.cpp:293:9: style: The scope of the variable 'dest' can be reduced. [variableScope] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:182:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:198:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:211:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:224:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:243:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:252:25: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:261:33: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:270:35: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:279:26: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:288:26: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:297:26: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:306:36: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:315:36: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:324:36: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:658:28: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:664:12: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:731:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:750:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:785:32: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:815:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:726:60: style: Parameter 'args' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:38:7: style: union member 'padded_volatile_pmemmutex::padding' is never used. [unusedStructMember] pmdk-1.12.0/src/benchmarks/obj_locks.cpp:48:22: style: union member 'lock_union::pm_vmutex' is never used. [unusedStructMember] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:281:25: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:282:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:297:25: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:298:23: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:362:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:365:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:391:17: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:445:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:446:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:468:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:481:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:488:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:491:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:394:14: style: Local variable 'i' shadows outer variable [shadowVariable] pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:368:6: note: Shadowed declaration pmdk-1.12.0/src/benchmarks/pmem_flush.cpp:394:14: note: Shadow variable pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:372:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:375:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:390:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:399:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:417:19: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:488:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:510:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:542:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:555:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memcpy.cpp:361:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/benchmarks/pmem_memset.cpp:92:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memset.cpp:228:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memset.cpp:235:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memset.cpp:269:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memset.cpp:275:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memset.cpp:362:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memset.cpp:406:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmem_memset.cpp:424:33: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmembench.cpp:1000:2: error: There is an unknown macro here somewhere. Configuration is required. If PMDK_LIST_FOREACH is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:226:21: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:245:29: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:278:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:285:27: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:346:20: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:353:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:369:5: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:374:28: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:411:8: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:433:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:447:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:451:9: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:472:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:473:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:480:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:513:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:514:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:539:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:555:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:556:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:589:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:621:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:633:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_gen.cpp:446:9: style: The scope of the variable 'i' can be reduced. [variableScope] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:290:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:302:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:332:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:367:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:370:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:378:27: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:486:18: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:511:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:525:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:539:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:551:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:577:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:615:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:629:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:656:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:671:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:672:20: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:686:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:707:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:776:22: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:778:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:836:20: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:966:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:978:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:991:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:459:8: style: Local variable 'positions' shadows outer variable [shadowVariable] pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:275:22: note: Shadowed declaration pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:459:8: note: Shadow variable pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:823:28: style: Parameter 'bench' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/benchmarks/pmemobj_persist.cpp:68:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_persist.cpp:74:13: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_persist.cpp:124:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_persist.cpp:154:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_persist.cpp:161:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_persist.cpp:227:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/pmemobj_tx.cpp:415:2: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/benchmarks/pmemobj_tx_add_range.cpp:212:2: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/benchmarks/scenario.cpp:19:19: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/scenario.cpp:49:24: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/scenario.cpp:101:4: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/scenario.cpp:134:24: error: Uninitialized variable: scenario->name [uninitvar] pmdk-1.12.0/src/benchmarks/scenario.cpp:173:40: error: Uninitialized variable: src_kv->key [uninitvar] pmdk-1.12.0/src/benchmarks/scenario.cpp:193:18: error: Uninitialized variable: kv->key [uninitvar] pmdk-1.12.0/src/benchmarks/rpmem.cpp:168:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:173:20: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:231:9: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:244:10: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:267:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:317:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:345:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:356:16: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:388:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:520:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:526:12: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:635:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:668:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:674:15: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:735:14: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:776:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:817:3: style: C-style pointer casting [cstyleCast] pmdk-1.12.0/src/benchmarks/rpmem.cpp:274:6: style: The scope of the variable 'ret' can be reduced. [variableScope] pmdk-1.12.0/src/benchmarks/rpmem.cpp:297:6: style: The scope of the variable 'ret' can be reduced. [variableScope] pmdk-1.12.0/src/benchmarks/rpmem.cpp:363:6: style: The scope of the variable 'ret' can be reduced. [variableScope] pmdk-1.12.0/src/benchmarks/rpmem.cpp:328:25: warning: Either the condition 'mb->pargs->flushes_per_drain<0' is redundant or there is division by zero at line 328. [zerodivcond] pmdk-1.12.0/src/benchmarks/rpmem.cpp:324:36: note: Assuming that condition 'mb->pargs->flushes_per_drain<0' is not redundant pmdk-1.12.0/src/benchmarks/rpmem.cpp:328:25: note: Division by zero pmdk-1.12.0/src/benchmarks/rpmem.cpp:274:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/benchmarks/rpmem.cpp:297:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/benchmarks/rpmem.cpp:363:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/common/bad_blocks.c:22:29: style:inconclusive: Function 'badblocks_count' argument 1 names different: declaration 'path' definition 'file'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/badblocks.h:65:34: note: Function 'badblocks_count' argument 1 names different: declaration 'path' definition 'file'. pmdk-1.12.0/src/common/bad_blocks.c:22:29: note: Function 'badblocks_count' argument 1 names different: declaration 'path' definition 'file'. pmdk-1.12.0/src/common/bad_blocks.c:128:29: style:inconclusive: Function 'badblocks_clear' argument 1 names different: declaration 'path' definition 'file'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/badblocks.h:68:33: note: Function 'badblocks_clear' argument 1 names different: declaration 'path' definition 'file'. pmdk-1.12.0/src/common/bad_blocks.c:128:29: note: Function 'badblocks_clear' argument 1 names different: declaration 'path' definition 'file'. pmdk-1.12.0/src/common/bad_blocks.c:248:34: style:inconclusive: Function 'badblocks_check_file' argument 1 names different: declaration 'path' definition 'file'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/badblocks.h:71:38: note: Function 'badblocks_check_file' argument 1 names different: declaration 'path' definition 'file'. pmdk-1.12.0/src/common/bad_blocks.c:248:34: note: Function 'badblocks_check_file' argument 1 names different: declaration 'path' definition 'file'. pmdk-1.12.0/src/common/ctl.c:491:24: style:inconclusive: Function 'ctl_delete' argument 1 names different: declaration 'stats' definition 'c'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/ctl.h:97:29: note: Function 'ctl_delete' argument 1 names different: declaration 'stats' definition 'c'. pmdk-1.12.0/src/common/ctl.c:491:24: note: Function 'ctl_delete' argument 1 names different: declaration 'stats' definition 'c'. pmdk-1.12.0/src/common/ctl.c:363:8: style: Variable 'r' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/common/file.c:427:23: style: Condition '((os_off_t)size)<0' is always false [knownConditionTrueFalse] pmdk-1.12.0/src/common/file.c:605:18: style: Variable 'n_wrote' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/common/file_posix.c:72:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] pmdk-1.12.0/src/common/file_posix.c:58:39: style:inconclusive: Function 'util_file_dir_open' argument 1 names different: declaration 'a' definition 'handle'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/file.h:48:43: note: Function 'util_file_dir_open' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_posix.c:58:39: note: Function 'util_file_dir_open' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_posix.c:69:39: style:inconclusive: Function 'util_file_dir_next' argument 1 names different: declaration 'a' definition 'handle'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/file.h:49:43: note: Function 'util_file_dir_next' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_posix.c:69:39: note: Function 'util_file_dir_next' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_posix.c:87:40: style:inconclusive: Function 'util_file_dir_close' argument 1 names different: declaration 'a' definition 'handle'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/file.h:50:44: note: Function 'util_file_dir_close' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_posix.c:87:40: note: Function 'util_file_dir_close' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_windows.c:65:39: style:inconclusive: Function 'util_file_dir_open' argument 1 names different: declaration 'a' definition 'handle'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/file.h:48:43: note: Function 'util_file_dir_open' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_windows.c:65:39: note: Function 'util_file_dir_open' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_windows.c:77:39: style:inconclusive: Function 'util_file_dir_next' argument 1 names different: declaration 'a' definition 'handle'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/file.h:49:43: note: Function 'util_file_dir_next' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_windows.c:77:39: note: Function 'util_file_dir_next' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_windows.c:101:40: style:inconclusive: Function 'util_file_dir_close' argument 1 names different: declaration 'a' definition 'handle'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/file.h:50:44: note: Function 'util_file_dir_close' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/file_windows.c:101:40: note: Function 'util_file_dir_close' argument 1 names different: declaration 'a' definition 'handle'. pmdk-1.12.0/src/common/mmap.c:465:32: style:inconclusive: Function 'util_range_is_pmem' argument 1 names different: declaration 'addr' definition 'addrp'. [funcArgNamesDifferent] pmdk-1.12.0/src/common/mmap.h:137:36: note: Function 'util_range_is_pmem' argument 1 names different: declaration 'addr' definition 'addrp'. pmdk-1.12.0/src/common/mmap.c:465:32: note: Function 'util_range_is_pmem' argument 1 names different: declaration 'addr' definition 'addrp'. pmdk-1.12.0/src/common/mmap_windows.c:61:8: style: Variable 'lo' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/common/mmap_windows.c:62:8: style: Variable 'hi' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/common/pool_hdr.c:37:0: error: #error unable to recognize ISA at compile time [preprocessorErrorDirective] pmdk-1.12.0/src/common/shutdown_state.c:156:26: style: Variable 'part.sds_dirty_modified' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/common/set.c:354:13: warning: Redundant assignment of '*cur_addr' to itself. [selfAssignment] pmdk-1.12.0/src/common/set.c:2166:14: error: Uninitialized variable: signature [legacyUninitvar] pmdk-1.12.0/src/common/set.c:1403:19: style: Variable 'prev_nparts' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/core/util.h:67:0: error: #error unable to recognize architecture at compile time [preprocessorErrorDirective] pmdk-1.12.0/src/deps/miniasync/examples/basic/basic.c:77:47: style: Parameter 'arg' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/deps/miniasync/src/core/util.h:71:0: error: #error unable to recognize architecture at compile time [preprocessorErrorDirective] pmdk-1.12.0/src/deps/miniasync/src/core/pmemcompat.h:15:0: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [preprocessorErrorDirective] pmdk-1.12.0/src/deps/miniasync/tests/dummy/dummy.c:9:32: style: Variable 'ptr' is allocated memory that is never used. [unusedAllocatedMemory] pmdk-1.12.0/src/deps/miniasync/tests/future/test_future.c:200:6: style: struct member 'multiply_data::a' is never used. [unusedStructMember] pmdk-1.12.0/src/deps/miniasync/tests/future/test_future.c:201:6: style: struct member 'multiply_data::b' is never used. [unusedStructMember] pmdk-1.12.0/src/deps/miniasync/tests/future/test_future.c:205:6: style: struct member 'multiply_output::result' is never used. [unusedStructMember] pmdk-1.12.0/src/deps/miniasync/tests/vdm_operation_future_poll/vdm_operation_future_poll.c:39:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] pmdk-1.12.0/src/deps/miniasync/tests/vdm_operation_future_poll/vdm_operation_future_poll.c:35:6: note: ret is assigned pmdk-1.12.0/src/deps/miniasync/tests/vdm_operation_future_poll/vdm_operation_future_poll.c:39:6: note: ret is overwritten pmdk-1.12.0/src/deps/miniasync/tests/vdm_operation_future_poll/vdm_operation_future_poll.c:43:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] pmdk-1.12.0/src/deps/miniasync/tests/vdm_operation_future_poll/vdm_operation_future_poll.c:39:6: note: ret is assigned pmdk-1.12.0/src/deps/miniasync/tests/vdm_operation_future_poll/vdm_operation_future_poll.c:43:6: note: ret is overwritten pmdk-1.12.0/src/examples/libpmem2/advanced/advanced.c:100:3: warning: %hhX in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] pmdk-1.12.0/src/examples/libpmem2/redo/redo.c:31:0: error: #error unable to recognize architecture at compile time [preprocessorErrorDirective] pmdk-1.12.0/src/examples/libpmem2/ringbuf/ringbuf.c:158:3: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] pmdk-1.12.0/src/examples/libpmem2/ringbuf/ringbuf.c:88:13: warning: Redundant assignment of '*cur_addr' to itself. [selfAssignment] pmdk-1.12.0/src/examples/libpmem2/ringbuf/ringbuf.c:205:28: portability: '(void*)rbuf->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pmdk-1.12.0/src/examples/libpmemlog/logfile/addlog.c:98:13: style: Variable 'header.len' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/examples/libpmemlog/logfile/addlog.c:99:11: style: Variable 'next_iovp' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/examples/libpmemobj/buffons_needle_problem.c:29:1: error: There is an unknown macro here somewhere. Configuration is required. If POBJ_LAYOUT_ROOT is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/hashmap/hashmap_atomic.h:18:39: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/hashmap/hashmap_rp.h:30:35: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/hashmap/hashmap_tx.c:385:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/libart/art.h:206:8: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/libart/art.c:1014:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_examine.c:76:14: style: struct member 'examine::brief' is never used. [unusedStructMember] pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_examine.c:78:9: style: struct member 'examine::help' is never used. [unusedStructMember] pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:274:24: style:inconclusive: Function 'check_prefix' argument 1 names different: declaration 'an' definition 'n'. [funcArgNamesDifferent] pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:91:35: note: Function 'check_prefix' argument 1 names different: declaration 'an' definition 'n'. pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:274:24: note: Function 'check_prefix' argument 1 names different: declaration 'an' definition 'n'. pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:287:54: style:inconclusive: Function 'find_child' argument 3 names different: declaration 'key' definition 'c'. [funcArgNamesDifferent] pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:93:70: note: Function 'find_child' argument 3 names different: declaration 'key' definition 'c'. pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:287:54: note: Function 'find_child' argument 3 names different: declaration 'key' definition 'c'. pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:274:42: style: Parameter 'key' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:75:14: style: struct member 'search::brief' is never used. [unusedStructMember] pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:77:9: style: struct member 'search::help' is never used. [unusedStructMember] pmdk-1.12.0/src/examples/libpmemobj/linkedlist/fifo.c:22:20: style: struct member 'fifo_root::head' is never used. [unusedStructMember] pmdk-1.12.0/src/examples/libpmemobj/linkedlist/fifo.c:26:7: style: struct member 'tqnode::data' is never used. [unusedStructMember] pmdk-1.12.0/src/examples/libpmemobj/linkedlist/fifo.c:27:34: style: struct member 'tqnode::tnd' is never used. [unusedStructMember] pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_structures.c:589:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_structures.c:599:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/examples/libpmemobj/list_map/skiplist_map.c:41:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/lists.c:40:18: style: struct member 'my_root::lists' is never used. [unusedStructMember] pmdk-1.12.0/src/examples/libpmemobj/map/data_store.c:118:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/map/map.h:27:32: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/pi.c:102:14: style: Condition 'pending==0' is always false [knownConditionTrueFalse] pmdk-1.12.0/src/examples/libpmemobj/pi.c:97:16: note: Assignment 'pending=0', assigned value is 0 pmdk-1.12.0/src/examples/libpmemobj/pi.c:100:3: note: pending is incremented', new value is 1 pmdk-1.12.0/src/examples/libpmemobj/pi.c:102:14: note: Condition 'pending==0' is always false pmdk-1.12.0/src/examples/libpmemobj/pmemblk/obj_pmemblk.c:83:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/pmemlog/obj_pmemlog_macros.c:138:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/pmemlog/obj_pmemlog.c:345:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/examples/libpmemobj/pmemlog/obj_pmemlog.c:350:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/examples/libpmemobj/pmemlog/obj_pmemlog_minimal.c:235:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/examples/libpmemobj/pmemlog/obj_pmemlog_minimal.c:240:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/examples/libpmemobj/pmemlog/obj_pmemlog_simple.c:87:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/pmemobjfs/pmemobjfs.c:276:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/pminvaders/pminvaders.c:348:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pmdk-1.12.0/src/examples/libpmemobj/pminvaders/pminvaders2.c:311:8: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/queue/queue.c:111:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/tree_map/btree_map.c:56:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/tree_map/ctree_map.c:55:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/tree_map/rbtree_map.c:95:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/libpmemobj/tree_map/rtree_map.c:49:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/examples/librpmem/fibonacci/fibonacci.c:300:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] pmdk-1.12.0/src/examples/librpmem/fibonacci/fibonacci.c:300:3: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] pmdk-1.12.0/src/examples/librpmem/hello.c:175:50: portability: 'pool' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:99:2: warning: Possible null pointer dereference: new [nullPointer] pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:97:26: note: Assignment 'new=node==0?NULL:&(root)->nodes[node]', assigned value is 0 pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:99:2: note: Null pointer dereference pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:100:2: warning: Possible null pointer dereference: new [nullPointer] pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:97:26: note: Assignment 'new=node==0?NULL:&(root)->nodes[node]', assigned value is 0 pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:100:2: note: Null pointer dereference pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:116:2: warning: Possible null pointer dereference: new [nullPointer] pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:114:26: note: Assignment 'new=node==0?NULL:&(root)->nodes[node]', assigned value is 0 pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:116:2: note: Null pointer dereference pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:122:2: warning: Possible null pointer dereference: new [nullPointer] pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:114:26: note: Assignment 'new=node==0?NULL:&(root)->nodes[node]', assigned value is 0 pmdk-1.12.0/src/examples/pmreorder/pmreorder_list.c:122:2: note: Null pointer dereference pmdk-1.12.0/src/libpmem/pmem.c:449:21: style: Condition '(os_off_t)len<0' is always false [knownConditionTrueFalse] pmdk-1.12.0/src/libpmem2/auto_flush_windows.c:146:18: style: Redundant condition: If 'is_nfit < 0', the comparison 'is_nfit != 1' is always true. [redundantCondition] pmdk-1.12.0/src/libpmem2/auto_flush_windows.c:138:32: style: Variable 'pc' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/libpmem2/deep_flush_linux.c:107:7: style: Local variable 'ret' shadows outer variable [shadowVariable] pmdk-1.12.0/src/libpmem2/deep_flush_linux.c:82:6: note: Shadowed declaration pmdk-1.12.0/src/libpmem2/deep_flush_linux.c:107:7: note: Shadow variable pmdk-1.12.0/src/libpmem2/map_windows.c:365:15: style: Local variable 'err' shadows outer variable [shadowVariable] pmdk-1.12.0/src/libpmem2/map_windows.c:142:16: note: Shadowed declaration pmdk-1.12.0/src/libpmem2/map_windows.c:365:15: note: Shadow variable pmdk-1.12.0/src/libpmem2/map_posix.c:283:2: error: Memory leak: daddr [memleak] pmdk-1.12.0/src/libpmem2/mover.c:197:26: style:inconclusive: Function 'mover_delete' argument 1 names different: declaration 'vdm' definition 'dms'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmem2/mover.h:14:31: note: Function 'mover_delete' argument 1 names different: declaration 'vdm' definition 'dms'. pmdk-1.12.0/src/libpmem2/mover.c:197:26: note: Function 'mover_delete' argument 1 names different: declaration 'vdm' definition 'dms'. pmdk-1.12.0/src/libpmem2/memops_generic.c:132:31: style:inconclusive: Function 'memmove_nodrain_generic' argument 1 names different: declaration 'pmemdest' definition 'dst'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmem2/pmem2_arch.h:84:37: note: Function 'memmove_nodrain_generic' argument 1 names different: declaration 'pmemdest' definition 'dst'. pmdk-1.12.0/src/libpmem2/memops_generic.c:132:31: note: Function 'memmove_nodrain_generic' argument 1 names different: declaration 'pmemdest' definition 'dst'. pmdk-1.12.0/src/libpmem2/memops_generic.c:262:30: style:inconclusive: Function 'memset_nodrain_generic' argument 1 names different: declaration 'pmemdest' definition 'dst'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmem2/pmem2_arch.h:87:36: note: Function 'memset_nodrain_generic' argument 1 names different: declaration 'pmemdest' definition 'dst'. pmdk-1.12.0/src/libpmem2/memops_generic.c:262:30: note: Function 'memset_nodrain_generic' argument 1 names different: declaration 'pmemdest' definition 'dst'. pmdk-1.12.0/src/libpmem2/region_namespace_ndctl.c:154:2: error: There is an unknown macro here somewhere. Configuration is required. If ndctl_bus_foreach is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/libpmem2/source_windows.c:97:19: style: Variable 'fileAttrbs' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/libpmem2/usc_windows.c:113:10: warning:inconclusive: Multiplying sizeof() with sizeof() indicates a logic error. [multiplySizeof] pmdk-1.12.0/src/libpmem2/usc_windows.c:117:13: warning:inconclusive: Multiplying sizeof() with sizeof() indicates a logic error. [multiplySizeof] pmdk-1.12.0/src/libpmem2/usc_windows.c:149:10: warning:inconclusive: Multiplying sizeof() with sizeof() indicates a logic error. [multiplySizeof] pmdk-1.12.0/src/libpmem2/usc_windows.c:152:13: warning:inconclusive: Multiplying sizeof() with sizeof() indicates a logic error. [multiplySizeof] pmdk-1.12.0/src/libpmem2/usc_windows.c:206:13: error: Uninitialized variable: dwSize [uninitvar] pmdk-1.12.0/src/libpmem2/usc_windows.c:196:8: style: Variable 'dwSize' is not assigned a value. [unassignedVariable] pmdk-1.12.0/src/libpmem2/vm_reservation_posix.c:140:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit] pmdk-1.12.0/src/libpmem2/vm_reservation_posix.c:134:6: note: If condition 'ret' is true, the function will return/exit pmdk-1.12.0/src/libpmem2/vm_reservation_posix.c:140:9: note: Returning identical expression 'ret' pmdk-1.12.0/src/libpmem2/vm_reservation_posix.c:75:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] pmdk-1.12.0/src/libpmem2/x86_64/cpu.c:49:0: error: #error unsupported compiler [preprocessorErrorDirective] pmdk-1.12.0/src/libpmem2/x86_64/memcpy/memcpy_sse2.h:50:11: style: Local variable 'xmm0' shadows outer variable [shadowVariable] pmdk-1.12.0/src/libpmem2/x86_64/memcpy/memcpy_sse2.h:38:10: note: Shadowed declaration pmdk-1.12.0/src/libpmem2/x86_64/memcpy/memcpy_sse2.h:50:11: note: Shadow variable pmdk-1.12.0/src/libpmem2/x86_64/memcpy/memcpy_sse2.h:51:11: style: Local variable 'xmm1' shadows outer variable [shadowVariable] pmdk-1.12.0/src/libpmem2/x86_64/memcpy/memcpy_sse2.h:39:10: note: Shadowed declaration pmdk-1.12.0/src/libpmem2/x86_64/memcpy/memcpy_sse2.h:51:11: note: Shadow variable pmdk-1.12.0/src/libpmem2/x86_64/memset/memset_avx.h:69:12: style: Local variable 'd2' shadows outer variable [shadowVariable] pmdk-1.12.0/src/libpmem2/x86_64/memset/memset_avx.h:61:11: note: Shadowed declaration pmdk-1.12.0/src/libpmem2/x86_64/memset/memset_avx.h:69:12: note: Shadow variable pmdk-1.12.0/src/libpmem2/x86_64/memset/memset_sse2.h:76:12: style: Local variable 'd2' shadows outer variable [shadowVariable] pmdk-1.12.0/src/libpmem2/x86_64/memset/memset_sse2.h:68:11: note: Shadowed declaration pmdk-1.12.0/src/libpmem2/x86_64/memset/memset_sse2.h:76:12: note: Shadow variable pmdk-1.12.0/src/libpmemblk/btt.c:1919:19: warning:inconclusive: Possible null pointer dereference: mapp [nullPointer] pmdk-1.12.0/src/libpmemblk/btt.c:1899:19: note: Assignment 'mapp=NULL', assigned value is 0 pmdk-1.12.0/src/libpmemblk/btt.c:1919:19: note: Null pointer dereference pmdk-1.12.0/src/libpmemblk/btt.c:155:12: style: struct member 'arena::internal_nlba' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemblk/btt.c:165:12: style: struct member 'arena::startoff' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemblk/btt.c:168:12: style: struct member 'arena::flogoff' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemobj/container_seglists.c:24:7: error: syntax error [syntaxError] pmdk-1.12.0/src/libpmemobj/ctl_debug.c:16:1: error: There is an unknown macro here somewhere. Configuration is required. If CTL_WRITE_HANDLER is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/libpmemobj/heap.c:52:6: error: syntax error [syntaxError] pmdk-1.12.0/src/libpmemobj/lane.c:510:43: style:inconclusive: Function 'lane_hold' argument 2 names different: declaration 'lane' definition 'lanep'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmemobj/lane.h:142:52: note: Function 'lane_hold' argument 2 names different: declaration 'lane' definition 'lanep'. pmdk-1.12.0/src/libpmemobj/lane.c:510:43: note: Function 'lane_hold' argument 2 names different: declaration 'lane' definition 'lanep'. pmdk-1.12.0/src/libpmemobj/list.c:56:20: style: struct member 'list_args_reinsert::head' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemobj/list.c:57:21: style: struct member 'list_args_reinsert::entry_ptr' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemobj/list.c:58:11: style: struct member 'list_args_reinsert::obj_doffset' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemobj/memblock.c:1203:13: style: Condition 'value==0' is always false [knownConditionTrueFalse] pmdk-1.12.0/src/libpmemobj/memblock.c:1202:20: note: Assignment 'value=~b.values[i]', assigned value is greater than 0 pmdk-1.12.0/src/libpmemobj/memblock.c:1203:13: note: Condition 'value==0' is always false pmdk-1.12.0/src/libpmemobj/memblock.c:1265:13: style: Condition 'value==0' is always false [knownConditionTrueFalse] pmdk-1.12.0/src/libpmemobj/memblock.c:1264:20: note: Assignment 'value=~b.values[i]', assigned value is greater than 0 pmdk-1.12.0/src/libpmemobj/memblock.c:1265:13: note: Condition 'value==0' is always false pmdk-1.12.0/src/libpmemobj/memblock.c:196:11: style: struct member 'Anonymous13::padding' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemobj/memops.c:73:7: error: syntax error [syntaxError] pmdk-1.12.0/src/libpmemobj/memblock.c:927:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/libpmemobj/memblock.c:987:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/libpmemobj/memblock.c:988:21: style: Variable 'block_off' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/libpmemobj/pmalloc.c:216:1: error: There is an unknown macro here somewhere. Configuration is required. If CTL_WRITE_HANDLER is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/libpmemobj/obj.c:2836:9: style: struct member 'carg_root::size' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemobj/obj.c:2838:8: style: struct member 'carg_root::arg' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemobj/recycler.c:65:6: error: syntax error [syntaxError] pmdk-1.12.0/src/libpmemobj/stats.c:11:1: error: There is an unknown macro here somewhere. Configuration is required. If CTL_READ_HANDLER is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/libpmemobj/tx.c:36:6: error: syntax error [syntaxError] pmdk-1.12.0/src/libpmemobj/ulog.c:634:6: error: syntax error [syntaxError] pmdk-1.12.0/src/libpmempool/check_util.c:190:27: error: Dereferencing 'status' after it is deallocated / released [deallocuse] pmdk-1.12.0/src/libpmempool/check_util.c:193:2: error: Returning/dereferencing 'status' after it is deallocated / released [deallocret] pmdk-1.12.0/src/libpmempool/check_util.c:187:3: note: Returning/dereferencing 'status' after it is deallocated / released pmdk-1.12.0/src/libpmempool/check_util.c:193:2: note: Returning/dereferencing 'status' after it is deallocated / released pmdk-1.12.0/src/libpmempool/check_write.c:151:19: error: Uninitialized variable: arenap->btt_info [uninitvar] pmdk-1.12.0/src/libpmempool/pool.c:1029:57: style:inconclusive: Function 'pool_next_arena_offset' argument 2 names different: declaration 'header_offset' definition 'offset'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmempool/pool.h:132:66: note: Function 'pool_next_arena_offset' argument 2 names different: declaration 'header_offset' definition 'offset'. pmdk-1.12.0/src/libpmempool/pool.c:1029:57: note: Function 'pool_next_arena_offset' argument 2 names different: declaration 'header_offset' definition 'offset'. pmdk-1.12.0/src/libpmempool/pool.c:808:18: style: Variable 'nwrite' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/libpmempool/replica.c:101:47: style:inconclusive: Function 'replica_get_part_data_offset' argument 1 names different: declaration 'set_in' definition 'set'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmempool/replica.h:132:56: note: Function 'replica_get_part_data_offset' argument 1 names different: declaration 'set_in' definition 'set'. pmdk-1.12.0/src/libpmempool/replica.c:101:47: note: Function 'replica_get_part_data_offset' argument 1 names different: declaration 'set_in' definition 'set'. pmdk-1.12.0/src/libpmempool/replica.c:102:12: style:inconclusive: Function 'replica_get_part_data_offset' argument 3 names different: declaration 'part' definition 'partn'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmempool/replica.h:133:12: note: Function 'replica_get_part_data_offset' argument 3 names different: declaration 'part' definition 'partn'. pmdk-1.12.0/src/libpmempool/replica.c:102:12: note: Function 'replica_get_part_data_offset' argument 3 names different: declaration 'part' definition 'partn'. pmdk-1.12.0/src/libpmempool/replica.c:227:66: style:inconclusive: Function 'replica_free_poolset_health_status' argument 1 names different: declaration 'set_s' definition 'set_hs'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmempool/replica.h:167:71: note: Function 'replica_free_poolset_health_status' argument 1 names different: declaration 'set_s' definition 'set_hs'. pmdk-1.12.0/src/libpmempool/replica.c:227:66: note: Function 'replica_free_poolset_health_status' argument 1 names different: declaration 'set_s' definition 'set_hs'. pmdk-1.12.0/src/libpmempool/replica.c:1966:34: style:inconclusive: Function 'replica_check_poolset_health' argument 2 names different: declaration 'set_hs' definition 'set_hsp'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmempool/replica.h:169:34: note: Function 'replica_check_poolset_health' argument 2 names different: declaration 'set_hs' definition 'set_hsp'. pmdk-1.12.0/src/libpmempool/replica.c:1966:34: note: Function 'replica_check_poolset_health' argument 2 names different: declaration 'set_hs' definition 'set_hsp'. pmdk-1.12.0/src/libpmempool/replica.c:1688:9: error: Uninitialized variable: poolset_uuid [uninitvar] pmdk-1.12.0/src/libpmemset/badblock.c:115:28: style: Local variable 'bb' shadows outer argument [shadowArgument] pmdk-1.12.0/src/libpmemset/badblock.c:94:0: note: Shadowed declaration pmdk-1.12.0/src/libpmemset/badblock.c:115:28: note: Shadow variable pmdk-1.12.0/src/libpmemset/config.c:200:50: style:inconclusive: Function 'pmemset_config_duplicate' argument 1 names different: declaration 'cfg_out' definition 'cfg_dst'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmemset/config.h:15:54: note: Function 'pmemset_config_duplicate' argument 1 names different: declaration 'cfg_out' definition 'cfg_dst'. pmdk-1.12.0/src/libpmemset/config.c:200:50: note: Function 'pmemset_config_duplicate' argument 1 names different: declaration 'cfg_out' definition 'cfg_dst'. pmdk-1.12.0/src/libpmemset/config.c:201:27: style:inconclusive: Function 'pmemset_config_duplicate' argument 2 names different: declaration 'cfg_in' definition 'cfg_src'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmemset/config.h:16:28: note: Function 'pmemset_config_duplicate' argument 2 names different: declaration 'cfg_in' definition 'cfg_src'. pmdk-1.12.0/src/libpmemset/config.c:201:27: note: Function 'pmemset_config_duplicate' argument 2 names different: declaration 'cfg_in' definition 'cfg_src'. pmdk-1.12.0/src/libpmempool/sync.c:1474:31: style:inconclusive: Function 'replica_sync' argument 1 names different: declaration 'set_in' definition 'set'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmempool/replica.h:202:35: note: Function 'replica_sync' argument 1 names different: declaration 'set_in' definition 'set'. pmdk-1.12.0/src/libpmempool/sync.c:1474:31: note: Function 'replica_sync' argument 1 names different: declaration 'set_in' definition 'set'. pmdk-1.12.0/src/libpmempool/sync.c:1474:66: style:inconclusive: Function 'replica_sync' argument 2 names different: declaration 'set_hs' definition 's_hs'. [funcArgNamesDifferent] pmdk-1.12.0/src/libpmempool/replica.h:202:73: note: Function 'replica_sync' argument 2 names different: declaration 'set_hs' definition 's_hs'. pmdk-1.12.0/src/libpmempool/sync.c:1474:66: note: Function 'replica_sync' argument 2 names different: declaration 'set_hs' definition 's_hs'. pmdk-1.12.0/src/libpmemset/map_config.c:41:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit] pmdk-1.12.0/src/libpmemset/map_config.c:32:6: note: If condition 'ret' is true, the function will return/exit pmdk-1.12.0/src/libpmemset/map_config.c:41:9: note: Returning identical expression 'ret' pmdk-1.12.0/src/libpmemset/map_config.c:18:23: style: struct member 'pmemset_map_config::file' is never used. [unusedStructMember] pmdk-1.12.0/src/libpmemset/part.c:91:51: warning: Function 'pmemset_part_map_iterate' argument order different: declaration 'pmap, offset, size, out_offset, out_size, , arg, ' definition 'pmap, offset, size, out_offset, out_size, pmap, map, arg' [funcArgOrderDifferent] pmdk-1.12.0/src/libpmemset/part.h:45:55: note: Function 'pmemset_part_map_iterate' argument order different: declaration 'pmap, offset, size, out_offset, out_size, , arg, ' definition 'pmap, offset, size, out_offset, out_size, pmap, map, arg' pmdk-1.12.0/src/libpmemset/part.c:91:51: note: Function 'pmemset_part_map_iterate' argument order different: declaration 'pmap, offset, size, out_offset, out_size, , arg, ' definition 'pmap, offset, size, out_offset, out_size, pmap, map, arg' pmdk-1.12.0/src/libpmemset/part.c:104:20: style: Local variable 'map' shadows outer argument [shadowArgument] pmdk-1.12.0/src/libpmemset/part.c:93:0: note: Shadowed declaration pmdk-1.12.0/src/libpmemset/part.c:104:20: note: Shadow variable pmdk-1.12.0/src/libpmemset/pmemset.c:211:14: style: Redundant initialization for 'p2map_size'. The initialized value is overwritten before it is read. [redundantInitialization] pmdk-1.12.0/src/libpmemset/pmemset.c:198:21: note: p2map_size is initialized pmdk-1.12.0/src/libpmemset/pmemset.c:211:14: note: p2map_size is overwritten pmdk-1.12.0/src/librpmem/rpmem.c:46:20: style: struct member 'rpmem_pool::obc' is never used. [unusedStructMember] pmdk-1.12.0/src/librpmem/rpmem.c:47:20: style: struct member 'rpmem_pool::fip' is never used. [unusedStructMember] pmdk-1.12.0/src/librpmem/rpmem.c:48:28: style: struct member 'rpmem_pool::info' is never used. [unusedStructMember] pmdk-1.12.0/src/librpmem/rpmem.c:49:7: style: struct member 'rpmem_pool::fip_service' is never used. [unusedStructMember] pmdk-1.12.0/src/librpmem/rpmem.c:51:9: style: struct member 'rpmem_pool::max_wq_size' is never used. [unusedStructMember] pmdk-1.12.0/src/librpmem/rpmem.c:53:6: style: struct member 'rpmem_pool::closing' is never used. [unusedStructMember] pmdk-1.12.0/src/librpmem/rpmem.c:54:6: style: struct member 'rpmem_pool::no_headers' is never used. [unusedStructMember] pmdk-1.12.0/src/librpmem/rpmem.c:59:15: style: struct member 'rpmem_pool::error' is never used. [unusedStructMember] pmdk-1.12.0/src/librpmem/rpmem_ssh.c:264:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pmdk-1.12.0/src/librpmem/rpmem_ssh.c:418:7: style: Local variable 'ret' shadows outer variable [shadowVariable] pmdk-1.12.0/src/librpmem/rpmem_ssh.c:407:10: note: Shadowed declaration pmdk-1.12.0/src/librpmem/rpmem_ssh.c:418:7: note: Shadow variable pmdk-1.12.0/src/librpmem/rpmem_fip.c:115:24: style: struct member 'rpmem_fip_rlane::base' is never used. [unusedStructMember] pmdk-1.12.0/src/librpmem/rpmem_fip.c:303:15: style: Variable 'sret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/blk_non_zero/blk_non_zero.c:44:22: style: Parameter 'buf' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/test/blk_pool_lock/blk_pool_lock.c:51:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pmdk-1.12.0/src/test/blk_pool_lock/blk_pool_lock.c:53:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pmdk-1.12.0/src/test/blk_rw/blk_rw.c:39:22: style: Parameter 'buf' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/test/blk_recovery/blk_recovery.c:73:22: style: Parameter 'buf' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/test/blk_rw_mt/blk_rw_mt.c:72:22: style: Parameter 'buf' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/test/ctl_cow/ctl_cow.c:52:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/ex_linkedlist/ex_linkedlist.c:64:2: error: There is an unknown macro here somewhere. Configuration is required. If POBJ_TAILQ_FOREACH is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/ctl_cow/ctl_cow.c:14:6: style: struct member 'test_st::x' is never used. [unusedStructMember] pmdk-1.12.0/src/test/libpmempool_rm_win/libpmempool_rm_win.c:31:19: style: Variable 'optarg' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/log_pool_lock/log_pool_lock.c:51:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pmdk-1.12.0/src/test/log_pool_lock/log_pool_lock.c:53:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pmdk-1.12.0/src/test/obj_action/obj_action.c:285:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_alloc/obj_alloc.c:24:7: style: struct member 'root::data' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_constructor/obj_constructor.c:123:2: error: There is an unknown macro here somewhere. Configuration is required. If POBJ_FOREACH_SAFE is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/mmap/mmap.c:219:19: error: Invalid mmap() argument nr 2. The value is 0 but the valid values are '1:'. [invalidFunctionArg] pmdk-1.12.0/src/test/mmap/mmap.c:546:27: error: Invalid munmap() argument nr 2. The value is 0 but the valid values are '1:'. [invalidFunctionArg] pmdk-1.12.0/src/test/mmap/mmap.c:558:14: error: Memory pointed to by 'ptr1' is freed twice. [doubleFree] pmdk-1.12.0/src/test/mmap/mmap.c:554:14: note: Memory pointed to by 'ptr1' is freed twice. pmdk-1.12.0/src/test/mmap/mmap.c:558:14: note: Memory pointed to by 'ptr1' is freed twice. pmdk-1.12.0/src/test/mmap/mmap.c:678:14: error: Memory pointed to by 'ptr1' is freed twice. [doubleFree] pmdk-1.12.0/src/test/mmap/mmap.c:668:14: note: Memory pointed to by 'ptr1' is freed twice. pmdk-1.12.0/src/test/mmap/mmap.c:678:14: note: Memory pointed to by 'ptr1' is freed twice. pmdk-1.12.0/src/test/mmap/mmap.c:817:14: error: Memory pointed to by 'ptr1' is freed twice. [doubleFree] pmdk-1.12.0/src/test/mmap/mmap.c:804:14: note: Memory pointed to by 'ptr1' is freed twice. pmdk-1.12.0/src/test/mmap/mmap.c:817:14: note: Memory pointed to by 'ptr1' is freed twice. pmdk-1.12.0/src/test/mmap/mmap.c:955:14: error: Memory pointed to by 'ptr1' is freed twice. [doubleFree] pmdk-1.12.0/src/test/mmap/mmap.c:942:14: note: Memory pointed to by 'ptr1' is freed twice. pmdk-1.12.0/src/test/mmap/mmap.c:955:14: note: Memory pointed to by 'ptr1' is freed twice. pmdk-1.12.0/src/test/obj_ctl_arenas/obj_ctl_arenas.c:334:3: error: There is an unknown macro here somewhere. Configuration is required. If POBJ_FOREACH_SAFE is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_basic_integration/obj_basic_integration.c:510:3: style: Local variable 'UT_ASSERT' shadows outer variable [shadowVariable] pmdk-1.12.0/src/test/obj_basic_integration/obj_basic_integration.c:469:2: note: Shadowed declaration pmdk-1.12.0/src/test/obj_basic_integration/obj_basic_integration.c:510:3: note: Shadow variable pmdk-1.12.0/src/test/obj_basic_integration/obj_basic_integration.c:519:3: style: Local variable 'UT_ASSERT' shadows outer variable [shadowVariable] pmdk-1.12.0/src/test/obj_basic_integration/obj_basic_integration.c:469:2: note: Shadowed declaration pmdk-1.12.0/src/test/obj_basic_integration/obj_basic_integration.c:519:3: note: Shadow variable pmdk-1.12.0/src/test/obj_ctl_stats/obj_ctl_stats.c:38:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] pmdk-1.12.0/src/test/obj_ctl_stats/obj_ctl_stats.c:34:6: note: ret is assigned pmdk-1.12.0/src/test/obj_ctl_stats/obj_ctl_stats.c:38:6: note: ret is overwritten pmdk-1.12.0/src/test/obj_defrag_advanced/pgraph.c:207:31: style:inconclusive: Function 'pgraph_print' argument 1 names different: declaration 'graph' definition 'pgraph'. [funcArgNamesDifferent] pmdk-1.12.0/src/test/obj_defrag_advanced/pgraph.h:37:36: note: Function 'pgraph_print' argument 1 names different: declaration 'graph' definition 'pgraph'. pmdk-1.12.0/src/test/obj_defrag_advanced/pgraph.c:207:31: note: Function 'pgraph_print' argument 1 names different: declaration 'graph' definition 'pgraph'. pmdk-1.12.0/src/test/obj_defrag/obj_defrag.c:142:11: style: Local variable 'i' shadows outer variable [shadowVariable] pmdk-1.12.0/src/test/obj_defrag/obj_defrag.c:113:6: note: Shadowed declaration pmdk-1.12.0/src/test/obj_defrag/obj_defrag.c:142:11: note: Shadow variable pmdk-1.12.0/src/test/obj_defrag_advanced/pgraph.c:34:11: style: Parameter 'pnodes' can be declared as const array [constParameter] pmdk-1.12.0/src/test/obj_defrag_advanced/vgraph.c:82:23: style: Variable 'edges_count' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/obj_first_next/obj_first_next.c:50:8: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_fragmentation2/obj_fragmentation2.c:66:14: style: Variable 'oid' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/obj_layout/obj_layout.c:50:0: error: #error "Unknown cacheline size" [preprocessorErrorDirective] pmdk-1.12.0/src/test/obj_list_macro/obj_list_macro.c:52:15: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_locks/obj_locks.c:154:12: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_list/obj_list.c:174:8: style: struct member 'realloc_arg::ptr' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_list/obj_list.c:175:9: style: struct member 'realloc_arg::new_size' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_list/obj_list.c:176:9: style: struct member 'realloc_arg::old_size' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_list/obj_list_mocks_palloc.c:104:54: style: Parameter 'off' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/test/obj_out_of_memory/obj_out_of_memory.c:48:2: error: There is an unknown macro here somewhere. Configuration is required. If POBJ_FOREACH_SAFE is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_pmalloc_mt/obj_pmalloc_mt.c:126:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_pmalloc_oom_mt/obj_pmalloc_oom_mt.c:27:2: error: There is an unknown macro here somewhere. Configuration is required. If POBJ_FOREACH_SAFE is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:384:2: style: Local variable 'print_reset_counters' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:290:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:384:2: note: Shadow variable pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:390:2: style: Local variable 'print_reset_counters' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:290:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:390:2: note: Shadow variable pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:395:2: style: Local variable 'print_reset_counters' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:290:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:395:2: note: Shadow variable pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:400:2: style: Local variable 'print_reset_counters' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:290:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:400:2: note: Shadow variable pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:406:2: style: Local variable 'print_reset_counters' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:290:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:406:2: note: Shadow variable pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:412:2: style: Local variable 'print_reset_counters' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:290:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:412:2: note: Shadow variable pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:426:2: style: Local variable 'print_reset_counters' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:290:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:426:2: note: Shadow variable pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:433:2: style: Local variable 'print_reset_counters' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:290:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_persist_count/obj_persist_count.c:433:2: note: Shadow variable pmdk-1.12.0/src/test/obj_pool_lock/obj_pool_lock.c:52:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pmdk-1.12.0/src/test/obj_pool_lock/obj_pool_lock.c:54:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pmdk-1.12.0/src/test/obj_pmalloc_basic/obj_pmalloc_basic.c:30:7: style: struct member 'mock_pop::lanes' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_pmalloc_basic/obj_pmalloc_basic.c:31:7: style: struct member 'mock_pop::padding' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_recovery/obj_recovery.c:96:4: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_recovery/obj_recovery.c:170:4: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_strdup/obj_strdup.c:83:8: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_sync/mocks_posix.c:26:2: error: There is an unknown macro here somewhere. Configuration is required. If FUNC_MOCK_RUN_RET_DEFAULT_REAL is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_sync/mocks_windows.c:23:2: error: There is an unknown macro here somewhere. Configuration is required. If FUNC_MOCK_RUN_RET_DEFAULT_REAL is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_recreate/obj_recreate.c:16:6: style: struct member 'foo::bar' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_tx_add_range/obj_tx_add_range.c:65:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_recovery/obj_recovery.c:23:6: style: struct member 'foo::bar' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_recovery/obj_recovery.c:29:7: style: struct member 'root::large_data' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_tx_add_range_direct/obj_tx_add_range_direct.c:48:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_realloc/obj_realloc.c:230:11: style: Condition 'c==NULL' is always false [knownConditionTrueFalse] pmdk-1.12.0/src/test/obj_tx_callbacks/obj_tx_callbacks.c:57:36: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_realloc/obj_realloc.c:26:9: style: struct member 'object::value' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_realloc/obj_realloc.c:27:7: style: struct member 'object::data' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_realloc/obj_realloc.c:32:7: style: struct member 'root::data' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_tx_free/obj_tx_free.c:52:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_tx_alloc/obj_tx_alloc.c:805:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_tx_alloc/obj_tx_alloc.c:811:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_tx_flow/obj_tx_flow.c:103:3: style: Local variable 'a' shadows outer variable [shadowVariable] pmdk-1.12.0/src/test/obj_tx_flow/obj_tx_flow.c:80:15: note: Shadowed declaration pmdk-1.12.0/src/test/obj_tx_flow/obj_tx_flow.c:103:3: note: Shadow variable pmdk-1.12.0/src/test/obj_tx_flow/obj_tx_flow.c:19:6: style: struct member 'test_obj::a' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_tx_flow/obj_tx_flow.c:20:6: style: struct member 'test_obj::b' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_tx_flow/obj_tx_flow.c:21:6: style: struct member 'test_obj::c' is never used. [unusedStructMember] pmdk-1.12.0/src/test/obj_tx_lock/obj_tx_lock.c:194:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_tx_locks/obj_tx_locks.c:55:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_tx_locks_abort/obj_tx_locks_abort.c:29:32: error: There is an unknown macro here somewhere. Configuration is required. If TOID is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_tx_realloc/obj_tx_realloc.c:66:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/obj_tx_mt/obj_tx_mt.c:37:3: style: Local variable 'locked' shadows outer variable [shadowVariable] pmdk-1.12.0/src/test/obj_tx_mt/obj_tx_mt.c:23:15: note: Shadowed declaration pmdk-1.12.0/src/test/obj_tx_mt/obj_tx_mt.c:37:3: note: Shadow variable pmdk-1.12.0/src/test/obj_tx_mt/obj_tx_mt.c:72:3: style: Local variable 'locked' shadows outer variable [shadowVariable] pmdk-1.12.0/src/test/obj_tx_mt/obj_tx_mt.c:57:15: note: Shadowed declaration pmdk-1.12.0/src/test/obj_tx_mt/obj_tx_mt.c:72:3: note: Shadow variable pmdk-1.12.0/src/test/obj_tx_strdup/obj_tx_strdup.c:174:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_tx_strdup/obj_tx_strdup.c:183:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_tx_user_data/obj_tx_user_data.c:38:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_tx_user_data/obj_tx_user_data.c:63:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:131:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:141:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:152:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:418:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:430:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:443:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:651:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:662:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:673:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:684:2: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:162:2: style: Local variable 'free_pool' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:54:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:162:2: note: Shadow variable pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:193:2: style: Local variable 'free_pool' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:54:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:193:2: note: Shadow variable pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:226:2: style: Local variable 'free_pool' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:54:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:226:2: note: Shadow variable pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:262:2: style: Local variable 'free_pool' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:54:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:262:2: note: Shadow variable pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:345:2: style: Local variable 'free_pool' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:54:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:345:2: note: Shadow variable pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:455:2: style: Local variable 'free_pool' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:54:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:455:2: note: Shadow variable pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:557:2: style: Local variable 'free_pool' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:54:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:557:2: note: Shadow variable pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:881:2: style: Local variable 'free_pool' shadows outer function [shadowFunction] pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:54:1: note: Shadowed declaration pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:881:2: note: Shadow variable pmdk-1.12.0/src/test/obj_ulog_size/obj_ulog_size.c:262:11: style: Variable 'free_pool' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/pmem2_badblock_mocks/pmem2_badblock_mocks.c:334:11: style: Variable 'src.type' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/pmem2_badblock_mocks/pmem2_badblock_mocks.c:337:20: style: Variable 'src.value.st_rdev' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/pmem2_config/pmem2_config.c:95:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] pmdk-1.12.0/src/test/pmem2_config/pmem2_config.c:93:6: note: ret is assigned pmdk-1.12.0/src/test/pmem2_config/pmem2_config.c:95:6: note: ret is overwritten pmdk-1.12.0/src/test/pmem2_granularity/mocks_posix.c:51:26: style: Redundant condition: is_bus_device_path. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] pmdk-1.12.0/src/test/pmem2_granularity/mocks_posix.c:71:26: style: Redundant condition: is_bus_device_path. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] pmdk-1.12.0/src/test/pmem2_granularity/mocks_posix.c:86:26: style: Redundant condition: is_bus_device_path. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] pmdk-1.12.0/src/test/pmem2_granularity/mocks_posix.c:61:7: style: struct member 'fs::ft' is never used. [unusedStructMember] pmdk-1.12.0/src/test/pmem2_memcpy/pmem2_memcpy.c:84:9: warning: Either the condition 'dest==NULL' is redundant or there is possible null pointer dereference: dest. [nullPointerRedundantCheck] pmdk-1.12.0/src/test/pmem2_memcpy/pmem2_memcpy.c:77:11: note: Assuming that condition 'dest==NULL' is not redundant pmdk-1.12.0/src/test/pmem2_memcpy/pmem2_memcpy.c:84:9: note: Null pointer dereference pmdk-1.12.0/src/test/pmem2_memcpy/pmem2_memcpy.c:80:24: warning: Either the condition 'dest==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] pmdk-1.12.0/src/test/pmem2_memcpy/pmem2_memcpy.c:77:11: note: Assuming that condition 'dest==NULL' is not redundant pmdk-1.12.0/src/test/pmem2_memcpy/pmem2_memcpy.c:80:24: note: Null pointer addition pmdk-1.12.0/src/test/pmem2_memmove/pmem2_memmove.c:89:12: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem2_memmove/pmem2_memmove.c:96:12: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem2_memmove/pmem2_memmove.c:103:12: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem2_movnt_align/movnt_align_common.c:19:22: warning: Function 'check_memmove' argument order different: declaration 'doff, soff, len, , flags, , ' definition 'doff, soff, len, pmemdest, src, len, flags' [funcArgOrderDifferent] pmdk-1.12.0/src/test/pmem2_movnt_align/movnt_align_common.h:29:27: note: Function 'check_memmove' argument order different: declaration 'doff, soff, len, , flags, , ' definition 'doff, soff, len, pmemdest, src, len, flags' pmdk-1.12.0/src/test/pmem2_movnt_align/movnt_align_common.c:19:22: note: Function 'check_memmove' argument order different: declaration 'doff, soff, len, , flags, , ' definition 'doff, soff, len, pmemdest, src, len, flags' pmdk-1.12.0/src/test/pmem2_movnt_align/movnt_align_common.c:35:21: warning: Function 'check_memcpy' argument order different: declaration 'doff, soff, len, , flags, , ' definition 'doff, soff, len, pmemdest, src, len, flags' [funcArgOrderDifferent] pmdk-1.12.0/src/test/pmem2_movnt_align/movnt_align_common.h:31:26: note: Function 'check_memcpy' argument order different: declaration 'doff, soff, len, , flags, , ' definition 'doff, soff, len, pmemdest, src, len, flags' pmdk-1.12.0/src/test/pmem2_movnt_align/movnt_align_common.c:35:21: note: Function 'check_memcpy' argument order different: declaration 'doff, soff, len, , flags, , ' definition 'doff, soff, len, pmemdest, src, len, flags' pmdk-1.12.0/src/test/pmem2_movnt_align/movnt_align_common.c:56:21: warning: Function 'check_memset' argument order different: declaration 'off, len, , flags, , ' definition 'off, len, pmemdest, c, len, flags' [funcArgOrderDifferent] pmdk-1.12.0/src/test/pmem2_movnt_align/movnt_align_common.h:33:26: note: Function 'check_memset' argument order different: declaration 'off, len, , flags, , ' definition 'off, len, pmemdest, c, len, flags' pmdk-1.12.0/src/test/pmem2_movnt_align/movnt_align_common.c:56:21: note: Function 'check_memset' argument order different: declaration 'off, len, , flags, , ' definition 'off, len, pmemdest, c, len, flags' pmdk-1.12.0/src/test/pmem2_mover/pmem2_mover.c:365:32: style: Modulo of one is always equal to zero [moduloofone] pmdk-1.12.0/src/test/pmem2_movnt_align/pmem2_movnt_align.c:128:13: warning: Either the condition 'Src==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] pmdk-1.12.0/src/test/pmem2_movnt_align/pmem2_movnt_align.c:129:11: note: Assuming that condition 'Src==NULL' is not redundant pmdk-1.12.0/src/test/pmem2_movnt_align/pmem2_movnt_align.c:128:13: note: Null pointer addition pmdk-1.12.0/src/test/pmem_has_auto_flush/mocks_posix.c:35:7: style: struct member 'fs::ft' is never used. [unusedStructMember] pmdk-1.12.0/src/test/pmem_eADR_functions/pmem_eADR_functions.c:27:17: style: Checking if unsigned expression 'mapped_len' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem_eADR_functions/pmem_eADR_functions.c:60:17: style: Checking if unsigned expression 'mapped_len' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem_eADR_functions/pmem_eADR_functions.c:96:17: style: Checking if unsigned expression 'mapped_len' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem_eADR_functions/pmem_eADR_functions.c:124:17: style: Checking if unsigned expression 'mapped_len' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem_is_pmem_windows/pmem_is_pmem_windows.c:244:1: error: There is an unknown macro here somewhere. Configuration is required. If MSVC_CONSTR is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/pmem_map_file/pmem_map_file.c:202:7: style: Condition 'addr' is always true [knownConditionTrueFalse] pmdk-1.12.0/src/test/pmem_map_file_win/pmem_map_file_win.c:207:1: error: There is an unknown macro here somewhere. Configuration is required. If MSVC_CONSTR is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/pmem_memcpy/pmem_memcpy.c:130:29: warning: Either the condition 'dest==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] pmdk-1.12.0/src/test/pmem_memcpy/pmem_memcpy.c:127:11: note: Assuming that condition 'dest==NULL' is not redundant pmdk-1.12.0/src/test/pmem_memcpy/pmem_memcpy.c:130:29: note: Null pointer addition pmdk-1.12.0/src/test/pmem_memmove/pmem_memmove.c:217:10: warning: Either the condition 'dst==NULL' is redundant or there is possible null pointer dereference: dst. [nullPointerRedundantCheck] pmdk-1.12.0/src/test/pmem_memmove/pmem_memmove.c:214:11: note: Assuming that condition 'dst==NULL' is not redundant pmdk-1.12.0/src/test/pmem_memmove/pmem_memmove.c:217:10: note: Null pointer dereference pmdk-1.12.0/src/test/pmem_memmove/pmem_memmove.c:179:18: warning: Either the condition 'dst==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] pmdk-1.12.0/src/test/pmem_memmove/pmem_memmove.c:176:11: note: Assuming that condition 'dst==NULL' is not redundant pmdk-1.12.0/src/test/pmem_memmove/pmem_memmove.c:179:18: note: Null pointer addition pmdk-1.12.0/src/test/pmem_memmove/pmem_memmove.c:144:12: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem_memmove/pmem_memmove.c:151:12: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem_memmove/pmem_memmove.c:158:12: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmem_valgr_simple/pmem_valgr_simple.c:32:3: warning: Either the condition 'dest==NULL' is redundant or there is possible null pointer dereference: (int*)dest. [nullPointerRedundantCheck] pmdk-1.12.0/src/test/pmem_valgr_simple/pmem_valgr_simple.c:28:11: note: Assuming that condition 'dest==NULL' is not redundant pmdk-1.12.0/src/test/pmem_valgr_simple/pmem_valgr_simple.c:32:3: note: Null pointer dereference pmdk-1.12.0/src/test/pmemset_config/pmemset_config.c:130:13: style: Variable 'Counter' is not assigned a value. [unassignedVariable] pmdk-1.12.0/src/test/pmemset_memmove/pmemset_memmove.c:101:12: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmemset_memmove/pmemset_memmove.c:108:12: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/pmemset_memmove/pmemset_memmove.c:115:12: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/test/rpmem_addr/rpmem_addr.c:22:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pmdk-1.12.0/src/test/rpmem_addr/rpmem_addr.c:25:37: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:282:34: warning: Either the condition 'id>=0' is redundant or the array 'pools[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:281:15: note: Assuming that condition 'id>=0' is not redundant pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:280:15: note: Assignment to 'id=atoi(id_str)' pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:280:9: note: id is assigned 'atoi(id_str)' here. pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:282:34: note: Negative array index pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:337:34: warning: Either the condition 'id>=0' is redundant or the array 'pools[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:336:15: note: Assuming that condition 'id>=0' is not redundant pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:335:15: note: Assignment to 'id=atoi(id_str)' pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:335:9: note: id is assigned 'atoi(id_str)' here. pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:337:34: note: Negative array index pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:383:34: warning: Either the condition 'id>=0' is redundant or the array 'pools[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:382:15: note: Assuming that condition 'id>=0' is not redundant pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:381:15: note: Assignment to 'id=atoi(id_str)' pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:381:9: note: id is assigned 'atoi(id_str)' here. pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:383:34: note: Negative array index pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:658:34: warning: Either the condition 'id>=0' is redundant or the array 'pools[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:657:15: note: Assuming that condition 'id>=0' is not redundant pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:656:15: note: Assignment to 'id=atoi(argv[0])' pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:656:9: note: id is assigned 'atoi(argv[0])' here. pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:658:34: note: Negative array index pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:725:34: warning: Either the condition 'id>=0' is redundant or the array 'pools[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:724:15: note: Assuming that condition 'id>=0' is not redundant pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:723:15: note: Assignment to 'id=atoi(id_str)' pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:723:9: note: id is assigned 'atoi(id_str)' here. pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:725:34: note: Negative array index pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:1009:34: warning: Either the condition 'id>=0' is redundant or the array 'pools[1024]' is accessed at index -1, which is out of bounds. [negativeIndex] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:1007:15: note: Assuming that condition 'id>=0' is not redundant pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:1006:15: note: Assignment to 'id=atoi(id_str)' pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:1006:9: note: id is assigned 'atoi(id_str)' here. pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:1009:34: note: Negative array index pmdk-1.12.0/src/test/rpmem_fip/rpmem_fip_oob.c:49:6: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:514:18: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:539:18: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:560:18: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:639:18: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:859:18: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:889:18: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:514:15: style: Unsigned expression 'id' can't be negative so it is unnecessary to test it. [unsignedPositive] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:539:15: style: Unsigned expression 'id' can't be negative so it is unnecessary to test it. [unsignedPositive] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:560:15: style: Unsigned expression 'id' can't be negative so it is unnecessary to test it. [unsignedPositive] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:639:15: style: Unsigned expression 'id' can't be negative so it is unnecessary to test it. [unsignedPositive] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:859:15: style: Unsigned expression 'id' can't be negative so it is unnecessary to test it. [unsignedPositive] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:889:15: style: Unsigned expression 'id' can't be negative so it is unnecessary to test it. [unsignedPositive] pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:375:56: style: Parameter 'argv' can be declared as const array [constParameter] pmdk-1.12.0/src/test/rpmem_obc/rpmem_obc_test_common.c:43:6: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/rpmem_fip/rpmem_fip_test.c:491:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] pmdk-1.12.0/src/test/rpmem_fip/rpmem_fip_test.c:487:6: note: ret is assigned pmdk-1.12.0/src/test/rpmem_fip/rpmem_fip_test.c:491:6: note: ret is overwritten pmdk-1.12.0/src/test/rpmemd_config/rpmemd_config_test.c:88:2: warning: Return value of function getpwuid() is not used. [ignoredReturnValue] pmdk-1.12.0/src/test/rpmemd_config/rpmemd_config_test.c:88:2: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] pmdk-1.12.0/src/test/rpmemd_obc/rpmemd_obc_test_common.c:44:6: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/tools/anonymous_mmap/anonymous_mmap.c:36:2: error: Memory leak: addr [memleak] pmdk-1.12.0/src/test/set_funcs/set_funcs.c:30:40: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] pmdk-1.12.0/src/test/set_funcs/set_funcs.c:55:25: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] pmdk-1.12.0/src/test/set_funcs/set_funcs.c:57:21: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] pmdk-1.12.0/src/test/set_funcs/set_funcs.c:71:40: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] pmdk-1.12.0/src/test/tools/ctrld/ctrld.c:440:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] pmdk-1.12.0/src/test/tools/ctrld/ctrld.c:346:19: error: Uninitialized variable: inode_item->inode [uninitvar] pmdk-1.12.0/src/test/tools/ddmap/ddmap.c:111:26: style: Parameter 'addr' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/test/tools/obj_verify/obj_verify.c:76:4: error: There is an unknown macro here somewhere. Configuration is required. If TX_END is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/tools/pmemobjcli/pmemobjcli.c:58:6: error: syntax error [syntaxError] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:360:6: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:360:14: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:360:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:710:3: style: Variable 'PROCESS_STATE' is reassigned a value before the old one has been used. [redundantAssignment] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:710:3: note: PROCESS_STATE is assigned pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:710:3: note: PROCESS_STATE is overwritten pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:769:3: style: Variable 'PROCESS_STATE' is reassigned a value before the old one has been used. [redundantAssignment] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:769:3: note: PROCESS_STATE is assigned pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:769:3: note: PROCESS_STATE is overwritten pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:1215:3: style: Variable 'PROCESS_STATE' is reassigned a value before the old one has been used. [redundantAssignment] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:1215:3: note: PROCESS_STATE is assigned pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:1215:3: note: PROCESS_STATE is overwritten pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:221:20: style: struct member 'list_pair::head' is never used. [unusedStructMember] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:222:21: style: struct member 'list_pair::entry' is never used. [unusedStructMember] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:353:14: style: Variable 'len' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:360:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:513:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/tools/pmemspoil/spoil.c:521:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/tools/sparsefile/sparsefile.c:272:11: style: Local variable 'i' shadows outer variable [shadowVariable] pmdk-1.12.0/src/test/tools/sparsefile/sparsefile.c:199:6: note: Shadowed declaration pmdk-1.12.0/src/test/tools/sparsefile/sparsefile.c:272:11: note: Shadow variable pmdk-1.12.0/src/test/tools/sparsefile/sparsefile.c:34:15: style: Variable 'size' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/unittest/ut.c:518:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] pmdk-1.12.0/src/test/unittest/ut.c:549:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] pmdk-1.12.0/src/test/unittest/ut.c:1031:22: style: Parameter 'addr' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/test/unittest/unittest.h:701:13: warning:inconclusive: Either the condition '!tc' is redundant or there is possible null pointer dereference: tc. [nullPointerRedundantCheck] pmdk-1.12.0/src/test/unittest/unittest.h:698:7: note: Assuming that condition '!tc' is not redundant pmdk-1.12.0/src/test/unittest/unittest.h:701:13: note: Null pointer dereference pmdk-1.12.0/src/test/unittest/ut_file.c:373:2: error: Return value of allocation function 'ut_mmap' is not stored. [leakReturnValNotUsed] pmdk-1.12.0/src/test/unittest/ut_file.c:135:29: style:inconclusive: Function 'ut_write' argument 6 names different: declaration 'len' definition 'count'. [funcArgNamesDifferent] pmdk-1.12.0/src/test/unittest/unittest.h:371:29: note: Function 'ut_write' argument 6 names different: declaration 'len' definition 'count'. pmdk-1.12.0/src/test/unittest/ut_file.c:135:29: note: Function 'ut_write' argument 6 names different: declaration 'len' definition 'count'. pmdk-1.12.0/src/test/unittest/ut_file.c:160:23: style:inconclusive: Function 'ut_read' argument 6 names different: declaration 'len' definition 'count'. [funcArgNamesDifferent] pmdk-1.12.0/src/test/unittest/unittest.h:374:23: note: Function 'ut_read' argument 6 names different: declaration 'len' definition 'count'. pmdk-1.12.0/src/test/unittest/ut_file.c:160:23: note: Function 'ut_read' argument 6 names different: declaration 'len' definition 'count'. pmdk-1.12.0/src/test/unittest/ut_pmem2_setup.c:20:66: style:inconclusive: Function 'ut_pmem2_prepare_config' argument 5 names different: declaration 'path' definition 'file'. [funcArgNamesDifferent] pmdk-1.12.0/src/test/unittest/ut_pmem2_setup.h:16:45: note: Function 'ut_pmem2_prepare_config' argument 5 names different: declaration 'path' definition 'file'. pmdk-1.12.0/src/test/unittest/ut_pmem2_setup.c:20:66: note: Function 'ut_pmem2_prepare_config' argument 5 names different: declaration 'path' definition 'file'. pmdk-1.12.0/src/test/unittest/ut_pmem2_source.c:26:45: style:inconclusive: Function 'ut_pmem2_source_from_fh' argument 5 names different: declaration 'fhandle' definition 'f'. [funcArgNamesDifferent] pmdk-1.12.0/src/test/unittest/ut_pmem2_source.h:37:45: note: Function 'ut_pmem2_source_from_fh' argument 5 names different: declaration 'fhandle' definition 'f'. pmdk-1.12.0/src/test/unittest/ut_pmem2_source.c:26:45: note: Function 'ut_pmem2_source_from_fh' argument 5 names different: declaration 'fhandle' definition 'f'. pmdk-1.12.0/src/test/unittest/ut_pmem2_source.c:54:36: style:inconclusive: Function 'ut_pmem2_source_alignment' argument 5 names different: declaration 'alignment' definition 'al'. [funcArgNamesDifferent] pmdk-1.12.0/src/test/unittest/ut_pmem2_source.h:40:36: note: Function 'ut_pmem2_source_alignment' argument 5 names different: declaration 'alignment' definition 'al'. pmdk-1.12.0/src/test/unittest/ut_pmem2_source.c:54:36: note: Function 'ut_pmem2_source_alignment' argument 5 names different: declaration 'alignment' definition 'al'. pmdk-1.12.0/src/test/unittest/ut_pmem2_source.c:49:43: error: Uninitialized variable: ret [uninitvar] pmdk-1.12.0/src/test/unittest/ut_pmem2_source.c:30:11: note: Assuming condition is false pmdk-1.12.0/src/test/unittest/ut_pmem2_source.c:49:43: note: Uninitialized variable: ret pmdk-1.12.0/src/test/util_ctl/util_ctl.c:28:1: error: There is an unknown macro here somewhere. Configuration is required. If CTL_READ_HANDLER is a macro then please configure it. [unknownMacro] pmdk-1.12.0/src/test/util_parse_size/util_parse_size.c:15:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/test/util_vecq/util_vecq.c:12:6: style: struct member 'test::foo' is never used. [unusedStructMember] pmdk-1.12.0/src/tools/daxio/daxio.c:72:20: style: struct member 'daxio_device::ndctl_ctx' is never used. [unusedStructMember] pmdk-1.12.0/src/tools/pmempool/check.c:34:24: style: struct member 'pmempool_check_context::pfile' is never used. [unusedStructMember] pmdk-1.12.0/src/tools/pmempool/convert.c:35:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/tools/pmempool/convert.c:52:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pmdk-1.12.0/src/tools/pmempool/common.c:348:7: warning:inconclusive: Possible null pointer dereference: curp [nullPointer] pmdk-1.12.0/src/tools/pmempool/common.c:346:24: note: Assignment 'curp=NULL', assigned value is 0 pmdk-1.12.0/src/tools/pmempool/common.c:348:7: note: Null pointer dereference pmdk-1.12.0/src/tools/pmempool/common.c:757:14: style: Redundant initialization for 'ret'. The initialized value is overwritten before it is read. [redundantInitialization] pmdk-1.12.0/src/tools/pmempool/common.c:740:11: note: ret is initialized pmdk-1.12.0/src/tools/pmempool/common.c:757:14: note: ret is overwritten pmdk-1.12.0/src/tools/pmempool/common.c:389:31: style:inconclusive: Function 'util_parse_ranges' argument 1 names different: declaration 'str' definition 'ptr'. [funcArgNamesDifferent] pmdk-1.12.0/src/tools/pmempool/common.h:183:35: note: Function 'util_parse_ranges' argument 1 names different: declaration 'str' definition 'ptr'. pmdk-1.12.0/src/tools/pmempool/common.c:389:31: note: Function 'util_parse_ranges' argument 1 names different: declaration 'str' definition 'ptr'. pmdk-1.12.0/src/tools/pmempool/create.c:636:7: style: Local variable 'ret' shadows outer variable [shadowVariable] pmdk-1.12.0/src/tools/pmempool/create.c:447:6: note: Shadowed declaration pmdk-1.12.0/src/tools/pmempool/create.c:636:7: note: Shadow variable pmdk-1.12.0/src/tools/pmempool/dump.c:125:25: warning:inconclusive: Possible null pointer dereference: curp [nullPointer] pmdk-1.12.0/src/tools/pmempool/dump.c:122:23: note: Assignment 'curp=NULL', assigned value is 0 pmdk-1.12.0/src/tools/pmempool/dump.c:125:25: note: Null pointer dereference pmdk-1.12.0/src/tools/pmempool/dump.c:126:25: warning:inconclusive: Possible null pointer dereference: curp [nullPointer] pmdk-1.12.0/src/tools/pmempool/dump.c:122:23: note: Assignment 'curp=NULL', assigned value is 0 pmdk-1.12.0/src/tools/pmempool/dump.c:126:25: note: Null pointer dereference pmdk-1.12.0/src/tools/pmempool/dump.c:143:8: warning:inconclusive: Possible null pointer dereference: curp [nullPointer] pmdk-1.12.0/src/tools/pmempool/dump.c:122:23: note: Assignment 'curp=NULL', assigned value is 0 pmdk-1.12.0/src/tools/pmempool/dump.c:143:8: note: Null pointer dereference pmdk-1.12.0/src/tools/pmempool/dump.c:145:36: warning:inconclusive: Possible null pointer dereference: curp [nullPointer] pmdk-1.12.0/src/tools/pmempool/dump.c:122:23: note: Assignment 'curp=NULL', assigned value is 0 pmdk-1.12.0/src/tools/pmempool/dump.c:143:20: note: Assuming condition is false pmdk-1.12.0/src/tools/pmempool/dump.c:145:36: note: Null pointer dereference pmdk-1.12.0/src/tools/pmempool/dump.c:146:8: warning:inconclusive: Possible null pointer dereference: curp [nullPointer] pmdk-1.12.0/src/tools/pmempool/dump.c:122:23: note: Assignment 'curp=NULL', assigned value is 0 pmdk-1.12.0/src/tools/pmempool/dump.c:143:20: note: Assuming condition is false pmdk-1.12.0/src/tools/pmempool/dump.c:146:8: note: Null pointer dereference pmdk-1.12.0/src/tools/pmempool/dump.c:247:20: warning:inconclusive: Possible null pointer dereference: curp [nullPointer] pmdk-1.12.0/src/tools/pmempool/dump.c:245:23: note: Assignment 'curp=NULL', assigned value is 0 pmdk-1.12.0/src/tools/pmempool/dump.c:247:20: note: Null pointer dereference pmdk-1.12.0/src/tools/pmempool/dump.c:248:12: warning:inconclusive: Possible null pointer dereference: curp [nullPointer] pmdk-1.12.0/src/tools/pmempool/dump.c:245:23: note: Assignment 'curp=NULL', assigned value is 0 pmdk-1.12.0/src/tools/pmempool/dump.c:248:12: note: Null pointer dereference pmdk-1.12.0/src/tools/pmempool/info.h:114:6: error: syntax error [syntaxError] pmdk-1.12.0/src/tools/pmempool/output.c:436:33: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] pmdk-1.12.0/src/tools/pmempool/output.c:254:27: style:inconclusive: Function 'out_get_percentage' argument 1 names different: declaration 'percentage' definition 'perc'. [funcArgNamesDifferent] pmdk-1.12.0/src/tools/pmempool/output.h:32:39: note: Function 'out_get_percentage' argument 1 names different: declaration 'percentage' definition 'perc'. pmdk-1.12.0/src/tools/pmempool/output.c:254:27: note: Function 'out_get_percentage' argument 1 names different: declaration 'percentage' definition 'perc'. pmdk-1.12.0/src/tools/pmempool/output.c:757:50: style:inconclusive: Function 'out_get_alignment_desc_str' argument 2 names different: declaration 'cur_ad' definition 'valid_ad'. [funcArgNamesDifferent] pmdk-1.12.0/src/tools/pmempool/output.h:47:62: note: Function 'out_get_alignment_desc_str' argument 2 names different: declaration 'cur_ad' definition 'valid_ad'. pmdk-1.12.0/src/tools/pmempool/output.c:757:50: note: Function 'out_get_alignment_desc_str' argument 2 names different: declaration 'cur_ad' definition 'valid_ad'. pmdk-1.12.0/src/tools/pmempool/output.c:808:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/tools/rpmemd/rpmemd_config.c:505:23: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] pmdk-1.12.0/src/tools/rpmemd/rpmemd_db.c:544:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] pmdk-1.12.0/src/tools/rpmemd/rpmemd_db.c:445:33: error: Uninitialized variable: edb->set [uninitvar] pmdk-1.12.0/src/tools/rpmemd/rpmemd_db.c:448:33: note: Assuming condition is false pmdk-1.12.0/src/tools/rpmemd/rpmemd_db.c:445:33: note: Uninitialized variable: edb->set pmdk-1.12.0/src/tools/rpmemd/rpmemd_fip.c:901:14: style: Local variable 'i' shadows outer variable [shadowVariable] pmdk-1.12.0/src/tools/rpmemd/rpmemd_fip.c:892:9: note: Shadowed declaration pmdk-1.12.0/src/tools/rpmemd/rpmemd_fip.c:901:14: note: Shadow variable pmdk-1.12.0/src/tools/rpmemd/rpmemd_fip.c:103:24: style: struct member 'rpmemd_fip::rd_lane' is never used. [unusedStructMember] pmdk-1.12.0/src/tools/rpmemd/rpmemd_fip.c:750:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pmdk-1.12.0/src/tools/rpmemd/rpmemd_util.c:41:29: style: Parameter 'persist' can be declared as pointer to const [constParameter] pmdk-1.12.0/src/windows/getopt/getopt.c:114:14: warning: Either the condition 'optcursor==NULL' is redundant or there is possible null pointer dereference: optcursor. [nullPointerRedundantCheck] pmdk-1.12.0/src/windows/getopt/getopt.c:170:17: note: Assuming that condition 'optcursor==NULL' is not redundant pmdk-1.12.0/src/windows/getopt/getopt.c:124:7: note: Assuming condition is true pmdk-1.12.0/src/windows/getopt/getopt.c:114:14: note: Null pointer dereference pmdk-1.12.0/src/test/obj_tx_invalid/obj_tx_invalid.c:346:3: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_tx_invalid/obj_tx_invalid.c:380:3: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_tx_invalid/obj_tx_invalid.c:411:3: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_tx_invalid/obj_tx_invalid.c:444:3: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] pmdk-1.12.0/src/test/obj_tx_invalid/obj_tx_invalid.c:23:6: style: struct member 'dummy_node::value' is never used. [unusedStructMember] diff: head pmdk-1.12.0/src/benchmarks/benchmark_empty.cpp:50:40: style: Parameter 'bench' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/benchmarks/benchmark_empty.cpp:50:40: style: Parameter 'bench' can be declared with const [constParameter] head pmdk-1.12.0/src/benchmarks/obj_locks.cpp:726:60: style: Parameter 'args' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/benchmarks/obj_locks.cpp:726:60: style: Parameter 'args' can be declared with const [constParameter] head pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:823:28: style: Parameter 'bench' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/benchmarks/pmemobj_atomic_lists.cpp:823:28: style: Parameter 'bench' can be declared with const [constParameter] head pmdk-1.12.0/src/deps/miniasync/examples/basic/basic.c:77:47: style: Parameter 'arg' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/deps/miniasync/examples/basic/basic.c:77:47: style: Parameter 'arg' can be declared with const [constParameter] head pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:274:42: style: Parameter 'key' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/examples/libpmemobj/libart/arttree_search.c:274:42: style: Parameter 'key' can be declared with const [constParameter] head pmdk-1.12.0/src/libpmem2/vm_reservation_posix.c:75:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] 2.8 pmdk-1.12.0/src/libpmemset/pmemset.c:1275:26: style: Parameter 'range_end' can be declared with const [constParameter] head pmdk-1.12.0/src/test/blk_non_zero/blk_non_zero.c:44:22: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/test/blk_non_zero/blk_non_zero.c:44:22: style: Parameter 'buf' can be declared with const [constParameter] head pmdk-1.12.0/src/test/blk_recovery/blk_recovery.c:73:22: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/test/blk_recovery/blk_recovery.c:73:22: style: Parameter 'buf' can be declared with const [constParameter] head pmdk-1.12.0/src/test/blk_rw/blk_rw.c:39:22: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/test/blk_rw/blk_rw.c:39:22: style: Parameter 'buf' can be declared with const [constParameter] head pmdk-1.12.0/src/test/blk_rw_mt/blk_rw_mt.c:72:22: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/test/blk_rw_mt/blk_rw_mt.c:72:22: style: Parameter 'buf' can be declared with const [constParameter] head pmdk-1.12.0/src/test/obj_defrag_advanced/pgraph.c:34:11: style: Parameter 'pnodes' can be declared as const array [constParameter] 2.8 pmdk-1.12.0/src/test/obj_defrag_advanced/pgraph.c:34:11: style: Parameter 'pnodes' can be declared with const [constParameter] head pmdk-1.12.0/src/test/obj_list/obj_list_mocks_palloc.c:104:54: style: Parameter 'off' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/test/obj_list/obj_list_mocks_palloc.c:104:54: style: Parameter 'off' can be declared with const [constParameter] 2.8 pmdk-1.12.0/src/test/pmem2_granularity/pmem2_granularity.c:28:56: style: Parameter 'argv' can be declared with const [constParameter] head pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:375:56: style: Parameter 'argv' can be declared as const array [constParameter] 2.8 pmdk-1.12.0/src/test/rpmem_basic/rpmem_basic.c:375:56: style: Parameter 'argv' can be declared with const [constParameter] 2.8 pmdk-1.12.0/src/test/tools/ctrld/ctrld.c:106:33: style: Parameter 'argv' can be declared with const [constParameter] head pmdk-1.12.0/src/test/tools/ddmap/ddmap.c:111:26: style: Parameter 'addr' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/test/tools/ddmap/ddmap.c:111:26: style: Parameter 'addr' can be declared with const [constParameter] head pmdk-1.12.0/src/test/unittest/ut.c:1031:22: style: Parameter 'addr' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/test/unittest/ut.c:1031:22: style: Parameter 'addr' can be declared with const [constParameter] 2.8 pmdk-1.12.0/src/tools/pmempool/convert.c:86:60: style: Parameter 'argv' can be declared with const [constParameter] head pmdk-1.12.0/src/tools/rpmemd/rpmemd_util.c:41:29: style: Parameter 'persist' can be declared as pointer to const [constParameter] 2.8 pmdk-1.12.0/src/tools/rpmemd/rpmemd_util.c:41:29: style: Parameter 'persist' can be declared with const [constParameter] DONE