>>> ndctl: Building community/ndctl 78-r1 (using abuild 3.13.0-r3) started Wed, 24 Apr 2024 20:51:52 +0000 >>> ndctl: Checking sanity of /home/buildozer/aports/community/ndctl/APKBUILD... >>> ndctl: Analyzing dependencies... >>> ndctl: Installing for build: build-base kmod asciidoc asciidoctor bash-completion-dev eudev-dev iniparser-dev json-c-dev keyutils-dev kmod-dev libtraceevent-dev libtracefs-dev linux-headers meson util-linux-dev (1/88) Installing xz-libs (5.6.1-r3) (2/88) Installing kmod (32-r0) (3/88) Installing libbz2 (1.0.8-r6) (4/88) Installing libffi (3.4.6-r0) (5/88) Installing gdbm (1.23-r1) (6/88) Installing mpdecimal (4.0.0-r0) (7/88) Installing libpanelw (6.4_p20240330-r0) (8/88) Installing readline (8.2.10-r0) (9/88) Installing sqlite-libs (3.45.3-r0) (10/88) Installing python3 (3.12.3-r1) (11/88) Installing python3-pycache-pyc0 (3.12.3-r1) (12/88) Installing pyc (3.12.3-r1) (13/88) Installing libxml2 (2.12.6-r2) (14/88) Installing libxml2-utils (2.12.6-r2) (15/88) Installing libgpg-error (1.48-r0) (16/88) Installing libgcrypt (1.10.3-r0) (17/88) Installing libxslt (1.1.39-r1) (18/88) Installing docbook-xml (4.5-r9) Executing docbook-xml-4.5-r9.post-install (19/88) Installing docbook-xsl (1.79.2-r9) Executing docbook-xsl-1.79.2-r9.post-install (20/88) Installing asciidoc-pyc (10.2.0-r5) (21/88) Installing python3-pyc (3.12.3-r1) (22/88) Installing asciidoc (10.2.0-r5) (23/88) Installing yaml (0.2.5-r2) (24/88) Installing ruby-libs (3.3.0-r0) (25/88) Installing libucontext (1.2-r3) (26/88) Installing ruby (3.3.0-r0) (27/88) Installing asciidoctor (2.0.22-r0) (28/88) Installing bash-completion-dev (2.12.0-r0) (29/88) Installing udev-init-scripts (35-r1) (30/88) Installing udev-init-scripts-openrc (35-r1) (31/88) Installing eudev-openrc (3.2.14-r2) (32/88) Installing eudev-libs (3.2.14-r2) (33/88) Installing libeconf (0.6.2-r0) (34/88) Installing libblkid (2.40-r2) (35/88) Installing kmod-libs (32-r0) (36/88) Installing eudev (3.2.14-r2) (37/88) Installing eudev-dev (3.2.14-r2) (38/88) Installing iniparser (4.1-r4) (39/88) Installing iniparser-dev (4.1-r4) (40/88) Installing json-c (0.17-r0) (41/88) Installing json-c-dev (0.17-r0) (42/88) Installing keyutils-libs (1.6.3-r3) (43/88) Installing keyutils-dev (1.6.3-r3) (44/88) Installing kmod-dev (32-r0) (45/88) Installing linux-headers (6.6-r0) (46/88) Installing libtraceevent (1.8.2-r0) (47/88) Installing libtraceevent-dev (1.8.2-r0) (48/88) Installing libtracefs (1.7.0-r1) (49/88) Installing libtracefs-dev (1.7.0-r1) (50/88) Installing samurai (1.2-r5) (51/88) Installing meson (1.4.0-r2) (52/88) Installing meson-pyc (1.4.0-r2) (53/88) Installing libuuid (2.40-r2) (54/88) Installing libfdisk (2.40-r2) (55/88) Installing libmount (2.40-r2) (56/88) Installing libsmartcols (2.40-r2) (57/88) Installing sqlite (3.45.3-r0) (58/88) Installing sqlite-dev (3.45.3-r0) (59/88) Installing util-linux (2.40-r2) (60/88) Installing setarch (2.40-r2) (61/88) Installing util-linux-misc (2.40-r2) (62/88) Installing skalibs (2.14.1.1-r0) (63/88) Installing utmps-libs (0.1.2.2-r1) (64/88) Installing linux-pam (1.6.0-r0) (65/88) Installing runuser (2.40-r2) (66/88) Installing mount (2.40-r2) (67/88) Installing losetup (2.40-r2) (68/88) Installing hexdump (2.40-r2) (69/88) Installing uuidgen (2.40-r2) (70/88) Installing blkid (2.40-r2) (71/88) Installing sfdisk (2.40-r2) (72/88) Installing mcookie (2.40-r2) (73/88) Installing agetty (2.40-r2) (74/88) Installing agetty-openrc (0.54-r1) (75/88) Installing wipefs (2.40-r2) (76/88) Installing cfdisk (2.40-r2) (77/88) Installing umount (2.40-r2) (78/88) Installing util-linux-openrc (2.40-r2) (79/88) Installing flock (2.40-r2) (80/88) Installing lsblk (2.40-r2) (81/88) Installing libcap-ng (0.8.4-r0) (82/88) Installing setpriv (2.40-r2) (83/88) Installing logger (2.40-r2) (84/88) Installing partx (2.40-r2) (85/88) Installing fstrim (2.40-r2) (86/88) Installing findmnt (2.40-r2) (87/88) Installing util-linux-dev (2.40-r2) (88/88) Installing .makedepends-ndctl (20240424.205209) Executing busybox-1.36.1-r25.trigger Executing eudev-3.2.14-r2.trigger OK: 485 MiB in 190 packages >>> ndctl: Cleaning up srcdir >>> ndctl: Cleaning up pkgdir >>> ndctl: Cleaning up tmpdir >>> ndctl: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/ndctl-78.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> ndctl: Fetching ndctl-78.tar.gz::https://github.com/pmem/ndctl/archive/v78.tar.gz Connecting to github.com (20.26.156.215:443) Connecting to codeload.github.com (20.26.156.216:443) saving to '/var/cache/distfiles/v3.20/ndctl-78.tar.gz.part' ndctl-78.tar.gz.part 100% |********************************| 416k 0:00:00 ETA '/var/cache/distfiles/v3.20/ndctl-78.tar.gz.part' saved >>> ndctl: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/ndctl-78.tar.gz >>> ndctl: Checking sha512sums... ndctl-78.tar.gz: OK no-bash.patch: OK >>> ndctl: Unpacking /var/cache/distfiles/v3.20/ndctl-78.tar.gz... >>> ndctl: no-bash.patch patching file clean_config.sh The Meson build system Version: 1.4.0 Source dir: /home/buildozer/aports/community/ndctl/src/ndctl-78 Build dir: /home/buildozer/aports/community/ndctl/src/ndctl-78/output Build type: native build Project name: ndctl Project version: 78 C compiler for the host machine: gcc (gcc 13.2.1 "gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309") C linker for the host machine: gcc ld.bfd 2.42 Host machine cpu family: x86 Host machine cpu: i686 Compiler for C supports arguments -Wchar-subscripts: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs : NO Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wmaybe-uninitialized: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wunused-result: YES Compiler for C supports arguments -D_FORTIFY_SOURCE=2: YES Program git found: YES (/usr/bin/git) Program env found: YES (/usr/bin/env) Configuring version.h using configuration Found pkg-config: YES (/usr/bin/pkg-config) 2.2.0 Run-time dependency libkmod found: YES 32 Run-time dependency libudev found: YES 251 Run-time dependency uuid found: YES 2.40.0 Run-time dependency json-c found: YES 0.17 Run-time dependency libtraceevent found: YES 1.8.2 Run-time dependency libtracefs found: YES 1.7 Program asciidoctor found: YES (/usr/bin/asciidoctor) Library keyutils found: YES Message: Looking for iniparser include headers ['iniparser.h', 'dictionary.h'] Has header "iniparser.h" : YES Has header "dictionary.h" : YES Library iniparser found: YES Has header "dlfcn.h" : YES Has header "inttypes.h" : YES Has header "keyutils.h" : YES Has header "linux/version.h" : YES Has header "memory.h" : YES Has header "stdint.h" : YES Has header "stdlib.h" : YES Has header "strings.h" : YES Has header "string.h" : YES Has header "sys/stat.h" : YES Has header "sys/types.h" : YES Has header "unistd.h" : YES Header "signal.h" has symbol "BUS_MCEERR_AR" : YES Header "linux/mman.h" has symbol "MAP_SHARED_VALIDATE" : YES Header "linux/mman.h" has symbol "MAP_SYNC" : YES Checking for function "secure_getenv" : YES Checking for function "__secure_getenv" : NO Checking for function "json_object_new_uint64" with dependency json-c: YES Configuring config.h using configuration daxctl/lib/meson.build:8: DEPRECATION: Project uses feature that was always broken, and is now deprecated since '1.3.0': str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.. ndctl/lib/meson.build:7: DEPRECATION: Project uses feature that was always broken, and is now deprecated since '1.3.0': str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.. cxl/lib/meson.build:7: DEPRECATION: Project uses feature that was always broken, and is now deprecated since '1.3.0': str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.. Program create.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/create.sh) Program clear.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/clear.sh) Program pmem-errors.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/pmem-errors.sh) Program daxdev-errors.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/daxdev-errors.sh) Program multi-dax.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/multi-dax.sh) Program btt-check.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/btt-check.sh) Program label-compat.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/label-compat.sh) Program sector-mode.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/sector-mode.sh) Program inject-error.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/inject-error.sh) Program btt-errors.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/btt-errors.sh) Program btt-pad-compat.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/btt-pad-compat.sh) Program firmware-update.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/firmware-update.sh) Program rescan-partitions.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/rescan-partitions.sh) Program inject-smart.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/inject-smart.sh) Program monitor.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/monitor.sh) Program max_available_extent_ns.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/max_available_extent_ns.sh) Program pfn-meta-errors.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/pfn-meta-errors.sh) Program track-uuid.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/track-uuid.sh) Program cxl-topology.sh found: YES (/bin/bash /home/buildozer/aports/community/ndctl/src/ndctl-78/test/cxl-topology.sh) Program cxl-region-sysfs.sh found: YES (/bin/bash /home/buildozer/aports/community/ndctl/src/ndctl-78/test/cxl-region-sysfs.sh) Program cxl-labels.sh found: YES (/bin/bash /home/buildozer/aports/community/ndctl/src/ndctl-78/test/cxl-labels.sh) Program cxl-create-region.sh found: YES (/bin/bash /home/buildozer/aports/community/ndctl/src/ndctl-78/test/cxl-create-region.sh) Program cxl-xor-region.sh found: YES (/bin/bash /home/buildozer/aports/community/ndctl/src/ndctl-78/test/cxl-xor-region.sh) Program cxl-update-firmware.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/cxl-update-firmware.sh) Program cxl-events.sh found: YES (/bin/bash /home/buildozer/aports/community/ndctl/src/ndctl-78/test/cxl-events.sh) Program nfit-security.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/nfit-security.sh) Program cxl-security.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-78/test/cxl-security.sh) Run-time dependency bash-completion found: YES 2.12.0 Build targets in project: 94 WARNING: Broken features used: * 1.3.0: {'str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.'} ndctl 78 User defined options auto_features : auto bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir : /var/lib sysconfdir : /etc werror : false wrap_mode : nodownload python.bytecompile: 0 b_lto : true b_pie : true b_staticpic : true systemd : disabled version-tag : 78 Found ninja-1.9 at /usr/bin/ninja ninja: entering directory '/home/buildozer/aports/community/ndctl/src/ndctl-78/output' [1/240] Compiling C object test/revoke_devmem.p/dax-dev.c.o [2/240] Compiling C object test/revoke_devmem.p/revoke-devmem.c.o [3/240] Compiling C object test/revoke_devmem.p/.._util_sysfs.c.o [4/240] Compiling C object test/revoke_devmem.p/.._util_log.c.o [5/240] Compiling C object test/revoke_devmem.p/core.c.o [6/240] Compiling C object test/device-dax.p/dax-poison.c.o [7/240] Compiling C object test/device-dax.p/dax-pmd.c.o [8/240] Compiling C object test/device-dax.p/dax-dev.c.o [9/240] Compiling C object test/device-dax.p/device-dax.c.o [10/240] Compiling C object test/device-dax.p/.._daxctl_json.c.o [11/240] Compiling C object test/device-dax.p/.._daxctl_filter.c.o [12/240] Compiling C object test/device-dax.p/.._ndctl_json.c.o [13/240] Compiling C object test/device-dax.p/.._util_json.c.o [14/240] Compiling C object test/device-dax.p/.._ndctl_check.c.o [15/240] Compiling C object test/device-dax.p/.._ndctl_filter.c.o [16/240] Compiling C object test/device-dax.p/.._ndctl_namespace.c.o [17/240] Compiling C object test/device-dax.p/.._util_sysfs.c.o [18/240] Compiling C object test/device-dax.p/.._util_log.c.o [19/240] Compiling C object test/device-dax.p/core.c.o [20/240] Compiling C object test/pmem-ns.p/pmem_namespaces.c.o [21/240] Compiling C object test/pmem-ns.p/.._util_sysfs.c.o [22/240] Compiling C object test/pmem-ns.p/.._util_log.c.o [23/240] Compiling C object test/pmem-ns.p/core.c.o [24/240] Compiling C object test/smart-listen.p/smart-listen.c.o [25/240] Generating Documentation/cxl/lib/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [26/240] Generating Documentation/cxl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [27/240] Generating Documentation/daxctl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [28/240] Generating Documentation/ndctl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [29/240] Generating cxl/lib/libcxl.pc with a custom command (wrapped by meson to capture output) [30/240] Generating ndctl/lib/libndctl.pc with a custom command (wrapped by meson to capture output) [31/240] Generating daxctl/lib/libdaxctl.pc with a custom command (wrapped by meson to capture output) [32/240] Compiling C object libccan.a.p/ccan_list_list.c.o [33/240] Compiling C object libccan.a.p/ccan_str_str.c.o [34/240] Compiling C object test/ack-shutdown-count-set.p/ack-shutdown-count-set.c.o ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [35/240] Compiling C object test/ack-shutdown-count-set.p/.._util_sysfs.c.o ../util/json.c: In function 'display_size': ../util/json.c:35:31: warning: integer overflow in expression of type 'long int' results in '-2147483648' [-Woverflow] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:35:27: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:31: warning: integer overflow in expression of type 'long int' results in '-2147483648' [-Woverflow] 53 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:27: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare] 53 | if (bytes < 2L*SZ_1G) { | ^ ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [36/240] Compiling C object test/ack-shutdown-count-set.p/.._util_log.c.o [37/240] Compiling C object test/ack-shutdown-count-set.p/core.c.o ../test/dax-poison.c: In function 'test_dax_poison': ../test/dax-poison.c:99:63: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 99 | fprintf(stderr, "%s: mmap got %p align: %ld offset: %zd\n", | ~~^ | | | int | %lld 100 | __func__, addr, align, offset); | ~~~~~~ | | | off_t {aka long long int} ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [38/240] Compiling C object test/hugetlb.p/dax-poison.c.o [39/240] Compiling C object test/hugetlb.p/dax-pmd.c.o [40/240] Compiling C object test/hugetlb.p/hugetlb.c.o [41/240] Compiling C object test/hugetlb.p/.._util_sysfs.c.o [42/240] Compiling C object test/hugetlb.p/.._util_log.c.o [43/240] Compiling C object test/hugetlb.p/core.c.o [44/240] Linking static target libccan.a [45/240] Compiling C object test/dsm-fail.p/dsm-fail.c.o [46/240] Compiling C object test/dsm-fail.p/.._daxctl_json.c.o [47/240] Compiling C object test/dsm-fail.p/.._daxctl_filter.c.o [48/240] Compiling C object test/dsm-fail.p/.._ndctl_json.c.o [49/240] Compiling C object test/dsm-fail.p/.._util_json.c.o [50/240] Compiling C object test/dsm-fail.p/.._ndctl_check.c.o [51/240] Compiling C object test/dsm-fail.p/.._ndctl_filter.c.o [52/240] Compiling C object test/dsm-fail.p/.._ndctl_namespace.c.o [53/240] Generating Documentation/ndctl/ndctl-activate-firmware with a custom command [54/240] Generating Documentation/ndctl/ndctl-write-infoblock with a custom command In file included from ../test/dax-pmd.c:18: ../test/dax-pmd.c: In function 'test_pmd': ../util/size.h:31:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 31 | #define ALIGN(x, a) ((((unsigned long long) x) + (a - 1)) & ~(a - 1)) | ^ ../test/dax-pmd.c:337:19: note: in expansion of macro 'ALIGN' 337 | m_align = ALIGN(base, HPAGE_SIZE) - ((unsigned long) base); | ^~~~~ [55/240] Generating Documentation/ndctl/ndctl-read-infoblock with a custom command [56/240] Generating Documentation/ndctl/ndctl-wait-overwrite with a custom command ../test/device-dax.c: In function 'verify_data': ../test/device-dax.c:124:73: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 124 | fprintf(stderr, "%s: verify loop took too long usecs: %ld\n", | ~~^ | | | long int | %lld 125 | daxctl_dev_get_devname(dev), tv_diff.tv_usec); | ~~~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} [57/240] Generating Documentation/daxctl/daxctl-destroy-device with a custom command [58/240] Generating Documentation/daxctl/daxctl-create-device with a custom command [59/240] Generating Documentation/daxctl/daxctl-enable-device with a custom command [60/240] Generating Documentation/daxctl/daxctl-disable-device with a custom command ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [61/240] Generating Documentation/cxl/cxl-update-firmware with a custom command [62/240] Generating Documentation/cxl/cxl-monitor with a custom command [63/240] Generating Documentation/cxl/cxl-destroy-region with a custom command [64/240] Generating Documentation/cxl/cxl-enable-region with a custom command [65/240] Generating Documentation/cxl/cxl-disable-region with a custom command [66/240] Generating Documentation/cxl/cxl-create-region with a custom command [67/240] Generating Documentation/cxl/cxl-free-dpa with a custom command ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld ../test/dax-poison.c: In function 'test_dax_poison': ../test/dax-poison.c:99:63: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 99 | fprintf(stderr, "%s: mmap got %p align: %ld offset: %zd\n", | ~~^ | | | int | %lld 100 | __func__, addr, align, offset); | ~~~~~~ | | | off_t {aka long long int} [68/240] Generating Documentation/cxl/cxl-reserve-dpa with a custom command [69/240] Generating Documentation/cxl/cxl-set-partition with a custom command [70/240] Generating Documentation/cxl/cxl-disable-bus with a custom command ../util/json.c: In function 'display_size': ../util/json.c:35:31: warning: integer overflow in expression of type 'long int' results in '-2147483648' [-Woverflow] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:35:27: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:31: warning: integer overflow in expression of type 'long int' results in '-2147483648' [-Woverflow] 53 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:27: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare] 53 | if (bytes < 2L*SZ_1G) { | ^ [71/240] Generating Documentation/cxl/cxl-disable-port with a custom command [72/240] Generating Documentation/cxl/cxl-enable-port with a custom command [73/240] Generating Documentation/cxl/cxl-disable-memdev with a custom command [74/240] Generating Documentation/cxl/cxl-enable-memdev with a custom command [75/240] Generating Documentation/cxl/cxl-zero-labels with a custom command In file included from ../test/dax-pmd.c:18: ../test/dax-pmd.c: In function 'test_pmd': ../util/size.h:31:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 31 | #define ALIGN(x, a) ((((unsigned long long) x) + (a - 1)) & ~(a - 1)) | ^ ../test/dax-pmd.c:337:19: note: in expansion of macro 'ALIGN' 337 | m_align = ALIGN(base, HPAGE_SIZE) - ((unsigned long) base); | ^~~~~ [76/240] Generating Documentation/cxl/cxl-write-labels with a custom command [77/240] Generating Documentation/cxl/cxl-read-labels with a custom command [78/240] Generating Documentation/cxl/cxl-list with a custom command [79/240] Generating Documentation/cxl/cxl with a custom command [80/240] Generating Documentation/cxl/lib/cxl_new with a custom command In file included from ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_read_info': ../ndctl/check.c:107:27: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | ssize_t {aka int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:107:17: note: in expansion of macro 'err' 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~ ../ndctl/check.c:107:62: note: format string is defined here 107 | err(bttc, "short read of first info block: %ld\n", size); | ~~^ | | | long int | %d ../ndctl/check.c: In function 'btt_write_info': ../ndctl/check.c:129:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | off); | ~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:129:17: note: in expansion of macro 'err' 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~ ../ndctl/check.c:129:56: note: format string is defined here 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:134:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:134:9: note: in expansion of macro 'info' 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~ ../ndctl/check.c:134:59: note: format string is defined here 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:143:27: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | ssize_t {aka int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:143:17: note: in expansion of macro 'err' 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~ ../ndctl/check.c:143:61: note: format string is defined here 143 | err(bttc, "short write of the info block: %ld\n", size); | ~~^ | | | long int | %d In file included from ../util/size.h:8, from ../ndctl/check.c:18: ../ndctl/check.c: In function 'btt_copy_to_info2': ../ndctl/check.c:174:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../util/util.h:38:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../util/util.h:38:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../ndctl/check.c: In function 'btt_map_write': ../ndctl/check.c:221:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../util/util.h:38:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../util/util.h:38:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../ndctl/check.c: In function 'btt_discover_arenas': ../ndctl/check.c:824:39: warning: comparison is always true due to limited range of data type [-Wtype-limits] 824 | if (remaining <= ARENA_MAX_SIZE) | ^~ ../ndctl/check.c:835:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 836 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:835:33: note: in expansion of macro 'err' 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~ ../ndctl/check.c:835:88: note: format string is defined here 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:841:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 842 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:841:33: note: in expansion of macro 'err' 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~ ../ndctl/check.c:841:73: note: format string is defined here 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function 'btt_mmap': ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:43: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'off_t' {aka 'long long int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~ | | | off_t {aka long long int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:58: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'off_t' {aka 'long long int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~~~~~~ | | | off_t {aka long long int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:78: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function 'btt_unmap': ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 931 | (void *) addr, length, page_offset); | ~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:43: note: format string is defined here 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'off_t' {aka 'long long int'} [-Wformat=] 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 931 | (void *) addr, length, page_offset); | ~~~~~~~~~~~ | | | off_t {aka long long int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:63: note: format string is defined here 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function 'btt_create_mappings': ../ndctl/check.c:944:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | i, a->map.info_len, a->infooff, strerror(errno)); | ~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:65: note: format string is defined here 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:944:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | i, a->map.info_len, a->infooff, strerror(errno)); | ~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:77: note: format string is defined here 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:952:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | i, a->map.data_len, a->dataoff, strerror(errno)); | ~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:65: note: format string is defined here 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:952:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | i, a->map.data_len, a->dataoff, strerror(errno)); | ~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:77: note: format string is defined here 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:960:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 961 | i, a->map.map_len, a->mapoff, strerror(errno)); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:64: note: format string is defined here 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:960:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 961 | i, a->map.map_len, a->mapoff, strerror(errno)); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:76: note: format string is defined here 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:968:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 969 | i, a->map.log_len, a->logoff, strerror(errno)); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:64: note: format string is defined here 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:968:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 969 | i, a->map.log_len, a->logoff, strerror(errno)); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:76: note: format string is defined here 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:976:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 977 | i, a->map.info2_len, a->info2off, strerror(errno)); | ~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:66: note: format string is defined here 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:976:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 977 | i, a->map.info2_len, a->info2off, strerror(errno)); | ~~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:78: note: format string is defined here 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function '__btt_recover_first_sb': ../ndctl/check.c:1047:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1048 | est_arenas, remaining); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1047:9: note: in expansion of macro 'info' 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~ ../ndctl/check.c:1047:63: note: format string is defined here 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:1065:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1066 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1065:9: note: in expansion of macro 'info' 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~ ../ndctl/check.c:1065:79: note: format string is defined here 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:1094:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1095 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1094:17: note: in expansion of macro 'info' 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~ ../ndctl/check.c:1094:81: note: format string is defined here 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:1127:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1127:17: note: in expansion of macro 'info' 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~ ../ndctl/check.c:1127:83: note: format string is defined here 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx [81/240] Generating Documentation/cxl/lib/libcxl with a custom command [82/240] Generating Documentation/daxctl/daxctl-offline-memory with a custom command In file included from ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_read_info': ../ndctl/check.c:107:27: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | ssize_t {aka int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:107:17: note: in expansion of macro 'err' 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~ ../ndctl/check.c:107:62: note: format string is defined here 107 | err(bttc, "short read of first info block: %ld\n", size); | ~~^ | | | long int | %d ../ndctl/check.c: In function 'btt_write_info': ../ndctl/check.c:129:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | off); | ~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:129:17: note: in expansion of macro 'err' 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~ ../ndctl/check.c:129:56: note: format string is defined here 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:134:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:134:9: note: in expansion of macro 'info' 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~ ../ndctl/check.c:134:59: note: format string is defined here 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:143:27: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | ssize_t {aka int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:143:17: note: in expansion of macro 'err' 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~ ../ndctl/check.c:143:61: note: format string is defined here 143 | err(bttc, "short write of the info block: %ld\n", size); | ~~^ | | | long int | %d In file included from ../util/size.h:8, from ../ndctl/check.c:18: ../ndctl/check.c: In function 'btt_copy_to_info2': ../ndctl/check.c:174:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../util/util.h:38:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../util/util.h:38:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../ndctl/check.c: In function 'btt_map_write': ../ndctl/check.c:221:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../util/util.h:38:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../util/util.h:38:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../ndctl/check.c: In function 'btt_discover_arenas': ../ndctl/check.c:824:39: warning: comparison is always true due to limited range of data type [-Wtype-limits] 824 | if (remaining <= ARENA_MAX_SIZE) | ^~ ../ndctl/check.c:835:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 836 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:835:33: note: in expansion of macro 'err' 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~ ../ndctl/check.c:835:88: note: format string is defined here 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:841:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 842 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:841:33: note: in expansion of macro 'err' 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~ ../ndctl/check.c:841:73: note: format string is defined here 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function 'btt_mmap': ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:43: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'off_t' {aka 'long long int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~ | | | off_t {aka long long int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:58: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'off_t' {aka 'long long int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~~~~~~ | | | off_t {aka long long int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:78: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function 'btt_unmap': ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 931 | (void *) addr, length, page_offset); | ~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:43: note: format string is defined here 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'off_t' {aka 'long long int'} [-Wformat=] 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 931 | (void *) addr, length, page_offset); | ~~~~~~~~~~~ | | | off_t {aka long long int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:63: note: format string is defined here 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function 'btt_create_mappings': ../ndctl/check.c:944:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | i, a->map.info_len, a->infooff, strerror(errno)); | ~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:65: note: format string is defined here 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:944:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | i, a->map.info_len, a->infooff, strerror(errno)); | ~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:77: note: format string is defined here 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:952:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | i, a->map.data_len, a->dataoff, strerror(errno)); | ~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:65: note: format string is defined here 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:952:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | i, a->map.data_len, a->dataoff, strerror(errno)); | ~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:77: note: format string is defined here 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:960:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 961 | i, a->map.map_len, a->mapoff, strerror(errno)); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:64: note: format string is defined here 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:960:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 961 | i, a->map.map_len, a->mapoff, strerror(errno)); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:76: note: format string is defined here 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:968:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 969 | i, a->map.log_len, a->logoff, strerror(errno)); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:64: note: format string is defined here 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:968:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 969 | i, a->map.log_len, a->logoff, strerror(errno)); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:76: note: format string is defined here 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:976:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 977 | i, a->map.info2_len, a->info2off, strerror(errno)); | ~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:66: note: format string is defined here 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:976:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 977 | i, a->map.info2_len, a->info2off, strerror(errno)); | ~~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:78: note: format string is defined here 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function '__btt_recover_first_sb': ../ndctl/check.c:1047:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1048 | est_arenas, remaining); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1047:9: note: in expansion of macro 'info' 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~ ../ndctl/check.c:1047:63: note: format string is defined here 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:1065:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1066 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1065:9: note: in expansion of macro 'info' 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~ ../ndctl/check.c:1065:79: note: format string is defined here 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:1094:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1095 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1094:17: note: in expansion of macro 'info' 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~ ../ndctl/check.c:1094:81: note: format string is defined here 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:1127:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1127:17: note: in expansion of macro 'info' 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~ ../ndctl/check.c:1127:83: note: format string is defined here 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx [83/240] Generating Documentation/daxctl/daxctl-online-memory with a custom command [84/240] Generating Documentation/daxctl/daxctl-reconfigure-device with a custom command [85/240] Generating Documentation/daxctl/daxctl-migrate-device-model with a custom command [86/240] Generating Documentation/daxctl/daxctl-list with a custom command [87/240] Generating Documentation/daxctl/daxctl with a custom command [88/240] Generating Documentation/ndctl/ndctl-load-keys with a custom command [89/240] Generating Documentation/ndctl/ndctl-sanitize-dimm with a custom command [90/240] Generating Documentation/ndctl/ndctl-freeze-security with a custom command [91/240] Generating Documentation/ndctl/ndctl-remove-passphrase with a custom command [92/240] Generating Documentation/ndctl/ndctl-update-passphrase with a custom command [93/240] Generating Documentation/ndctl/ndctl-setup-passphrase with a custom command [94/240] Generating Documentation/ndctl/ndctl-monitor with a custom command [95/240] Generating Documentation/ndctl/ndctl-list with a custom command [96/240] Generating Documentation/ndctl/ndctl-update-firmware with a custom command [97/240] Generating Documentation/ndctl/ndctl-inject-smart with a custom command [98/240] Generating Documentation/ndctl/ndctl-inject-error with a custom command [99/240] Generating Documentation/ndctl/ndctl-clear-errors with a custom command [100/240] Generating Documentation/ndctl/ndctl-check-namespace with a custom command [101/240] Generating Documentation/ndctl/ndctl-destroy-namespace with a custom command [102/240] Generating Documentation/ndctl/ndctl-create-namespace with a custom command [103/240] Generating Documentation/ndctl/ndctl-disable-namespace with a custom command [104/240] Generating Documentation/ndctl/ndctl-enable-namespace with a custom command [105/240] Generating Documentation/ndctl/ndctl-disable-dimm with a custom command [106/240] Generating Documentation/ndctl/ndctl-enable-dimm with a custom command [107/240] Generating Documentation/ndctl/ndctl-disable-region with a custom command [108/240] Generating Documentation/ndctl/ndctl-enable-region with a custom command [109/240] Generating Documentation/ndctl/ndctl-check-labels with a custom command [110/240] Generating Documentation/ndctl/ndctl-init-labels with a custom command [111/240] Generating Documentation/ndctl/ndctl-write-labels with a custom command [112/240] Generating Documentation/ndctl/ndctl-read-labels with a custom command [113/240] Generating Documentation/ndctl/ndctl-zero-labels with a custom command [114/240] Generating Documentation/ndctl/ndctl-start-scrub with a custom command [115/240] Generating Documentation/ndctl/ndctl-wait-scrub with a custom command [116/240] Generating Documentation/ndctl/ndctl with a custom command [117/240] Compiling C object test/dsm-fail.p/.._util_sysfs.c.o [118/240] Compiling C object test/dsm-fail.p/.._util_log.c.o [119/240] Compiling C object test/dsm-fail.p/core.c.o [120/240] Compiling C object test/mmap.p/mmap.c.o [121/240] Compiling C object test/dax-dev.p/dax-dev.c.o [122/240] Compiling C object test/dax-dev.p/.._util_sysfs.c.o [123/240] Compiling C object test/dax-dev.p/.._util_log.c.o ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [124/240] Compiling C object test/dax-dev.p/core.c.o [125/240] Compiling C object test/daxdev-errors.p/.._util_sysfs.c.o [126/240] Compiling C object test/daxdev-errors.p/.._util_log.c.o [127/240] Compiling C object test/daxdev-errors.p/daxdev-errors.c.o [128/240] Compiling C object test/dax-errors.p/dax-errors.c.o [129/240] Compiling C object test/dax-pmd.p/dax-poison.c.o [130/240] Linking target test/mmap [131/240] Compiling C object test/dax-pmd.p/dax-pmd.c.o [132/240] Compiling C object test/dax-pmd.p/.._util_sysfs.c.o ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [133/240] Compiling C object test/dax-pmd.p/.._util_log.c.o ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [134/240] Compiling C object test/dax-pmd.p/core.c.o [135/240] Compiling C object test/list-smart-dimm.p/.._daxctl_filter.c.o [136/240] Compiling C object test/list-smart-dimm.p/.._daxctl_json.c.o [137/240] Compiling C object test/list-smart-dimm.p/.._ndctl_json.c.o [138/240] Linking target test/dax-errors [139/240] Compiling C object test/list-smart-dimm.p/.._util_json.c.o [140/240] Compiling C object test/list-smart-dimm.p/.._ndctl_filter.c.o ../test/daxdev-errors.c: In function 'test_daxdev_clear_error': ../test/daxdev-errors.c:297:29: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 3 has type 'uint64_t *' {aka 'long long unsigned int *'} [-Wformat=] 297 | rc = sscanf(buf, "%lu %lu", &offset, &blocks); | ~~^ ~~~~~~~ | | | | | uint64_t * {aka long long unsigned int *} | long unsigned int * | %llu ../test/daxdev-errors.c:297:33: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 4 has type 'uint64_t *' {aka 'long long unsigned int *'} [-Wformat=] 297 | rc = sscanf(buf, "%lu %lu", &offset, &blocks); | ~~^ ~~~~~~~ | | | | | uint64_t * {aka long long unsigned int *} | long unsigned int * | %llu [141/240] Compiling C object test/list-smart-dimm.p/list-smart-dimm.c.o [142/240] Compiling C object test/smart-notify.p/smart-notify.c.o ../test/dax-poison.c: In function 'test_dax_poison': ../test/dax-poison.c:99:63: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 99 | fprintf(stderr, "%s: mmap got %p align: %ld offset: %zd\n", | ~~^ | | | int | %lld 100 | __func__, addr, align, offset); | ~~~~~~ | | | off_t {aka long long int} ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [143/240] Compiling C object cxl/cxl.p/monitor.c.o [144/240] Compiling C object cxl/cxl.p/event_trace.c.o [145/240] Compiling C object cxl/cxl.p/.._daxctl_filter.c.o [146/240] Compiling C object cxl/cxl.p/.._daxctl_json.c.o [147/240] Compiling C object cxl/cxl.p/filter.c.o [148/240] Compiling C object cxl/cxl.p/json.c.o [149/240] Compiling C object cxl/cxl.p/memdev.c.o ../util/json.c: In function 'display_size': ../util/json.c:35:31: warning: integer overflow in expression of type 'long int' results in '-2147483648' [-Woverflow] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:35:27: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:31: warning: integer overflow in expression of type 'long int' results in '-2147483648' [-Woverflow] 53 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:27: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare] 53 | if (bytes < 2L*SZ_1G) { | ^ [150/240] Compiling C object cxl/cxl.p/region.c.o [151/240] Compiling C object cxl/cxl.p/bus.c.o [152/240] Compiling C object cxl/cxl.p/port.c.o [153/240] Compiling C object cxl/cxl.p/list.c.o [154/240] Compiling C object cxl/cxl.p/cxl.c.o [155/240] Compiling C object daxctl/daxctl.p/filter.c.o [156/240] Compiling C object daxctl/daxctl.p/json.c.o In file included from ../test/dax-pmd.c:18: ../test/dax-pmd.c: In function 'test_pmd': ../util/size.h:31:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 31 | #define ALIGN(x, a) ((((unsigned long long) x) + (a - 1)) & ~(a - 1)) | ^ ../test/dax-pmd.c:337:19: note: in expansion of macro 'ALIGN' 337 | m_align = ALIGN(base, HPAGE_SIZE) - ((unsigned long) base); | ^~~~~ [157/240] Compiling C object daxctl/daxctl.p/device.c.o [158/240] Compiling C object daxctl/daxctl.p/migrate.c.o [159/240] Compiling C object daxctl/daxctl.p/list.c.o [160/240] Compiling C object daxctl/daxctl.p/acpi.c.o [161/240] Compiling C object daxctl/daxctl.p/daxctl.c.o [162/240] Compiling C object util/libutil.a.p/iomem.c.o [163/240] Compiling C object util/libutil.a.p/abspath.c.o [164/240] Compiling C object util/libutil.a.p/bitmap.c.o [165/240] Compiling C object util/libutil.a.p/wrapper.c.o [166/240] Compiling C object util/libutil.a.p/strbuf.c.o [167/240] Compiling C object util/libutil.a.p/help.c.o [168/240] Compiling C object util/libutil.a.p/main.c.o [169/240] Compiling C object util/libutil.a.p/log.c.o [170/240] Compiling C object util/libutil.a.p/json.c.o [171/240] Compiling C object util/libutil.a.p/size.c.o [172/240] Compiling C object util/libutil.a.p/usage.c.o [173/240] Compiling C object util/libutil.a.p/parse-configs.c.o [174/240] Compiling C object util/libutil.a.p/parse-options.c.o [175/240] Compiling C object cxl/lib/libcxl.so.1.0.5.p/libcxl.c.o [176/240] Compiling C object cxl/lib/libcxl.so.1.0.5.p/.._.._util_log.c.o [177/240] Compiling C object cxl/lib/libcxl.so.1.0.5.p/.._.._util_sysfs.c.o [178/240] Compiling C object ndctl/ndctl.p/load-keys.c.o [179/240] Compiling C object ndctl/ndctl.p/keys.c.o [180/240] Compiling C object ndctl/ndctl.p/monitor.c.o [181/240] Compiling C object ndctl/ndctl.p/inject-smart.c.o [182/240] Compiling C object ndctl/ndctl.p/inject-error.c.o ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [183/240] Compiling C object ndctl/ndctl.p/json-smart.c.o [184/240] Compiling C object ndctl/ndctl.p/json.c.o [185/240] Compiling C object ndctl/ndctl.p/.._daxctl_json.c.o [186/240] Compiling C object ndctl/ndctl.p/list.c.o [187/240] Compiling C object ndctl/ndctl.p/filter.c.o [188/240] Compiling C object ndctl/ndctl.p/.._daxctl_filter.c.o [189/240] Compiling C object ndctl/ndctl.p/dimm.c.o ../util/help.c: In function 'exec_man_konqueror': ../util/help.c:56:48: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 56 | warning("failed to exec '%s': %s", path, | ~^ | | | char * | %d 57 | strerror_r(errno, sbuf, sizeof(sbuf))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int ../util/help.c: In function 'exec_man_man': ../util/help.c:68:40: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 68 | warning("failed to exec '%s': %s", path, | ~^ | | | char * | %d 69 | strerror_r(errno, sbuf, sizeof(sbuf))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int [190/240] Compiling C object ndctl/ndctl.p/region.c.o [191/240] Compiling C object ndctl/ndctl.p/check.c.o ../util/json.c: In function 'display_size': ../util/json.c:35:31: warning: integer overflow in expression of type 'long int' results in '-2147483648' [-Woverflow] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:35:27: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:31: warning: integer overflow in expression of type 'long int' results in '-2147483648' [-Woverflow] 53 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:27: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare] 53 | if (bytes < 2L*SZ_1G) { | ^ [192/240] Compiling C object ndctl/ndctl.p/namespace.c.o [193/240] Compiling C object ndctl/ndctl.p/create-nfit.c.o [194/240] Compiling C object ndctl/ndctl.p/bus.c.o [195/240] Compiling C object ndctl/ndctl.p/ndctl.c.o [196/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/libndctl.c.o ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld [197/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/firmware.c.o [198/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/ars.c.o [199/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/papr.c.o In file included from ../cxl/region.c:8: ../cxl/region.c: In function 'parse_create_options': ../cxl/region.c:347:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 347 | "size (%lu) is not an integral multiple of interleave-ways (%u)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | p->size, p->ways); | ~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../cxl/region.c:346:25: note: in expansion of macro 'log_err' 346 | log_err(&rl, | ^~~~~~~ ../cxl/region.c:347:42: note: format string is defined here 347 | "size (%lu) is not an integral multiple of interleave-ways (%u)\n", | ~~^ | | | long unsigned int | %llu ../cxl/region.c: In function 'create_region': ../cxl/region.c:626:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 626 | "%s: region size %#lx exceeds max available space\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 627 | cxl_decoder_get_devname(p->root_decoder), size); | ~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../cxl/region.c:625:17: note: in expansion of macro 'log_err' 625 | log_err(&rl, | ^~~~~~~ ../cxl/region.c:626:45: note: format string is defined here 626 | "%s: region size %#lx exceeds max available space\n", | ~~~^ | | | long unsigned int | %#llx [200/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/hyperv.c.o [201/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/msft.c.o [202/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/hpe1.c.o [203/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/intel.c.o [204/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/smart.c.o ../daxctl/device.c: In function 'parse_device_options': ../daxctl/device.c:377:26: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration] 377 | device = basename(argv[0]); | ^~~~~~~~ ../daxctl/device.c:377:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 377 | device = basename(argv[0]); | ^ [205/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/nfit.c.o [206/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/inject.c.o [207/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/dimm.c.o [208/240] Linking static target util/libutil.a [209/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/.._.._util_sysfs.c.o [210/240] Compiling C object ndctl/lib/libndctl.so.6.2.21.p/.._.._util_log.c.o [211/240] Compiling C object daxctl/lib/libdaxctl.so.1.2.5.p/libdaxctl.c.o [212/240] Compiling C object daxctl/lib/libdaxctl.so.1.2.5.p/.._.._util_log.c.o [213/240] Compiling C object daxctl/lib/libdaxctl.so.1.2.5.p/.._.._util_sysfs.c.o [214/240] Compiling C object daxctl/lib/libdaxctl.so.1.2.5.p/.._.._util_iomem.c.o [215/240] Compiling C object test/libndctl.p/libndctl.c.o [216/240] Compiling C object test/libndctl.p/.._util_sysfs.c.o [217/240] Compiling C object test/libndctl.p/.._util_log.c.o [218/240] Compiling C object test/libndctl.p/core.c.o In file included from ../ndctl/lib/papr.c:12: ../ndctl/lib/papr.c: In function 'allocate_cmd': ../ndctl/lib/papr.c:25:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | "%s:" _format_str, \ | ^~~~~ ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/lib/papr.c:24:43: note: in expansion of macro 'err' 24 | #define papr_err(_dimm, _format_str, ...) err(_dimm->bus->ctx, \ | ^~~ ../ndctl/lib/papr.c:99:17: note: in expansion of macro 'papr_err' 99 | papr_err(dimm, "Requested payload size too large %lu bytes\n", | ^~~~~~~~ ../ndctl/monitor.c: In function 'notify_dimm_event': ../ndctl/monitor.c:136:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 136 | sprintf(timestamp, "%10ld.%09ld", ts.tv_sec, ts.tv_nsec); | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld ../util/log.c: In function 'log_file': ../util/log.c:36:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 36 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld ../ndctl/dimm.c: In function 'dump_index_json': ../ndctl/dimm.c:230:33: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 230 | for (offset = 0; offset < nsindex_size * 2; offset += nsindex_size) { | ^ ../ndctl/dimm.c: In function 'rw_bin': ../ndctl/dimm.c:328:44: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 328 | for (offset = start_offset; offset < start_offset + size; | ^ In file included from ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_read_info': ../ndctl/check.c:107:27: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | ssize_t {aka int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:107:17: note: in expansion of macro 'err' 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~ ../ndctl/check.c:107:62: note: format string is defined here 107 | err(bttc, "short read of first info block: %ld\n", size); | ~~^ | | | long int | %d ../ndctl/check.c: In function 'btt_write_info': ../ndctl/check.c:129:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | off); | ~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:129:17: note: in expansion of macro 'err' 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~ ../ndctl/check.c:129:56: note: format string is defined here 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:134:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:134:9: note: in expansion of macro 'info' 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~ ../ndctl/check.c:134:59: note: format string is defined here 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:143:27: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | ssize_t {aka int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:143:17: note: in expansion of macro 'err' 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~ ../ndctl/check.c:143:61: note: format string is defined here 143 | err(bttc, "short write of the info block: %ld\n", size); | ~~^ | | | long int | %d In file included from ../util/size.h:8, from ../ndctl/check.c:18: ../ndctl/check.c: In function 'btt_copy_to_info2': ../ndctl/check.c:174:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../util/util.h:38:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../util/util.h:38:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../ndctl/check.c: In function 'btt_map_write': ../ndctl/check.c:221:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../util/util.h:38:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../util/util.h:38:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../ndctl/check.c: In function 'btt_discover_arenas': ../ndctl/check.c:824:39: warning: comparison is always true due to limited range of data type [-Wtype-limits] 824 | if (remaining <= ARENA_MAX_SIZE) | ^~ ../ndctl/check.c:835:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 836 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:835:33: note: in expansion of macro 'err' 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~ ../ndctl/check.c:835:88: note: format string is defined here 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:841:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 842 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:841:33: note: in expansion of macro 'err' 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~ ../ndctl/check.c:841:73: note: format string is defined here 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function 'btt_mmap': ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:43: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'off_t' {aka 'long long int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~ | | | off_t {aka long long int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:58: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'off_t' {aka 'long long int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~~~~~~ | | | off_t {aka long long int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:78: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function 'btt_unmap': ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 931 | (void *) addr, length, page_offset); | ~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:43: note: format string is defined here 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'off_t' {aka 'long long int'} [-Wformat=] 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 931 | (void *) addr, length, page_offset); | ~~~~~~~~~~~ | | | off_t {aka long long int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:63: note: format string is defined here 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function 'btt_create_mappings': ../ndctl/check.c:944:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | i, a->map.info_len, a->infooff, strerror(errno)); | ~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:65: note: format string is defined here 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:944:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | i, a->map.info_len, a->infooff, strerror(errno)); | ~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:77: note: format string is defined here 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:952:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | i, a->map.data_len, a->dataoff, strerror(errno)); | ~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:65: note: format string is defined here 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:952:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | i, a->map.data_len, a->dataoff, strerror(errno)); | ~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:77: note: format string is defined here 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:960:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 961 | i, a->map.map_len, a->mapoff, strerror(errno)); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:64: note: format string is defined here 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:960:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 961 | i, a->map.map_len, a->mapoff, strerror(errno)); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:76: note: format string is defined here 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:968:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 969 | i, a->map.log_len, a->logoff, strerror(errno)); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:64: note: format string is defined here 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:968:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 969 | i, a->map.log_len, a->logoff, strerror(errno)); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:76: note: format string is defined here 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:976:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 977 | i, a->map.info2_len, a->info2off, strerror(errno)); | ~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:66: note: format string is defined here 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x ../ndctl/check.c:976:35: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 977 | i, a->map.info2_len, a->info2off, strerror(errno)); | ~~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:78: note: format string is defined here 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c: In function '__btt_recover_first_sb': ../ndctl/check.c:1047:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1048 | est_arenas, remaining); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1047:9: note: in expansion of macro 'info' 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~ ../ndctl/check.c:1047:63: note: format string is defined here 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:1065:20: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1066 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1065:9: note: in expansion of macro 'info' 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~ ../ndctl/check.c:1065:79: note: format string is defined here 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:1094:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1095 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1094:17: note: in expansion of macro 'info' 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~ ../ndctl/check.c:1094:81: note: format string is defined here 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/check.c:1127:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro 'log_info' 56 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ ../ndctl/check.c:1127:17: note: in expansion of macro 'info' 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~ ../ndctl/check.c:1127:83: note: format string is defined here 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from ../ndctl/lib/private.h:12, from ../ndctl/lib/dimm.c:10: ../ndctl/lib/dimm.c: In function '__label_validate': ../ndctl/lib/dimm.c:219:34: warning: format '%zx' expects argument of type 'size_t', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 219 | dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/lib/dimm.c:219:25: note: in expansion of macro 'dbg' 219 | dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); | ^~~ ../ndctl/lib/dimm.c:219:56: note: format string is defined here 219 | dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); | ~~~^ | | | unsigned int | %#llx ../ndctl/lib/dimm.c:227:34: warning: format '%zx' expects argument of type 'size_t', but argument 9 has type 'long unsigned int' [-Wformat=] 227 | dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | i, nslot, ndd->config_size); | ~~~~~~~~~~~~~~~~ | | | long unsigned int ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/lib/dimm.c:227:25: note: in expansion of macro 'dbg' 227 | dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", | ^~~ ../ndctl/lib/dimm.c:227:80: note: format string is defined here 227 | dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", | ~~~^ | | | unsigned int | %#lx [219/240] Linking target daxctl/lib/libdaxctl.so.1.2.5 ../cxl/lib/libcxl.c: In function 'add_cxl_memdev': ../cxl/lib/libcxl.c:1273:30: warning: comparison is always false due to limited range of data type [-Wtype-limits] 1273 | if (memdev->lsa_size == ULLONG_MAX) | ^~ In file included from ../cxl/lib/libcxl.c:23: ../cxl/lib/libcxl.c: In function 'add_cxl_decoder': ../cxl/lib/libcxl.c:2198:26: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 2198 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../cxl/lib/libcxl.c:2198:17: note: in expansion of macro 'dbg' 2198 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ^~~ ../cxl/lib/libcxl.c:2198:39: note: format string is defined here 2198 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ~~^ | | | long int | %d ../cxl/lib/libcxl.c:2204:26: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 2204 | dbg(ctx, "%s: target%ld %s fw_path: %s\n", devname, i, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro 'log_dbg' 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../cxl/lib/libcxl.c:2204:17: note: in expansion of macro 'dbg' 2204 | dbg(ctx, "%s: target%ld %s fw_path: %s\n", devname, i, | ^~~ ../cxl/lib/libcxl.c:2204:39: note: format string is defined here 2204 | dbg(ctx, "%s: target%ld %s fw_path: %s\n", devname, i, | ~~^ | | | long int | %d ../cxl/lib/libcxl.c:2214:26: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 2214 | err(ctx, "%s: failed to parse target%ld\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2215 | devpath_to_devname(cxldecoder_base), i); | ~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro 'log_cond' 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro 'log_err' 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../cxl/lib/libcxl.c:2214:17: note: in expansion of macro 'err' 2214 | err(ctx, "%s: failed to parse target%ld\n", | ^~~ ../cxl/lib/libcxl.c:2214:55: note: format string is defined here 2214 | err(ctx, "%s: failed to parse target%ld\n", | ~~^ | | | long int | %d ../cxl/lib/libcxl.c: In function 'cxl_cmd_set_input_payload': ../cxl/lib/libcxl.c:3372:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3372 | cmd->send_cmd->in.payload = (u64)cmd->input_payload; | ^ ../cxl/lib/libcxl.c:3379:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3379 | cmd->send_cmd->in.payload = (u64)buf; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_set_output_payload': ../cxl/lib/libcxl.c:3400:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3400 | cmd->send_cmd->out.payload = (u64)cmd->output_payload; | ^ ../cxl/lib/libcxl.c:3407:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3407 | cmd->send_cmd->out.payload = (u64)buf; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alloc_send': ../cxl/lib/libcxl.c:3434:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3434 | cmd->send_cmd->in.payload = (u64)cmd->input_payload; | ^ ../cxl/lib/libcxl.c:3441:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3441 | cmd->send_cmd->out.payload = (u64)cmd->output_payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_life_used_prog_warn_threshold_valid': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3555:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3555 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3561:9: note: in expansion of macro 'cmd_alert_get_valid_alerts_field' 3561 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_dev_over_temperature_prog_warn_threshold_valid': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3555:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3555 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3570:9: note: in expansion of macro 'cmd_alert_get_valid_alerts_field' 3570 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_dev_under_temperature_prog_warn_threshold_valid': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3555:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3555 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3579:9: note: in expansion of macro 'cmd_alert_get_valid_alerts_field' 3579 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_corrected_volatile_mem_err_prog_warn_threshold_valid': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3555:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3555 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3588:9: note: in expansion of macro 'cmd_alert_get_valid_alerts_field' 3588 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_corrected_pmem_err_prog_warn_threshold_valid': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3555:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3555 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3597:9: note: in expansion of macro 'cmd_alert_get_valid_alerts_field' 3597 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_life_used_prog_warn_threshold_writable': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3603:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3603 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3609:9: note: in expansion of macro 'cmd_alert_get_prog_alerts_field' 3609 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_dev_over_temperature_prog_warn_threshold_writable': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3603:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3603 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3618:9: note: in expansion of macro 'cmd_alert_get_prog_alerts_field' 3618 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_dev_under_temperature_prog_warn_threshold_writable': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3603:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3603 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3627:9: note: in expansion of macro 'cmd_alert_get_prog_alerts_field' 3627 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_corrected_volatile_mem_err_prog_warn_threshold_writable': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3603:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3603 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3636:9: note: in expansion of macro 'cmd_alert_get_prog_alerts_field' 3636 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_corrected_pmem_err_prog_warn_threshold_writable': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3603:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3603 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3645:9: note: in expansion of macro 'cmd_alert_get_prog_alerts_field' 3645 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_get_life_used_crit_alert_threshold': ../cxl/lib/libcxl.c:3509:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3509 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3653:9: note: in expansion of macro 'cmd_get_field_u8' 3653 | cmd_get_field_u8(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_get_life_used_prog_warn_threshold': ../cxl/lib/libcxl.c:3509:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3509 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3660:9: note: in expansion of macro 'cmd_get_field_u8' 3660 | cmd_get_field_u8(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_get_dev_over_temperature_crit_alert_threshold': ../cxl/lib/libcxl.c:3519:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3519 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3668:9: note: in expansion of macro 'cmd_get_field_u16' 3668 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_get_dev_under_temperature_crit_alert_threshold': ../cxl/lib/libcxl.c:3519:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3519 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3676:9: note: in expansion of macro 'cmd_get_field_u16' 3676 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_get_dev_over_temperature_prog_warn_threshold': ../cxl/lib/libcxl.c:3519:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3519 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3684:9: note: in expansion of macro 'cmd_get_field_u16' 3684 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_get_dev_under_temperature_prog_warn_threshold': ../cxl/lib/libcxl.c:3519:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3519 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3692:9: note: in expansion of macro 'cmd_get_field_u16' 3692 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_get_corrected_volatile_mem_err_prog_warn_threshold': ../cxl/lib/libcxl.c:3519:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3519 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3700:9: note: in expansion of macro 'cmd_get_field_u16' 3700 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alert_config_get_corrected_pmem_err_prog_warn_threshold': ../cxl/lib/libcxl.c:3519:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3519 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3707:9: note: in expansion of macro 'cmd_get_field_u16' 3707 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_maintenance_needed': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3718:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3718 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3722:9: note: in expansion of macro 'cmd_health_get_status_field' 3722 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_performance_degraded': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3718:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3718 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3728:9: note: in expansion of macro 'cmd_health_get_status_field' 3728 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_hw_replacement_needed': ../cxl/lib/libcxl.c:3541:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3541 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3718:9: note: in expansion of macro 'cmd_get_field_u8_mask' 3718 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3734:9: note: in expansion of macro 'cmd_health_get_status_field' 3734 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_normal': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3751:9: note: in expansion of macro 'cmd_health_check_media_field' 3751 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_not_ready': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3757:9: note: in expansion of macro 'cmd_health_check_media_field' 3757 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_persistence_lost': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3764:9: note: in expansion of macro 'cmd_health_check_media_field' 3764 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_data_lost': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3770:9: note: in expansion of macro 'cmd_health_check_media_field' 3770 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_powerloss_persistence_loss': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3777:9: note: in expansion of macro 'cmd_health_check_media_field' 3777 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_shutdown_persistence_loss': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3784:9: note: in expansion of macro 'cmd_health_check_media_field' 3784 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_persistence_loss_imminent': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3791:9: note: in expansion of macro 'cmd_health_check_media_field' 3791 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_powerloss_data_loss': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3798:9: note: in expansion of macro 'cmd_health_check_media_field' 3798 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_shutdown_data_loss': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3805:9: note: in expansion of macro 'cmd_health_check_media_field' 3805 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_data_loss_imminent': ../cxl/lib/libcxl.c:3741:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3741 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3812:9: note: in expansion of macro 'cmd_health_check_media_field' 3812 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_life_used_normal': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3831:9: note: in expansion of macro 'cmd_health_check_ext_field' 3831 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_life_used_warning': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3838:9: note: in expansion of macro 'cmd_health_check_ext_field' 3838 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_life_used_critical': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3845:9: note: in expansion of macro 'cmd_health_check_ext_field' 3845 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_temperature_normal': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3852:9: note: in expansion of macro 'cmd_health_check_ext_field' 3852 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_temperature_warning': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3859:9: note: in expansion of macro 'cmd_health_check_ext_field' 3859 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_temperature_critical': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3866:9: note: in expansion of macro 'cmd_health_check_ext_field' 3866 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_corrected_volatile_normal': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3873:9: note: in expansion of macro 'cmd_health_check_ext_field' 3873 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_corrected_volatile_warning': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3880:9: note: in expansion of macro 'cmd_health_check_ext_field' 3880 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_corrected_persistent_normal': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3887:9: note: in expansion of macro 'cmd_health_check_ext_field' 3887 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_corrected_persistent_warning': ../cxl/lib/libcxl.c:3819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3819 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3894:9: note: in expansion of macro 'cmd_health_check_ext_field' 3894 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'health_info_get_life_used_raw': ../cxl/lib/libcxl.c:3509:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3509 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3900:9: note: in expansion of macro 'cmd_get_field_u8' 3900 | cmd_get_field_u8(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'health_info_get_temperature_raw': ../cxl/lib/libcxl.c:3519:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3519 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3917:9: note: in expansion of macro 'cmd_get_field_u16' 3917 | cmd_get_field_u16(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_dirty_shutdowns': ../cxl/lib/libcxl.c:3530:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3530 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3934:9: note: in expansion of macro 'cmd_get_field_u32' 3934 | cmd_get_field_u32(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_volatile_errors': ../cxl/lib/libcxl.c:3530:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3530 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3940:9: note: in expansion of macro 'cmd_get_field_u32' 3940 | cmd_get_field_u32(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_pmem_errors': ../cxl/lib/libcxl.c:3530:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3530 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3946:9: note: in expansion of macro 'cmd_get_field_u32' 3946 | cmd_get_field_u32(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_identify_get_fw_rev': ../cxl/lib/libcxl.c:3968:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3968 | (struct cxl_cmd_identify *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_identify_get_label_size': ../cxl/lib/libcxl.c:3995:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3995 | (struct cxl_cmd_identify *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_new_read_label': ../cxl/lib/libcxl.c:4067:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4067 | get_lsa = (struct cxl_cmd_get_lsa_in *)cmd->send_cmd->in.payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_read_label_get_payload': ../cxl/lib/libcxl.c:4084:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4084 | get_lsa = (struct cxl_cmd_get_lsa_in *)cmd->send_cmd->in.payload; | ^ ../cxl/lib/libcxl.c:4088:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4088 | payload = (void *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_new_write_label': ../cxl/lib/libcxl.c:4330:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4330 | set_lsa = (struct cxl_cmd_set_lsa *)cmd->send_cmd->in.payload; | ^ In file included from ../ndctl/lib/libndctl.c:19: ../ndctl/lib/libndctl.c: In function 'ndctl_cmd_vendor_get_output': ../ccan/minmax/minmax.h:30:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'ssize_t' {aka 'int'} [-Wsign-compare] 30 | _a < _b ? _a : _b; \ | ^ ../ndctl/lib/libndctl.c:3145:15: note: in expansion of macro 'min' 3145 | len = min(len, out_length); | ^~~ ../ccan/minmax/minmax.h:30:32: warning: operand of '?:' changes signedness from 'ssize_t' {aka 'int'} to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 30 | _a < _b ? _a : _b; \ | ^~ ../ndctl/lib/libndctl.c:3145:15: note: in expansion of macro 'min' 3145 | len = min(len, out_length); | ^~~ [220/240] Generating symbol file daxctl/lib/libdaxctl.so.1.2.5.p/libdaxctl.so.1.2.5.symbols [221/240] Linking target cxl/lib/libcxl.so.1.0.5 [222/240] Linking target ndctl/lib/libndctl.so.6.2.21 [223/240] Generating symbol file cxl/lib/libcxl.so.1.0.5.p/libcxl.so.1.0.5.symbols [224/240] Linking target cxl/cxl [225/240] Generating symbol file ndctl/lib/libndctl.so.6.2.21.p/libndctl.so.6.2.21.symbols [226/240] Linking target test/revoke_devmem [227/240] Linking target test/device-dax [228/240] Linking target test/dax-pmd [229/240] Linking target test/dax-dev [230/240] Linking target test/pmem-ns [231/240] Linking target test/list-smart-dimm [232/240] Linking target test/daxdev-errors [233/240] Linking target test/smart-listen [234/240] Linking target test/smart-notify [235/240] Linking target test/ack-shutdown-count-set [236/240] Linking target test/hugetlb [237/240] Linking target test/dsm-fail [238/240] Linking target test/libndctl [239/240] Linking target daxctl/daxctl [240/240] Linking target ndctl/ndctl INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /home/buildozer/aports/community/ndctl/src/ndctl-78/output >>> ndctl: Entering fakeroot... Installing daxctl/lib/libdaxctl.so.1.2.5 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib Installing daxctl/lib/libdaxctl.pc to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig Installing ndctl/lib/libndctl.so.6.2.21 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib Installing ndctl/lib/libndctl.pc to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig Installing cxl/lib/libcxl.so.1.0.5 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib Installing cxl/lib/libcxl.pc to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig Installing ndctl/ndctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin Installing daxctl/daxctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin Installing cxl/cxl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin Installing Documentation/ndctl/ndctl.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-wait-scrub.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-start-scrub.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-zero-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-read-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-write-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-init-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-check-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-enable-region.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-disable-region.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-enable-dimm.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-disable-dimm.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-enable-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-disable-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-create-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-destroy-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-check-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-clear-errors.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-inject-error.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-inject-smart.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-update-firmware.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-list.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-monitor.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-setup-passphrase.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-update-passphrase.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-remove-passphrase.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-freeze-security.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-sanitize-dimm.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-load-keys.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-wait-overwrite.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-read-infoblock.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-write-infoblock.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-activate-firmware.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-list.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-migrate-device-model.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-reconfigure-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-online-memory.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-offline-memory.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-disable-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-enable-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-create-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-destroy-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-list.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-read-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-write-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-zero-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-enable-memdev.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-memdev.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-enable-port.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-port.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-bus.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-set-partition.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-reserve-dpa.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-free-dpa.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-create-region.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-region.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-enable-region.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-destroy-region.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-monitor.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-update-firmware.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/lib/libcxl.3 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man3 Installing Documentation/cxl/lib/cxl_new.3 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man3 Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/ndctl/libndctl.h to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/ndctl Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/ndctl/ndctl.h to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/ndctl Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/daxctl/libdaxctl.h to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/daxctl Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/cxl/libcxl.h to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/cxl Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/daxctl/lib/daxctl.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/daxctl Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/ndctl/monitor.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl.conf.d Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/ndctl/ndctl.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl.conf.d Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/ndctl/keys.readme to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl/keys Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/daxctl/daxctl.example.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/daxctl.conf.d Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/contrib/ndctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/contrib/ndctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/contrib/ndctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions Installing /home/buildozer/aports/community/ndctl/src/ndctl-78/contrib/nvdimm-security.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/modprobe.d Installing symlink pointing to libdaxctl.so.1.2.5 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libdaxctl.so.1 Installing symlink pointing to libdaxctl.so.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libdaxctl.so Installing symlink pointing to libndctl.so.6.2.21 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libndctl.so.6 Installing symlink pointing to libndctl.so.6 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libndctl.so Installing symlink pointing to libcxl.so.1.0.5 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libcxl.so.1 Installing symlink pointing to libcxl.so.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libcxl.so >>> ndctl-doc*: Running split function doc... >>> ndctl-doc*: Preparing subpackage ndctl-doc... >>> ndctl-doc*: Running postcheck for ndctl-doc >>> ndctl-dev*: Running split function dev... >>> ndctl-dev*: Preparing subpackage ndctl-dev... >>> ndctl-dev*: Stripping binaries >>> ndctl-dev*: Running postcheck for ndctl-dev >>> ndctl-libs*: Running split function libs... >>> ndctl-libs*: Preparing subpackage ndctl-libs... >>> ndctl-libs*: Stripping binaries >>> ndctl-libs*: Running postcheck for ndctl-libs >>> ndctl-bash-completion*: Running split function bashcomp... '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions' -> '/home/buildozer/aports/community/ndctl/pkg/ndctl-bash-completion/usr/share/bash-completion/completions' >>> ndctl-bash-completion*: Preparing subpackage ndctl-bash-completion... >>> ndctl-bash-completion*: Running postcheck for ndctl-bash-completion >>> ndctl*: Running postcheck for ndctl >>> ndctl*: Preparing package ndctl... >>> ndctl*: Stripping binaries >>> ndctl-bash-completion*: Scanning shared objects >>> ndctl-dev*: Scanning shared objects >>> ndctl-doc*: Scanning shared objects >>> ndctl-libs*: Scanning shared objects >>> ndctl*: Scanning shared objects >>> ndctl-bash-completion*: Tracing dependencies... >>> ndctl-bash-completion*: Package size: 68.0 KB >>> ndctl-bash-completion*: Compressing data... >>> ndctl-bash-completion*: Create checksum... >>> ndctl-bash-completion*: Create ndctl-bash-completion-78-r1.apk >>> ndctl-dev*: Tracing dependencies... ndctl-libs=78-r1 pkgconfig >>> ndctl-dev*: Package size: 124.0 KB >>> ndctl-dev*: Compressing data... >>> ndctl-dev*: Create checksum... >>> ndctl-dev*: Create ndctl-dev-78-r1.apk >>> ndctl-doc*: Tracing dependencies... >>> ndctl-doc*: Package size: 304.0 KB >>> ndctl-doc*: Compressing data... >>> ndctl-doc*: Create checksum... >>> ndctl-doc*: Create ndctl-doc-78-r1.apk >>> ndctl-libs*: Tracing dependencies... so:libc.musl-x86.so.1 so:libkmod.so.2 so:libudev.so.1 so:libuuid.so.1 >>> ndctl-libs*: Package size: 292.0 KB >>> ndctl-libs*: Compressing data... >>> ndctl-libs*: Create checksum... >>> ndctl-libs*: Create ndctl-libs-78-r1.apk >>> ndctl*: Tracing dependencies... kmod so:libc.musl-x86.so.1 so:libcxl.so.1 so:libdaxctl.so.1 so:libiniparser.so.1 so:libjson-c.so.5 so:libkeyutils.so.1 so:libndctl.so.6 so:libtraceevent.so.1 so:libtracefs.so.1 so:libuuid.so.1 >>> ndctl*: Package size: 404.0 KB >>> ndctl*: Compressing data... >>> ndctl*: Create checksum... >>> ndctl*: Create ndctl-78-r1.apk >>> ndctl: Build complete at Wed, 24 Apr 2024 20:52:29 +0000 elapsed time 0h 0m 37s >>> ndctl: Cleaning up srcdir >>> ndctl: Cleaning up pkgdir >>> ndctl: Uninstalling dependencies... (1/88) Purging .makedepends-ndctl (20240424.205209) (2/88) Purging kmod (32-r0) (3/88) Purging asciidoc-pyc (10.2.0-r5) (4/88) Purging asciidoc (10.2.0-r5) (5/88) Purging docbook-xsl (1.79.2-r9) Executing docbook-xsl-1.79.2-r9.pre-deinstall (6/88) Purging libxslt (1.1.39-r1) (7/88) Purging docbook-xml (4.5-r9) Executing docbook-xml-4.5-r9.pre-deinstall (8/88) Purging libxml2-utils (2.12.6-r2) (9/88) Purging asciidoctor (2.0.22-r0) (10/88) Purging ruby (3.3.0-r0) (11/88) Purging bash-completion-dev (2.12.0-r0) (12/88) Purging eudev-dev (3.2.14-r2) (13/88) Purging eudev-openrc (3.2.14-r2) (14/88) Purging eudev (3.2.14-r2) (15/88) Purging udev-init-scripts-openrc (35-r1) (16/88) Purging udev-init-scripts (35-r1) (17/88) Purging eudev-libs (3.2.14-r2) (18/88) Purging iniparser-dev (4.1-r4) (19/88) Purging iniparser (4.1-r4) (20/88) Purging json-c-dev (0.17-r0) (21/88) Purging json-c (0.17-r0) (22/88) Purging keyutils-dev (1.6.3-r3) (23/88) Purging keyutils-libs (1.6.3-r3) (24/88) Purging kmod-dev (32-r0) (25/88) Purging kmod-libs (32-r0) (26/88) Purging libtracefs-dev (1.7.0-r1) (27/88) Purging libtracefs (1.7.0-r1) (28/88) Purging meson-pyc (1.4.0-r2) (29/88) Purging meson (1.4.0-r2) (30/88) Purging samurai (1.2-r5) (31/88) Purging python3-pyc (3.12.3-r1) (32/88) Purging python3-pycache-pyc0 (3.12.3-r1) (33/88) Purging pyc (3.12.3-r1) (34/88) Purging python3 (3.12.3-r1) (35/88) Purging util-linux-dev (2.40-r2) (36/88) Purging agetty-openrc (0.54-r1) (37/88) Purging agetty (2.40-r2) (38/88) Purging blkid (2.40-r2) (39/88) Purging cfdisk (2.40-r2) (40/88) Purging findmnt (2.40-r2) (41/88) Purging flock (2.40-r2) (42/88) Purging fstrim (2.40-r2) (43/88) Purging gdbm (1.23-r1) (44/88) Purging hexdump (2.40-r2) (45/88) Purging libbz2 (1.0.8-r6) (46/88) Purging libgcrypt (1.10.3-r0) (47/88) Purging libgpg-error (1.48-r0) (48/88) Purging libpanelw (6.4_p20240330-r0) (49/88) Purging libtraceevent-dev (1.8.2-r0) (50/88) Purging linux-headers (6.6-r0) (51/88) Purging libtraceevent (1.8.2-r0) (52/88) Purging libucontext (1.2-r3) (53/88) Purging libxml2 (2.12.6-r2) (54/88) Purging logger (2.40-r2) (55/88) Purging losetup (2.40-r2) (56/88) Purging lsblk (2.40-r2) (57/88) Purging mcookie (2.40-r2) (58/88) Purging mount (2.40-r2) (59/88) Purging mpdecimal (4.0.0-r0) (60/88) Purging partx (2.40-r2) (61/88) Purging ruby-libs (3.3.0-r0) (62/88) Purging runuser (2.40-r2) (63/88) Purging setpriv (2.40-r2) (64/88) Purging sfdisk (2.40-r2) (65/88) Purging sqlite-dev (3.45.3-r0) (66/88) Purging sqlite (3.45.3-r0) (67/88) Purging umount (2.40-r2) (68/88) Purging util-linux-misc (2.40-r2) (69/88) Purging setarch (2.40-r2) (70/88) Purging util-linux-openrc (2.40-r2) (71/88) Purging uuidgen (2.40-r2) (72/88) Purging wipefs (2.40-r2) (73/88) Purging xz-libs (5.6.1-r3) (74/88) Purging yaml (0.2.5-r2) (75/88) Purging libfdisk (2.40-r2) (76/88) Purging libmount (2.40-r2) (77/88) Purging libblkid (2.40-r2) (78/88) Purging libcap-ng (0.8.4-r0) (79/88) Purging libeconf (0.6.2-r0) (80/88) Purging libffi (3.4.6-r0) (81/88) Purging libsmartcols (2.40-r2) (82/88) Purging libuuid (2.40-r2) (83/88) Purging linux-pam (1.6.0-r0) (84/88) Purging readline (8.2.10-r0) (85/88) Purging utmps-libs (0.1.2.2-r1) (86/88) Purging skalibs (2.14.1.1-r0) (87/88) Purging util-linux (2.40-r2) (88/88) Purging sqlite-libs (3.45.3-r0) Executing busybox-1.36.1-r25.trigger OK: 376 MiB in 102 packages >>> ndctl: Updating the community/x86 repository index... >>> ndctl: Signing the index...