Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/btrfs-progs.spec'], logger=gid=425uid=1000shell=FalseprintOutput=Falseenv={'HOME': '/builddir', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}nspawn_args=[]timeout=172800user='mockbuild'chrootPath='/var/lib/mock/module-a2fa7ae6686cd938-build-9636148-778607/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/btrfs-progs.spec'] with env {'HOME': '/builddir', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: ppc64 Building for target ppc64 Wrote: /builddir/build/SRPMS/btrfs-progs-4.12-1.module_a2fa7ae6.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/btrfs-progs.spec'], logger=gid=425uid=1000shell=FalseprintOutput=Falseenv={'HOME': '/builddir', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}nspawn_args=[]timeout=172800user='mockbuild'chrootPath='/var/lib/mock/module-a2fa7ae6686cd938-build-9636148-778607/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/btrfs-progs.spec'] with env {'HOME': '/builddir', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: ppc64 Building for target ppc64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hQ1FtL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf btrfs-progs-v4.12 + /usr/bin/xz -dc /builddir/build/SOURCES/btrfs-progs-v4.12.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd btrfs-progs-v4.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IXO9AF + exit 0 + umask 022 + cd /builddir/build/BUILD + cd btrfs-progs-v4.12 + ./autogen.sh Generate build-system by: aclocal: aclocal (GNU automake) 1.15 autoconf: autoconf (GNU Autoconf) 2.69 autoheader: autoheader (GNU Autoconf) 2.69 automake: automake (GNU automake) 1.15 Now type './configure' and 'make' to compile. + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=ppc64-redhat-linux-gnu --host=ppc64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -fno-strict-aliasing' configure: WARNING: unrecognized options: --disable-dependency-tracking checking for ppc64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for ppc64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking build system type... powerpc64-redhat-linux-gnu checking host system type... powerpc64-redhat-linux-gnu checking for an ANSI C-conforming const... yes checking for working volatile... yes checking whether byte ordering is bigendian... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ppc64-redhat-linux-gnu-ar... no checking for ar... ar checking for rm... /usr/bin/rm checking for rmdir... /usr/bin/rmdir checking for openat... yes checking for ppc64-redhat-linux-gnu-pkg-config... /usr/bin/ppc64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for backtrace... yes checking for backtrace_symbols_fd... yes checking for asciidoc... /usr/bin/asciidoc checking for xmlto... /usr/bin/xmlto checking for gzip... /usr/bin/gzip checking for mv... /usr/bin/mv checking for a sed that does not truncate output... /usr/bin/sed checking for EXT2FS... yes checking for COM_ERR... yes checking for FIEMAP_EXTENT_SHARED defined in linux/fiemap.h... yes checking for BLKID... yes checking for UUID... yes checking for ZLIB... yes checking for lzo_version in -llzo2... yes configure: creating ./config.status config.status: creating Makefile.inc config.status: creating Documentation/Makefile config.status: creating version.h config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking btrfs-progs v4.12 prefix: /usr exec prefix: /usr bindir: /usr/bin libdir: /usr/lib64 includedir: /usr/include compiler: gcc cflags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -fno-strict-aliasing ldflags: -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld documentation: yes backtrace support: yes btrfs-convert: yes (ext2) Type 'make' to compile. + make -j4 [CC] mktables [TABLE] kernel-lib/tables.c [CC] btrfs.o [CC] ctree.o [CC] disk-io.o [CC] kernel-lib/radix-tree.o disk-io.c: In function 'print_tree_block_error': disk-io.c:107:45: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "bytenr mismatch, want=%llu, have=%llu\n", ~~~^ %lu eb->start, btrfs_header_bytenr(eb)); ~~~~~~~~~ disk-io.c:107:56: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "bytenr mismatch, want=%llu, have=%llu\n", ~~~^ %lu eb->start, btrfs_header_bytenr(eb)); ~~~~~~~~~~~~~~~~~~~~~~~ In file included from disk-io.c:26:0: disk-io.c: In function 'read_whole_eb': disk-io.c:262:12: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] printk("Couldn't map the block %Lu\n", eb->start + offset); ^ ~~~~~~~~~~~~~ kerncompat.h:279:46: note: in definition of macro 'printk' #define printk(fmt, args...) fprintf(stderr, fmt, ##args) ^~~ In file included from utils.h:30:0, from disk-io.c:33: disk-io.c: In function 'read_tree_block': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ disk-io.c:323:3: note: in expansion of macro 'error' error("tree block bytenr %llu is not aligned to sectorsize %u", ^~~~~ disk-io.c: In function 'read_extent_data': disk-io.c:399:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't map the block %llu\n", ~~~^ %lu logical + offset); ~~~~~~~~~~~~~~~~ In file included from utils.h:30:0, from disk-io.c:33: disk-io.c: In function 'btrfs_setup_chunk_tree_and_device_map': messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ disk-io.c:1184:3: note: in expansion of macro 'warning' warning("chunk_root_bytenr %llu is unaligned to %u, ignore it", ^~~~~~~ disk-io.c: In function 'check_super': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ disk-io.c:1464:3: note: in expansion of macro 'error' error("tree_root block unaligned: %llu", btrfs_super_root(sb)); ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ disk-io.c:1468:3: note: in expansion of macro 'error' error("chunk_root block unaligned: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ disk-io.c:1473:3: note: in expansion of macro 'error' error("log_root block unaligned: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ disk-io.c:1500:3: note: in expansion of macro 'error' error("invalid bytes_used %llu", btrfs_super_bytes_used(sb)); ^~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ disk-io.c:1524:3: note: in expansion of macro 'warning' warning("suspicious number of devices: %llu", ^~~~~~~ [CC] extent-tree.o [CC] print-tree.o print-tree.c: In function 'print_dir_item': print-tree.c:72:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\ttransid %llu data_len %u name_len %u\n", ~~~^ %lu btrfs_dir_transid(eb, di), ~~~~~~~~~~~~~~~~~~~~~~~~~ print-tree.c: In function 'print_file_extent_item': print-tree.c:345:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tgeneration %llu type %hhu (%s)\n", ~~~^ %lu btrfs_file_extent_generation(eb, fi), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extent-tree.c: In function 'lookup_inline_extent_backref': extent-tree.c:1046:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Failed to find [%llu, %u, %llu]\n", key.objectid, key.type, key.offset); ~~~^ ~~~~~~~~~~~~ %lu extent-tree.c:1046:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Failed to find [%llu, %u, %llu]\n", key.objectid, key.type, key.offset); ~~~^ ~~~~~~~~~~ %lu print-tree.c: In function 'print_root': print-tree.c:585:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tctransid %llu otransid %llu stransid %llu rtransid %llu\n", ~~~^ %lu btrfs_root_ctransid(&root_item), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print-tree.c:585:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tctransid %llu otransid %llu stransid %llu rtransid %llu\n", ~~~^ %lu print-tree.c:587:5: btrfs_root_otransid(&root_item), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print-tree.c:585:56: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tctransid %llu otransid %llu stransid %llu rtransid %llu\n", ~~~^ %lu print-tree.c:588:5: btrfs_root_stransid(&root_item), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print-tree.c:585:70: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tctransid %llu otransid %llu stransid %llu rtransid %llu\n", ~~~^ %lu print-tree.c:589:5: btrfs_root_rtransid(&root_item)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print-tree.c: In function 'print_objectid': print-tree.c:679:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stream, "%llu/%llu", btrfs_qgroup_level(objectid), ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu print-tree.c:679:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stream, "%llu/%llu", btrfs_qgroup_level(objectid), ~~~^ %lu btrfs_qgroup_subvid(objectid)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print-tree.c: In function 'btrfs_print_key': print-tree.c:780:15: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf(" %llu/%llu)", btrfs_qgroup_level(offset), ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu print-tree.c:780:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf(" %llu/%llu)", btrfs_qgroup_level(offset), ~~~^ %lu btrfs_qgroup_subvid(offset)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ print-tree.c: In function 'print_balance_item': print-tree.c:923:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbalance status flags %llu\n", ~~~^ %lu btrfs_balance_item_flags(eb, bi)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print-tree.c: In function 'btrfs_print_leaf': print-tree.c:995:18: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("leaf %llu flags 0x%llx(%s) backref revision %d\n", ~~~^ %lu btrfs_header_bytenr(eb), flags, flags_str, backref_rev); ~~~~~~~~~~~~~~~~~~~~~~~ print-tree.c:995:31: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("leaf %llu flags 0x%llx(%s) backref revision %d\n", ~~~^ %lx print-tree.c:1254:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tunknown persistent item objectid %llu\n", ~~~^ %lu print-tree.c:1267:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tunknown temporary item objectid %llu\n", ~~~^ %lu extent-tree.c: In function 'free_space_info': extent-tree.c:1812:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "WARNING: bad space info to free %llu only have %llu\n", ~~~^ %lu extent-tree.c:1812:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "WARNING: bad space info to free %llu only have %llu\n", ~~~^ %lu total_bytes, found->total_bytes); ~~~~~~~~~~~~~~~~~~ extent-tree.c: In function 'btrfs_free_block_group': extent-tree.c:3788:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "WARNING: block group [%llu,%llu) is not empty\n", ~~~^ %lu extent-tree.c:3788:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "WARNING: block group [%llu,%llu) is not empty\n", ~~~^ %lu bytenr, bytenr + len); ~~~~~~~~~~~~ extent-tree.c:3806:45: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "failed to free block group item for [%llu,%llu)\n", ~~~^ %lu extent-tree.c:3806:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "failed to free block group item for [%llu,%llu)\n", ~~~^ %lu bytenr, bytenr + len); ~~~~~~~~~~~~ extent-tree.c:3815:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "failed to dev extents belongs to [%llu,%llu)\n", ~~~^ %lu extent-tree.c:3815:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "failed to dev extents belongs to [%llu,%llu)\n", ~~~^ %lu bytenr, bytenr + len); ~~~~~~~~~~~~ extent-tree.c:3823:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "failed to free chunk for [%llu,%llu)\n", ~~~^ %lu extent-tree.c:3823:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "failed to free chunk for [%llu,%llu)\n", ~~~^ %lu bytenr, bytenr + len); ~~~~~~~~~~~~ [CC] root-tree.o [CC] dir-item.o [CC] file-item.o [CC] inode-item.o [CC] inode-map.o [CC] extent-cache.o [CC] extent_io.o [CC] volumes.o extent_io.c: In function 'read_data_from_disk': extent_io.c:704:46: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't map the block %Lu\n", ~~^ %lu extent_io.c:720:37: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Error reading %Lu, %d\n", offset, ~~^ %lu extent_io.c:725:38: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Short read for %Lu, read %d, " ~~^ %lu extent_io.c:725:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Short read for %Lu, read %d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extent_io.c:726:17: note: format string is defined here "read_len %Lu\n", offset, ret, read_len); ~~^ %lu extent_io.c: In function 'write_data_to_disk': [CC] utils.o extent_io.c:758:46: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't map the block %Lu\n", ~~^ %lu In file included from utils.h:30:0, from volumes.c:30: volumes.c: In function 'btrfs_close_devices': messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ volumes.c:174:5: note: in expansion of macro 'warning' warning("fsync on device %llu failed: %s", ^~~~~~~ In file included from ctree.h:24:0, from volumes.c:25: volumes.c: In function 'btrfs_open_devices': volumes.c:231:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printk("no name for device %llu, skip it now\n", device->devid); ^ ~~~~~~~~~ kerncompat.h:279:46: note: in definition of macro 'printk' #define printk(fmt, args...) fprintf(stderr, fmt, ##args) ^~~ In file included from utils.h:30:0, from volumes.c:30: volumes.c: In function 'btrfs_check_chunk_valid': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ volumes.c:1706:3: note: in expansion of macro 'error' error("invalid chunk logical %llu", logical); ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ volumes.c:1715:3: note: in expansion of macro 'error' error("invalid chunk length %llu", length); ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ volumes.c:1719:3: note: in expansion of macro 'error' error("invalid chunk stripe length: %llu", stripe_len); ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ volumes.c:1724:3: note: in expansion of macro 'error' error("invalid chunk type %llu", type); ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ volumes.c:1735:3: note: in expansion of macro 'error' error("missing chunk type flag: %llu", type); ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ volumes.c:1740:3: note: in expansion of macro 'error' error("conflicting chunk type detected: %llu", type); ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ volumes.c:1745:3: note: in expansion of macro 'error' error("conflicting chunk profile detected: %llu", type); ^~~~~ utils.c: In function 'pretty_size_snprintf': utils.c:1089:32: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] snprintf(str, str_size, "%lld", size); ~~~^ %ld utils.c:1091:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] snprintf(str, str_size, "%llu", size); ~~~^ %lu utils.c: In function 'test_num_disk_vs_raid': utils.c:1793:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "ERROR: unable to create FS with metadata profile %s " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:1794:14: note: format string is defined here "(have %llu devices but %d devices are required)\n", ~~~^ %lu utils.c:1801:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "ERROR: unable to create FS with data profile %s " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:1802:14: note: format string is defined here "(have %llu devices but %d devices are required)\n", ~~~^ %lu In file included from utils.h:30:0, from utils.c:48: utils.c: In function 'get_subvol_info_by_rootid': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ utils.c:2455:3: note: in expansion of macro 'error' error("can't find rootid '%llu' on '%s': %d", r_id, mnt, ret); ^~~~~ [CC] repair.o [CC] qgroup.o [CC] free-space-cache.o qgroup.c: In function 'print_parent_column': qgroup.c:175:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] len += printf("%llu/%llu", ~~~^ %lu btrfs_qgroup_level(list->qgroup->qgroupid), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c:175:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] len += printf("%llu/%llu", ~~~^ %lu qgroup.c:177:10: btrfs_qgroup_subvid(list->qgroup->qgroupid)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c: In function 'print_child_column': qgroup.c:193:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] len += printf("%llu/%llu", ~~~^ %lu btrfs_qgroup_level(list->member->qgroupid), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c:193:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] len += printf("%llu/%llu", ~~~^ %lu qgroup.c:195:10: btrfs_qgroup_subvid(list->member->qgroupid)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c: In function 'print_qgroup_column': qgroup.c:225:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] len = printf("%llu/%llu", ~~~^ %lu btrfs_qgroup_level(qgroup->qgroupid), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c:225:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] len = printf("%llu/%llu", ~~~^ %lu qgroup.c:227:9: btrfs_qgroup_subvid(qgroup->qgroupid)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c: In function '__update_columns_max_len': qgroup.c:931:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] sprintf(tmp, "%llu/%llu", ~~~^ %lu btrfs_qgroup_level(bq->qgroupid), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c:931:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] sprintf(tmp, "%llu/%llu", ~~~^ %lu qgroup.c:933:4: btrfs_qgroup_subvid(bq->qgroupid)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c:961:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] len += sprintf(tmp, "%llu/%llu", ~~~^ %lu btrfs_qgroup_level(list->qgroup->qgroupid), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c:961:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] len += sprintf(tmp, "%llu/%llu", ~~~^ %lu qgroup.c:963:5: btrfs_qgroup_subvid(list->qgroup->qgroupid)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c:973:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] len += sprintf(tmp, "%llu/%llu", ~~~^ %lu btrfs_qgroup_level(list->member->qgroupid), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup.c:973:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] len += sprintf(tmp, "%llu/%llu", ~~~^ %lu qgroup.c:975:5: btrfs_qgroup_subvid(list->member->qgroupid)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ free-space-cache.c: In function 'io_ctl_prepare_pages': free-space-cache.c:115:10: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Couldn't find file extent item for free space inode" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ free-space-cache.c:116:14: note: format string is defined here " %Lu\n", ino); ~~^ %lu In file included from free-space-cache.c:19:0: free-space-cache.c: In function 'io_ctl_check_generation': free-space-cache.c:186:10: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type '__le64 {aka long unsigned int}' [-Wformat=] printk("btrfs: space cache generation " ^ "(%Lu) does not match inode (%Lu)\n", *gen, ~~ kerncompat.h:279:46: note: in definition of macro 'printk' #define printk(fmt, args...) fprintf(stderr, fmt, ##args) ^~~ free-space-cache.c:187:14: note: format string is defined here "(%Lu) does not match inode (%Lu)\n", *gen, ~~^ %lu In file included from free-space-cache.c:19:0: free-space-cache.c:186:10: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printk("btrfs: space cache generation " ^ kerncompat.h:279:46: note: in definition of macro 'printk' #define printk(fmt, args...) fprintf(stderr, fmt, ##args) ^~~ free-space-cache.c:187:41: note: format string is defined here "(%Lu) does not match inode (%Lu)\n", *gen, ~~^ %lu free-space-cache.c: In function 'load_free_space_cache': free-space-cache.c:457:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "block group %llu has wrong amount of free space\n", ~~~^ %lu block_group->key.objectid); ~~~~~~~~~~~~~~~~~~~~~~~~~ free-space-cache.c:466:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "failed to load free space cache for block group %llu\n", ~~~^ %lu block_group->key.objectid); ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from utils.h:30:0, from free-space-cache.c:28: free-space-cache.c: In function 'btrfs_clear_free_space_cache': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:926:3: note: in expansion of macro 'error' error("failed to remove free space header for block group %llu: %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:938:3: note: in expansion of macro 'error' error("failed to locate free space cache extent for block group %llu: %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:954:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:970:4: note: in expansion of macro 'error' error("failed to remove backref for disk bytenr %llu: %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:976:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:976:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:991:3: note: in expansion of macro 'warning' warning("free space inode %llu not found, ignore", ino); ^~~~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:993:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:993:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:1000:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ free-space-cache.c:1000:3: note: in expansion of macro 'error' error( ^~~~~ [CC] kernel-lib/list_sort.o [CC] props.o [CC] kernel-shared/ulist.o [CC] qgroup-verify.o [CC] backref.o qgroup-verify.c: In function 'report_qgroup_difference': qgroup-verify.c:1277:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Counts for qgroup id: %llu/%llu %s\n", ~~~^ %lu btrfs_qgroup_level(count->qgroupid), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup-verify.c:1277:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Counts for qgroup id: %llu/%llu %s\n", ~~~^ %lu qgroup-verify.c:1279:10: btrfs_qgroup_subvid(count->qgroupid), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qgroup-verify.c: In function '__print_subvol_info': qgroup-verify.c:1414:13: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%llu\t%llu\t%d\t", bytenr, num_bytes, n); ~~~^ %lu qgroup-verify.c:1414:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%llu\t%llu\t%d\t", bytenr, num_bytes, n); ~~~^ %lu qgroup-verify.c:1418:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%llu ", unode->val); ~~~^ ~~~~~~~~~~ %lu qgroup-verify.c: In function 'repair_qgroup_info': qgroup-verify.c:1486:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Repair qgroup %llu/%llu\n", btrfs_qgroup_level(count->qgroupid), ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu qgroup-verify.c:1486:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Repair qgroup %llu/%llu\n", btrfs_qgroup_level(count->qgroupid), ~~~^ %lu btrfs_qgroup_subvid(count->qgroupid)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from utils.h:30:0, from qgroup-verify.c:29: messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ qgroup-verify.c:1499:3: note: in expansion of macro 'error' error("could not find disk item for qgroup %llu/%llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ qgroup-verify.c:1499:3: note: in expansion of macro 'error' error("could not find disk item for qgroup %llu/%llu", ^~~~~ [CC] string-table.o [CC] task-utils.o [CC] inode.o [CC] file.o [CC] find-root.o [CC] free-space-tree.o [CC] help.o free-space-tree.c: In function 'load_free_space_bitmaps': free-space-tree.c:192:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space bitmap starts at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu key.objectid, start, end); ~~~~~~~~~~~~ free-space-tree.c:192:66: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space bitmap starts at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu free-space-tree.c:192:71: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space bitmap starts at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu free-space-tree.c:199:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space bitmap ends at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu key.objectid, start, end); ~~~~~~~~~~~~ free-space-tree.c:199:64: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space bitmap ends at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu free-space-tree.c:199:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space bitmap ends at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu free-space-tree.c: In function 'load_free_space_extents': free-space-tree.c:271:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent starts at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu key.objectid, start, end); ~~~~~~~~~~~~ free-space-tree.c:271:66: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent starts at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu free-space-tree.c:271:71: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent starts at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu free-space-tree.c:278:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent ends at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu key.objectid, start, end); ~~~~~~~~~~~~ free-space-tree.c:278:64: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent ends at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu free-space-tree.c:278:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent ends at %llu, beyond end of block group %llu-%llu\n", ~~~^ %lu free-space-tree.c:292:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent %llu-%llu overlaps with previous %llu-%llu\n", ~~~^ %lu free-space-tree.c:292:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent %llu-%llu overlaps with previous %llu-%llu\n", ~~~^ %lu free-space-tree.c:292:57: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent %llu-%llu overlaps with previous %llu-%llu\n", ~~~^ %lu free-space-tree.c:292:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent %llu-%llu overlaps with previous %llu-%llu\n", ~~~^ %lu free-space-tree.c:298:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent %llu-%llu is unmerged with previous %llu-%llu\n", ~~~^ %lu free-space-tree.c:298:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent %llu-%llu is unmerged with previous %llu-%llu\n", ~~~^ %lu free-space-tree.c:298:60: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent %llu-%llu is unmerged with previous %llu-%llu\n", ~~~^ %lu free-space-tree.c:298:65: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "free space extent %llu-%llu is unmerged with previous %llu-%llu\n", ~~~^ %lu [CC] send-dump.o send-dump.c: In function 'print_subvol': send-dump.c:146:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP_SUBVOL(user, path, "subvol", "uuid=%s transid=%llu", ^ send-dump.c:133:37: note: in definition of macro 'PRINT_DUMP_SUBVOL' __print_dump(1, user, path, title, fmt, ##__VA_ARGS__) ^~~ [CC] fsfeatures.o send-dump.c: In function 'print_snapshot': send-dump.c:162:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] "uuid=%s transid=%llu parent_uuid=%s parent_transid=%llu", ^ send-dump.c:133:37: note: in definition of macro 'PRINT_DUMP_SUBVOL' __print_dump(1, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c:162:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u64 {aka long unsigned int}' [-Wformat=] "uuid=%s transid=%llu parent_uuid=%s parent_transid=%llu", ^ send-dump.c:133:37: note: in definition of macro 'PRINT_DUMP_SUBVOL' __print_dump(1, user, path, title, fmt, ##__VA_ARGS__) ^~~ [CC] kernel-lib/tables.o send-dump.c: In function 'print_mknod': send-dump.c:180:41: warning: format '%llo' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "mknod", "mode=%llo dev=0x%llx", mode, ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c:180:41: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "mknod", "mode=%llo dev=0x%llx", mode, ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c: In function 'print_write': send-dump.c:227:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "write", "offset=%llu len=%llu", ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c:227:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "write", "offset=%llu len=%llu", ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c: In function 'print_clone': send-dump.c:243:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "offset=%llu len=%llu from=%s clone_offset=%llu", ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c:243:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] "offset=%llu len=%llu from=%s clone_offset=%llu", ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c:243:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u64 {aka long unsigned int}' [-Wformat=] "offset=%llu len=%llu from=%s clone_offset=%llu", ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c: In function 'print_truncate': send-dump.c:262:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "truncate", "size=%llu", size); ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c: In function 'print_chmod': send-dump.c:267:41: warning: format '%llo' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "chmod", "mode=%llo", mode); ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c: In function 'print_chown': send-dump.c:272:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "chown", "gid=%llu uid=%llu", gid, uid); ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c:272:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "chown", "gid=%llu uid=%llu", gid, uid); ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c: In function 'print_update_extent': send-dump.c:315:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "update_extent", "offset=%llu len=%llu", ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ send-dump.c:315:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] return PRINT_DUMP(user, path, "update_extent", "offset=%llu len=%llu", ^ send-dump.c:137:37: note: in definition of macro 'PRINT_DUMP' __print_dump(0, user, path, title, fmt, ##__VA_ARGS__) ^~~ fsfeatures.c: In function 'btrfs_list_all_fs_features': fsfeatures.c:150:36: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka const long unsigned int}' [-Wformat=] fprintf(stderr, "%-20s- %s (0x%llx", feat->name, feat->desc, ~~~^ %lx feat->flag); ~~~~~~~~~~ [CC] kernel-lib/raid56.o [CC] cmds-subvolume.o [CC] cmds-filesystem.o [CC] cmds-device.o cmds-subvolume.c: In function 'wait_for_subvolume_cleaning': cmds-subvolume.c:89:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Subvolume id %llu is gone\n", ids[i]); ~~~^ ~~~~~~ %lu cmds-subvolume.c: In function 'cmd_subvol_show': cmds-subvolume.c:1013:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tSubvolume ID: \t\t%llu\n", get_ri.root_id); ~~~^ ~~~~~~~~~~~~~~ %lu cmds-subvolume.c:1014:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tGeneration: \t\t%llu\n", get_ri.gen); ~~~^ ~~~~~~~~~~ %lu cmds-subvolume.c:1015:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tGen at creation: \t%llu\n", get_ri.ogen); ~~~^ ~~~~~~~~~~~ %lu cmds-subvolume.c:1016:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tParent ID: \t\t%llu\n", get_ri.ref_tree); ~~~^ ~~~~~~~~~~~~~~~ %lu cmds-subvolume.c:1017:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tTop level ID: \t\t%llu\n", get_ri.top_id); ~~~^ ~~~~~~~~~~~~~ %lu In file included from utils.h:30:0, from cmds-filesystem.c:34: cmds-filesystem.c: In function 'get_df': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-filesystem.c:174:3: note: in expansion of macro 'error' error("cannot get space info with %llu slots: %s", ^~~~~ cmds-filesystem.c: In function 'print_one_fs': cmds-filesystem.c:418:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf(" uuid: %s\n\tTotal devices %llu FS bytes used %s\n", uuidbuf, ~~~^ %lu fs_info->num_devices, ~~~~~~~~~~~~~~~~~~~~ cmds-filesystem.c:436:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tdevid %4llu size %s used %s path %s\n", ~~~~^ %4lu tmp_dev_info->devid, ~~~~~~~~~~~~~~~~~~~ In file included from utils.h:30:0, from cmds-filesystem.c:34: cmds-filesystem.c: In function 'cmd_filesystem_defrag': messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-filesystem.c:1065:5: note: in expansion of macro 'warning' warning( ^~~~~~~ cmds-device.c: In function 'cmd_device_stats': cmds-device.c:489:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64 {aka long unsigned int}' [-Wformat=] "devid:%llu", args.devid); ~~~^ ~~~~~~~~~~ %lu cmds-device.c: In function '_cmd_device_usage': cmds-device.c:538:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%s, ID: %llu\n", devinfo[i].path, devinfo[i].devid); ~~~^ ~~~~~~~~~~~~~~~~ %lu [CC] cmds-scrub.o cmds-scrub.c: In function 'print_scrub_full': cmds-scrub.c:115:38: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tdata_extents_scrubbed: %lld\n", sp->data_extents_scrubbed); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:116:38: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\ttree_extents_scrubbed: %lld\n", sp->tree_extents_scrubbed); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:117:36: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tdata_bytes_scrubbed: %lld\n", sp->data_bytes_scrubbed); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:118:36: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\ttree_bytes_scrubbed: %lld\n", sp->tree_bytes_scrubbed); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:119:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tread_errors: %lld\n", sp->read_errors); ~~~^ ~~~~~~~~~~~~~~~ %ld cmds-scrub.c:120:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tcsum_errors: %lld\n", sp->csum_errors); ~~~^ ~~~~~~~~~~~~~~~ %ld cmds-scrub.c:121:30: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tverify_errors: %lld\n", sp->verify_errors); ~~~^ ~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:122:24: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tno_csum: %lld\n", sp->no_csum); ~~~^ ~~~~~~~~~~~ %ld cmds-scrub.c:123:30: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tcsum_discards: %lld\n", sp->csum_discards); ~~~^ ~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:124:29: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tsuper_errors: %lld\n", sp->super_errors); ~~~^ ~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:125:30: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tmalloc_errors: %lld\n", sp->malloc_errors); ~~~^ ~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:126:37: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tuncorrectable_errors: %lld\n", sp->uncorrectable_errors); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:127:34: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tunverified_errors: %lld\n", sp->unverified_errors); ~~~^ ~~~~~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:128:33: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tcorrected_errors: %lld\n", sp->corrected_errors); ~~~^ ~~~~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c:129:30: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tlast_physical: %lld\n", sp->last_physical); ~~~^ ~~~~~~~~~~~~~~~~~ %ld cmds-scrub.c: In function 'print_scrub_summary': cmds-scrub.c:153:45: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\ttotal bytes scrubbed: %s with %llu errors\n", ~~~^ %lu cmds-scrub.c:134:10: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf(" %s=%llu", desc, test); \ ^ cmds-scrub.c:159:21: PRINT_SCRUB_ERROR(p->read_errors, "read"); ~~~~ cmds-scrub.c:159:3: note: in expansion of macro 'PRINT_SCRUB_ERROR' PRINT_SCRUB_ERROR(p->read_errors, "read"); ^~~~~~~~~~~~~~~~~ cmds-scrub.c:134:10: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf(" %s=%llu", desc, test); \ ^ cmds-scrub.c:160:21: PRINT_SCRUB_ERROR(p->super_errors, "super"); ~~~~ cmds-scrub.c:160:3: note: in expansion of macro 'PRINT_SCRUB_ERROR' PRINT_SCRUB_ERROR(p->super_errors, "super"); ^~~~~~~~~~~~~~~~~ cmds-scrub.c:134:10: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf(" %s=%llu", desc, test); \ ^ cmds-scrub.c:161:21: PRINT_SCRUB_ERROR(p->verify_errors, "verify"); ~~~~ cmds-scrub.c:161:3: note: in expansion of macro 'PRINT_SCRUB_ERROR' PRINT_SCRUB_ERROR(p->verify_errors, "verify"); ^~~~~~~~~~~~~~~~~ cmds-scrub.c:134:10: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf(" %s=%llu", desc, test); \ ^ cmds-scrub.c:162:21: PRINT_SCRUB_ERROR(p->csum_errors, "csum"); ~~~~ cmds-scrub.c:162:3: note: in expansion of macro 'PRINT_SCRUB_ERROR' PRINT_SCRUB_ERROR(p->csum_errors, "csum"); ^~~~~~~~~~~~~~~~~ cmds-scrub.c:164:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tcorrected errors: %llu, uncorrectable errors: %llu, " ~~~^ %lu "unverified errors: %llu\n", p->corrected_errors, ~~~~~~~~~~~~~~~~~~~ cmds-scrub.c:164:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tcorrected errors: %llu, uncorrectable errors: %llu, " ~~~^ %lu cmds-scrub.c:166:4: p->uncorrectable_errors, p->unverified_errors); ~~~~~~~~~~~~~~~~~~~~~~~ cmds-scrub.c:164:10: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("\tcorrected errors: %llu, uncorrectable errors: %llu, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-scrub.c:166:29: p->uncorrectable_errors, p->unverified_errors); ~~~~~~~~~~~~~~~~~~~~ cmds-scrub.c:165:27: note: format string is defined here "unverified errors: %llu\n", p->corrected_errors, ~~~^ %lu cmds-scrub.c: In function 'print_scrub_dev': cmds-scrub.c:268:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("scrub device %s (id %llu) %s\n", di->path, di->devid, ~~~^ ~~~~~~~~~ %lu cmds-scrub.c: In function 'scrub_kvwrite': cmds-scrub.c:729:44: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] return scrub_writev(fd, buf, max, "|%s:%lld", key, val); ~~~^ %ld cmds-scrub.c: In function 'scrub_write_file': cmds-scrub.c:756:46: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '__u64 {aka long unsigned int}' [-Wformat=] scrub_writev(fd, buf, sizeof(buf), "%lld", ~~~^ %ld use->scrub_args.devid) || ~~~~~~~~~~~~~~~~~~~~~ In file included from utils.h:30:0, from cmds-scrub.c:42: cmds-scrub.c: In function 'scrub_start': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-scrub.c:1426:4: note: in expansion of macro 'error' error("creating scrub_one_dev[%llu] thread failed: %s", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-scrub.c:1456:6: note: in expansion of macro 'error' error("pthread_join failed for scrub_one_dev[%llu]: %s", ^~~~~ messages.h:61:19: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-scrub.c:1465:6: note: in expansion of macro 'warning' warning("device %lld not present", ^~~~~~~ messages.h:42:17: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-scrub.c:1473:3: note: in expansion of macro 'error' error("scrubbing %s failed for device id %lld: ret=%d, errno=%d (%s)", ^~~~~ [CC] cmds-inspect.o cmds-inspect.c: In function 'cmd_inspect_logical_resolve': cmds-inspect.c:200:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("ioctl ret=%d, total_size=%llu, bytes_left=%lu, " ~~~^ %lu cmds-inspect.c:253:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("inode %llu offset %llu root %llu\n", inum, ~~~^ %lu cmds-inspect.c:253:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("inode %llu offset %llu root %llu\n", inum, ~~~^ %lu cmds-inspect.c:253:43: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("inode %llu offset %llu root %llu\n", inum, ~~~^ %lu cmds-inspect.c: In function 'print_min_dev_size': cmds-inspect.c:581:13: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%llu bytes (%s)\n", min_size, pretty_size(min_size)); ~~~^ %lu [CC] cmds-balance.o [CC] cmds-send.o In file included from utils.h:30:0, from cmds-send.c:42: cmds-send.c: In function 'cmd_send': messages.h:42:17: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-send.c:737:5: note: in expansion of macro 'error' error("parent determination failed for %lld", ^~~~~ [CC] cmds-receive.o cmds-receive.c: In function 'finish_subvol': cmds-receive.c:117:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "BTRFS_IOC_SET_RECEIVED_SUBVOL uuid=%s, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "stransid=%llu\n", uuid_str, rs_args.stransid); ~~~~~~~~~~~~~~~~ cmds-receive.c:118:18: note: format string is defined here "stransid=%llu\n", uuid_str, rs_args.stransid); ~~~^ %lu cmds-receive.c: In function 'process_subvol': cmds-receive.c:208:61: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "receiving subvol %s uuid=%s, stransid=%llu\n", ~~~^ %lu cmds-receive.c:210:5: rctx->cur_subvol.stransid); ~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-receive.c: In function 'process_snapshot': cmds-receive.c:277:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "receiving snapshot %s uuid=%s, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-receive.c:279:5: rctx->cur_subvol.stransid); ~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-receive.c:278:18: note: format string is defined here "ctransid=%llu ", path, uuid_str, ~~~^ %lu cmds-receive.c:281:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "parent_uuid=%s, parent_ctransid=%llu\n", ~~~^ %lu cmds-receive.c: In function 'process_mknod': cmds-receive.c:457:37: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "mknod %s mode=%llu, dev=%llu\n", ~~~^ %lu cmds-receive.c:457:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "mknod %s mode=%llu, dev=%llu\n", ~~~^ %lu cmds-receive.c: In function 'process_truncate': cmds-receive.c:932:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "truncate %s size=%llu\n", path, size); ~~~^ %lu cmds-receive.c: In function 'process_chown': cmds-receive.c:984:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "chown %s - uid=%llu, gid=%llu\n", path, ~~~^ %lu cmds-receive.c:984:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "chown %s - uid=%llu, gid=%llu\n", path, ~~~^ %lu [CC] cmds-quota.o [CC] cmds-qgroup.o cmds-quota.c: In function 'cmd_quota_rescan': cmds-quota.c:168:53: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("rescan operation running (current key %lld)\n", ~~~^ %ld args.progress); ~~~~~~~~~~~~~ [CC] cmds-replace.o [CC] cmds-check.o In file included from utils.h:30:0, from cmds-replace.c:35: cmds-replace.c: In function 'cmd_replace_start': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-replace.c:246:3: note: in expansion of macro 'error' error("target device smaller than source device (required %llu bytes)", ^~~~~ cmds-replace.c: In function 'print_replace_status': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-replace.c:440:4: note: in expansion of macro 'error' error("unknown status from ioctl DEV_REPLACE_STATUS on '%s': %llu", ^~~~~ [CC] cmds-restore.o cmds-check.c: In function 'print_orphan_data_extents': cmds-check.c:755:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("The following data extent is lost in tree %llu:\n", ~~~^ %lu cmds-check.c:758:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tinode: %llu, offset:%llu, disk_bytenr: %llu, disk_len: %llu\n", ~~~^ %lu orphan->objectid, orphan->offset, orphan->disk_bytenr, ~~~~~~~~~~~~~~~~ cmds-check.c:758:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tinode: %llu, offset:%llu, disk_bytenr: %llu, disk_len: %llu\n", ~~~^ %lu orphan->objectid, orphan->offset, orphan->disk_bytenr, ~~~~~~~~~~~~~~ cmds-check.c:758:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tinode: %llu, offset:%llu, disk_bytenr: %llu, disk_len: %llu\n", ~~~^ %lu orphan->objectid, orphan->offset, orphan->disk_bytenr, ~~~~~~~~~~~~~~~~~~~ cmds-check.c:758:71: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tinode: %llu, offset:%llu, disk_bytenr: %llu, disk_len: %llu\n", ~~~^ %lu cmds-check.c:760:10: orphan->disk_len); ~~~~~~~~~~~~~~~~ cmds-check.c: In function 'print_inode_error': [CC] cmds-rescue.o cmds-check.c:826:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "\tstart: %llu, len: %llu\n", ~~~^ %lu hole->start, hole->len); ~~~~~~~~~~~ cmds-check.c:826:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "\tstart: %llu, len: %llu\n", ~~~^ %lu hole->start, hole->len); ~~~~~~~~~ cmds-check.c:831:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr, "\tstart: 0, len: %llu\n", ~~~^ %lu cmds-check.c: In function 'check_child_node': cmds-check.c:2020:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Wrong key of child node/leaf, wanted: (%llu, %u, %llu), have: (%llu, %u, %llu)\n", ~~~^ %lu parent_key.objectid, parent_key.type, parent_key.offset, ~~~~~~~~~~~~~~~~~~~ cmds-check.c:2020:57: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Wrong key of child node/leaf, wanted: (%llu, %u, %llu), have: (%llu, %u, %llu)\n", ~~~^ %lu parent_key.objectid, parent_key.type, parent_key.offset, ~~~~~~~~~~~~~~~~~ cmds-check.c:2020:71: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "Wrong key of child node/leaf, wanted: (%llu, %u, %llu), have: (%llu, %u, %llu)\n", ~~~^ %lu cmds-check.c:2022:4: child_key.objectid, child_key.type, child_key.offset); ~~~~~~~~~~~~~~~~~~ cmds-check.c:2020:81: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'u64 {aka long unsigned int}' [-Wformat=] "Wrong key of child node/leaf, wanted: (%llu, %u, %llu), have: (%llu, %u, %llu)\n", ~~~^ %lu cmds-check.c:2022:40: child_key.objectid, child_key.type, child_key.offset); ~~~~~~~~~~~~~~~~ cmds-check.c:2026:63: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Wrong block of child node/leaf, wanted: %llu, have: %llu\n", ~~~^ %lu btrfs_node_blockptr(parent, slot), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:2026:75: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Wrong block of child node/leaf, wanted: %llu, have: %llu\n", ~~~^ %lu cmds-check.c:2028:4: btrfs_header_bytenr(child)); ~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:2033:68: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Wrong generation of child node/leaf, wanted: %llu, have: %llu\n", ~~~^ %lu btrfs_header_generation(child), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:2033:80: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Wrong generation of child node/leaf, wanted: %llu, have: %llu\n", ~~~^ %lu cmds-check.c:2035:4: btrfs_node_ptr_generation(parent, slot)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c: In function 'repair_inode_isize': cmds-check.c:2447:32: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("reset isize for dir %Lu root %Lu\n", rec->ino, ~~^ ~~~~~~~~ %lu cmds-check.c:2447:41: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("reset isize for dir %Lu root %Lu\n", rec->ino, ~~^ %lu root->root_key.objectid); ~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c: In function 'repair_inode_nbytes': cmds-check.c:2494:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("reset nbytes for ino %llu root %llu\n", ~~~^ %lu rec->ino, root->root_key.objectid); ~~~~~~~~ cmds-check.c:2494:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("reset nbytes for ino %llu root %llu\n", ~~~^ %lu rec->ino, root->root_key.objectid); ~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c: In function 'repair_inode_nlinks': cmds-check.c:2930:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Can't get file name for inode %llu, using '%llu' as fallback\n", ~~~^ %lu rec->ino, rec->ino); ~~~~~~~~ cmds-check.c:2930:57: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Can't get file name for inode %llu, using '%llu' as fallback\n", ~~~^ %lu rec->ino, rec->ino); ~~~~~~~~ cmds-check.c:2933:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] sprintf(namebuf, "%llu", rec->ino); ~~~^ ~~~~~~~~ %lu cmds-check.c:2937:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Can't get file type for inode %llu, using FILE as fallback\n", ~~~^ %lu rec->ino); ~~~~~~~~ cmds-check.c:2946:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failed to reset nlink for inode %llu: %s\n", ~~~^ %lu rec->ino, strerror(-ret)); ~~~~~~~~ cmds-check.c:2980:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] ".%llu", rec->ino); ~~~^ ~~~~~~~~ %lu cmds-check.c:2988:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failed to link the inode %llu to %s dir: %s\n", ~~~^ %lu rec->ino, dir_name, strerror(-ret)); ~~~~~~~~ cmds-check.c:3002:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Fixed the nlink of inode %llu\n", rec->ino); ~~~^ ~~~~~~~~ %lu cmds-check.c: In function 'repair_inode_no_item': cmds-check.c:3093:37: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Trying to rebuild inode:%llu\n", rec->ino); ~~~^ ~~~~~~~~ %lu cmds-check.c:3122:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Can't determine the filetype for inode %llu, assume it is a normal file\n", ~~~^ %lu rec->ino); ~~~~~~~~ cmds-check.c: In function 'repair_inode_orphan_extent': cmds-check.c:3175:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "orphan extent (%llu, %llu) conflicts, delete the orphan\n", ~~~^ %lu orphan->disk_bytenr, orphan->disk_len); ~~~~~~~~~~~~~~~~~~~ cmds-check.c:3175:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "orphan extent (%llu, %llu) conflicts, delete the orphan\n", ~~~^ %lu orphan->disk_bytenr, orphan->disk_len); ~~~~~~~~~~~~~~~~ cmds-check.c: In function 'repair_inode_discount_extent': cmds-check.c:3247:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Fixed discount file extents for inode: %llu in root: %llu\n", ~~~^ %lu rec->ino, root->objectid); ~~~~~~~~ cmds-check.c:3247:66: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Fixed discount file extents for inode: %llu in root: %llu\n", ~~~^ %lu rec->ino, root->objectid); ~~~~~~~~~~~~~~ cmds-restore.c: In function 'copy_one_inline': cmds-restore.c:286:60: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Short compressed inline write, wanted %Lu, " ~~^ %lu cmds-restore.c: In function 'copy_one_extent': cmds-restore.c:328:23: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("offset is %Lu\n", offset); ~~^ %lu cmds-restore.c: In function 'search_dir': cmds-restore.c:990:30: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Found objectid=%Lu, key=%Lu\n", ~~^ %lu found_key.objectid, key->objectid); ~~~~~~~~~~~~~~~~~~ cmds-restore.c:990:39: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Found objectid=%Lu, key=%Lu\n", ~~^ %lu found_key.objectid, key->objectid); ~~~~~~~~~~~~~ cmds-restore.c: In function 'do_list_roots': cmds-restore.c:1216:14: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf(" %Lu level %d\n", btrfs_root_bytenr(&ri), ~~^ ~~~~~~~~~~~~~~~~~~~~~~ %lu cmds-restore.c: In function 'find_first_dir': cmds-restore.c:1318:28: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Using objectid %Lu for first dir\n", ~~^ %lu found_key.objectid); ~~~~~~~~~~~~~~~~~~ cmds-restore.c: In function 'cmd_restore': cmds-restore.c:1445:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "objectid %llu is not a valid fs/file tree\n", ~~~^ %lu cmds-restore.c:1537:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "fail to read root %llu: %s\n", ~~~^ %lu cmds-check.c: In function 'check_fs_root': cmds-check.c:4001:63: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("The following tree block(s) is corrupted in tree %llu:\n", ~~~^ %lu root->root_key.objectid); ~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:4008:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\ttree block bytenr: %llu, level: %d, node key: (%llu, %u, %llu)\n", ~~~^ %lu cache->start, corrupt->level, ~~~~~~~~~~~~ cmds-check.c:4008:64: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\ttree block bytenr: %llu, level: %d, node key: (%llu, %u, %llu)\n", ~~~^ %lu cmds-check.c:4010:11: corrupt->key.objectid, corrupt->key.type, ~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:4008:74: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\ttree block bytenr: %llu, level: %d, node key: (%llu, %u, %llu)\n", ~~~^ %lu cmds-check.c:4011:11: corrupt->key.offset); ~~~~~~~~~~~~~~~~~~~ cmds-check.c:4015:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Try to repair the btree for root %llu\n", ~~~^ %lu root->root_key.objectid); ~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:4022:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Btree for root %llu is fixed\n", ~~~^ %lu root->root_key.objectid); ~~~~~~~~~~~~~~~~~~~~~~~ In file included from utils.h:30:0, from cmds-check.c:35: cmds-check.c: In function 'find_dir_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4202:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4202:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4202:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4220:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4220:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4220:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4220:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4220:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4254:4: note: in expansion of macro 'warning' warning("root %llu %s[%llu %llu] name too long %u, trimmed", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4254:4: note: in expansion of macro 'warning' warning("root %llu %s[%llu %llu] name too long %u, trimmed", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4254:4: note: in expansion of macro 'warning' warning("root %llu %s[%llu %llu] name too long %u, trimmed", ^~~~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4280:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4280:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4280:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4280:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4280:3: note: in expansion of macro 'error' error( ^~~~~ cmds-check.c: In function 'check_inode_ref': messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4330:3: note: in expansion of macro 'warning' warning("root %llu INODE_REF[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4330:3: note: in expansion of macro 'warning' warning("root %llu INODE_REF[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4330:3: note: in expansion of macro 'warning' warning("root %llu INODE_REF[%llu %llu] name too long", ^~~~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4344:3: note: in expansion of macro 'error' error("root %llu INODE_REF[%llu %llu] ROOT_DIR name shouldn't be %s", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4344:3: note: in expansion of macro 'error' error("root %llu INODE_REF[%llu %llu] ROOT_DIR name shouldn't be %s", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4344:3: note: in expansion of macro 'error' error("root %llu INODE_REF[%llu %llu] ROOT_DIR name shouldn't be %s", ^~~~~ cmds-check.c: In function 'check_inode_extref': messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4415:3: note: in expansion of macro 'warning' warning("root %llu INODE_EXTREF[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4415:3: note: in expansion of macro 'warning' warning("root %llu INODE_EXTREF[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4415:3: note: in expansion of macro 'warning' warning("root %llu INODE_EXTREF[%llu %llu] name too long", ^~~~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4422:3: note: in expansion of macro 'error' error("root %llu INODE_EXTREF[%llu %llu] ROOT_DIR name shouldn't be %s", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4422:3: note: in expansion of macro 'error' error("root %llu INODE_EXTREF[%llu %llu] ROOT_DIR name shouldn't be %s", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4422:3: note: in expansion of macro 'error' error("root %llu INODE_EXTREF[%llu %llu] ROOT_DIR name shouldn't be %s", ^~~~~ cmds-check.c: In function 'find_inode_ref': messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4510:4: note: in expansion of macro 'warning' warning("root %llu INODE %s[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4510:4: note: in expansion of macro 'warning' warning("root %llu INODE %s[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4510:4: note: in expansion of macro 'warning' warning("root %llu INODE %s[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4580:4: note: in expansion of macro 'warning' warning("root %llu INODE %s[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4580:4: note: in expansion of macro 'warning' warning("root %llu INODE %s[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4580:4: note: in expansion of macro 'warning' warning("root %llu INODE %s[%llu %llu] name too long", ^~~~~~~ cmds-check.c: In function 'check_dir_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4649:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] data_len shouldn't be %u", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4649:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] data_len shouldn't be %u", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4649:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] data_len shouldn't be %u", ^~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4657:4: note: in expansion of macro 'warning' warning("root %llu %s[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4657:4: note: in expansion of macro 'warning' warning("root %llu %s[%llu %llu] name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4657:4: note: in expansion of macro 'warning' warning("root %llu %s[%llu %llu] name too long", ^~~~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4686:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] couldn't find relative INODE_ITEM[%llu] namelen %u filename %s filetype %x", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4686:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] couldn't find relative INODE_ITEM[%llu] namelen %u filename %s filetype %x", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4686:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] couldn't find relative INODE_ITEM[%llu] namelen %u filename %s filetype %x", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4686:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] couldn't find relative INODE_ITEM[%llu] namelen %u filename %s filetype %x", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4700:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] relative INODE_ITEM filetype mismatch namelen %u filename %s filetype %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4700:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] relative INODE_ITEM filetype mismatch namelen %u filename %s filetype %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4700:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] relative INODE_ITEM filetype mismatch namelen %u filename %s filetype %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4713:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] relative INODE_REF missing namelen %u filename %s filetype %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4713:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] relative INODE_REF missing namelen %u filename %s filetype %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4713:4: note: in expansion of macro 'error' error("root %llu %s[%llu %llu] relative INODE_REF missing namelen %u filename %s filetype %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4725:4: note: in expansion of macro 'error' error("root %llu DIR_INDEX[%llu %llu] should contain only one entry", ^~~~~ [CC] chunk-recover.o messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4725:4: note: in expansion of macro 'error' error("root %llu DIR_INDEX[%llu %llu] should contain only one entry", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4725:4: note: in expansion of macro 'error' error("root %llu DIR_INDEX[%llu %llu] should contain only one entry", ^~~~~ cmds-check.c: In function 'check_file_extent': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4776:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4776:4: note: in expansion of macro 'error' error( ^~~~~ [CC] super-recover.o messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4776:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4782:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4782:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4782:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4782:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4797:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] type bad", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4797:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] type bad", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4797:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] type bad", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4833:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] nodatasum shouldn't have datasum", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4833:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] nodatasum shouldn't have datasum", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4833:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] nodatasum shouldn't have datasum", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4838:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] csum missing, have: %llu, expected: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4838:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] csum missing, have: %llu, expected: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4838:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] csum missing, have: %llu, expected: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4838:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] csum missing, have: %llu, expected: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4838:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] csum missing, have: %llu, expected: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4843:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] prealloc shouldn't have csum, but has: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4843:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] prealloc shouldn't have csum, but has: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4843:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] prealloc shouldn't have csum, but has: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4843:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] prealloc shouldn't have csum, but has: %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4850:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] interrupt", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4850:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] interrupt", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4850:3: note: in expansion of macro 'error' error("root %llu EXTENT_DATA[%llu %llu] interrupt", ^~~~~ cmds-check.c: In function 'check_inode_item': messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4938:5: note: in expansion of macro 'warning' warning("root %llu EXTREF[%llu %llu] isn't supported", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4938:5: note: in expansion of macro 'warning' warning("root %llu EXTREF[%llu %llu] isn't supported", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4938:5: note: in expansion of macro 'warning' warning("root %llu EXTREF[%llu %llu] isn't supported", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4948:5: note: in expansion of macro 'warning' warning("root %llu INODE[%llu] mode %u shouldn't have DIR_INDEX[%llu %llu]", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4948:5: note: in expansion of macro 'warning' warning("root %llu INODE[%llu] mode %u shouldn't have DIR_INDEX[%llu %llu]", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4948:5: note: in expansion of macro 'warning' warning("root %llu INODE[%llu] mode %u shouldn't have DIR_INDEX[%llu %llu]", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4948:5: note: in expansion of macro 'warning' warning("root %llu INODE[%llu] mode %u shouldn't have DIR_INDEX[%llu %llu]", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4959:5: note: in expansion of macro 'warning' warning("root %llu DIR INODE[%llu] shouldn't EXTENT_DATA[%llu %llu]", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4959:5: note: in expansion of macro 'warning' warning("root %llu DIR INODE[%llu] shouldn't EXTENT_DATA[%llu %llu]", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4959:5: note: in expansion of macro 'warning' warning("root %llu DIR INODE[%llu] shouldn't EXTENT_DATA[%llu %llu]", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4959:5: note: in expansion of macro 'warning' warning("root %llu DIR INODE[%llu] shouldn't EXTENT_DATA[%llu %llu]", ^~~~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4971:4: note: in expansion of macro 'error' error("ITEM[%llu %u %llu] UNKNOWN TYPE", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4971:4: note: in expansion of macro 'error' error("ITEM[%llu %u %llu] UNKNOWN TYPE", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4981:4: note: in expansion of macro 'error' error("root %llu DIR INODE[%llu] shouldn't have more than one link(%llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4981:4: note: in expansion of macro 'error' error("root %llu DIR INODE[%llu] shouldn't have more than one link(%llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4981:4: note: in expansion of macro 'error' error("root %llu DIR INODE[%llu] shouldn't have more than one link(%llu)", ^~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4990:4: note: in expansion of macro 'warning' warning("root %llu DIR INODE[%llu] nbytes should be aligned to %u", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4990:4: note: in expansion of macro 'warning' warning("root %llu DIR INODE[%llu] nbytes should be aligned to %u", ^~~~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4997:4: note: in expansion of macro 'error' error("root %llu DIR INODE [%llu] size(%llu) not equal to %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4997:4: note: in expansion of macro 'error' error("root %llu DIR INODE [%llu] size(%llu) not equal to %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4997:4: note: in expansion of macro 'error' error("root %llu DIR INODE [%llu] size(%llu) not equal to %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:4997:4: note: in expansion of macro 'error' error("root %llu DIR INODE [%llu] size(%llu) not equal to %llu", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5003:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] nlink(%llu) not equal to inode_refs(%llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5003:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] nlink(%llu) not equal to inode_refs(%llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5003:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] nlink(%llu) not equal to inode_refs(%llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5003:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] nlink(%llu) not equal to inode_refs(%llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5011:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] size (%llu) should have a file extent hole", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5011:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] size (%llu) should have a file extent hole", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5011:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] size (%llu) should have a file extent hole", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5017:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] nbytes(%llu) not equal to extent_size(%llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5017:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] nbytes(%llu) not equal to extent_size(%llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5017:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] nbytes(%llu) not equal to extent_size(%llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5017:4: note: in expansion of macro 'error' error("root %llu INODE[%llu] nbytes(%llu) not equal to extent_size(%llu)", ^~~~~ cmds-check.c: In function 'check_fs_first_inode': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5050:3: note: in expansion of macro 'error' error("first inode item of root %llu is missing", ^~~~~ cmds-check.c: In function 'check_root_ref': messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5171:3: note: in expansion of macro 'warning' warning("%s[%llu %llu] ref_name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5171:3: note: in expansion of macro 'warning' warning("%s[%llu %llu] ref_name too long", ^~~~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5187:3: note: in expansion of macro 'error' error("%s[%llu %llu] couldn't find relative ref", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5187:3: note: in expansion of macro 'error' error("%s[%llu %llu] couldn't find relative ref", ^~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5204:3: note: in expansion of macro 'warning' warning("%s[%llu %llu] ref_name too long", ^~~~~~~ messages.h:61:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_warning((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5204:3: note: in expansion of macro 'warning' warning("%s[%llu %llu] ref_name too long", ^~~~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5216:3: note: in expansion of macro 'error' error("%s[%llu %llu] mismatch relative ref", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5216:3: note: in expansion of macro 'error' error("%s[%llu %llu] mismatch relative ref", ^~~~~ cmds-check.c: In function 'check_fs_roots_v2': messages.h:42:17: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:5279:5: note: in expansion of macro 'error' error("Fail to read fs/subvol tree: %lld", ^~~~~ super-recover.c: In function 'print_all_devices': chunk-recover.c: In function 'print_block_group_info': chunk-recover.c:373:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Block Group: start = %llu, len = %llu, flag = %llx\n", ~~~^ %lu rec->objectid, rec->offset, rec->flags); ~~~~~~~~~~~~~ chunk-recover.c:373:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Block Group: start = %llu, len = %llu, flag = %llx\n", ~~~^ %lu rec->objectid, rec->offset, rec->flags); ~~~~~~~~~~~ cmds-check.c: In function 'delete_bogus_item': chunk-recover.c:373:59: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Block Group: start = %llu, len = %llu, flag = %llx\n", ~~~^ %lx rec->objectid, rec->offset, rec->flags); ~~~~~~~~~~ chunk-recover.c: In function 'print_stripe_info': chunk-recover.c:398:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("[%2d] Stripe: devid = %llu, offset = %llu\n", ~~~^ %lu index, data->devid, data->offset); ~~~~~~~~~~~ chunk-recover.c:398:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("[%2d] Stripe: devid = %llu, offset = %llu\n", ~~~^ %lu index, data->devid, data->offset); ~~~~~~~~~~~~ cmds-check.c:5681:68: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Deleting bogus item [%llu,%u,%llu] at slot %d on block %llu\n", ~~~^ %lu cmds-check.c:5683:47: (unsigned long long)key.offset, slot, buf->start); ~~~~~~~~~~ chunk-recover.c: In function 'print_chunk_self_info': chunk-recover.c:408:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Chunk: start = %llu, len = %llu, type = %llx, num_stripes = %u\n", ~~~^ %lu rec->offset, rec->length, rec->type_flags, rec->num_stripes); ~~~~~~~~~~~ chunk-recover.c:408:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Chunk: start = %llu, len = %llu, type = %llx, num_stripes = %u\n", ~~~^ %lu rec->offset, rec->length, rec->type_flags, rec->num_stripes); ~~~~~~~~~~~ chunk-recover.c:408:53: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Chunk: start = %llu, len = %llu, type = %llx, num_stripes = %u\n", ~~~^ %lx rec->offset, rec->length, rec->type_flags, rec->num_stripes); ~~~~~~~~~~~~~~~ chunk-recover.c: In function 'print_device_extent_info': chunk-recover.c:436:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Device extent: devid = %llu, start = %llu, len = %llu, chunk offset = %llu\n", ~~~^ %lu rec->objectid, rec->offset, rec->length, rec->chunk_offset); ~~~~~~~~~~~~~ chunk-recover.c:436:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Device extent: devid = %llu, start = %llu, len = %llu, chunk offset = %llu\n", ~~~^ %lu rec->objectid, rec->offset, rec->length, rec->chunk_offset); ~~~~~~~~~~~ chunk-recover.c:436:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Device extent: devid = %llu, start = %llu, len = %llu, chunk offset = %llu\n", ~~~^ %lu rec->objectid, rec->offset, rec->length, rec->chunk_offset); ~~~~~~~~~~~ chunk-recover.c:436:83: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Device extent: devid = %llu, start = %llu, len = %llu, chunk offset = %llu\n", ~~~^ %lu rec->objectid, rec->offset, rec->length, rec->chunk_offset); ~~~~~~~~~~~~~~~~~ chunk-recover.c: In function 'print_device_info': chunk-recover.c:458:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Device: id = %llu, name = %s\n", ~~~^ %lu device->devid, device->name); ~~~~~~~~~~~~~ chunk-recover.c: In function 'print_scan_result': chunk-recover.c:481:37: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\ttree root generation: %llu\n", rc->generation); ~~~^ ~~~~~~~~~~~~~~ %lu chunk-recover.c:482:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tchunk root generation: %llu\n", rc->chunk_root_generation); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %lu chunk-recover.c: In function 'check_chunk_by_metadata': chunk-recover.c:609:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "No device extent[%llu, %llu]\n", ~~~^ %lu stripe->devid, stripe->offset); ~~~~~~~~~~~~~ chunk-recover.c:609:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "No device extent[%llu, %llu]\n", ~~~^ %lu stripe->devid, stripe->offset); ~~~~~~~~~~~~~~ chunk-recover.c:621:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device tree mismatch with chunks dev_extent[%llu, %llu], chunk[%llu, %llu]\n", ~~~^ %lu btrfs_dev_extent_chunk_offset(l, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dev_extent), ~~~~~~~~~~~ chunk-recover.c:621:60: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device tree mismatch with chunks dev_extent[%llu, %llu], chunk[%llu, %llu]\n", ~~~^ %lu chunk-recover.c:624:6: btrfs_dev_extent_length(l, dev_extent), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chunk-recover.c:621:73: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device tree mismatch with chunks dev_extent[%llu, %llu], chunk[%llu, %llu]\n", ~~~^ %lu chunk-recover.c:625:6: chunk->offset, chunk->length); ~~~~~~~~~~~~~ chunk-recover.c:621:79: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device tree mismatch with chunks dev_extent[%llu, %llu], chunk[%llu, %llu]\n", ~~~^ %lu chunk-recover.c:625:21: chunk->offset, chunk->length); ~~~~~~~~~~~~~ chunk-recover.c:645:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "No block group[%llu, %llu]\n", ~~~^ %lu key.objectid, key.offset); ~~~~~~~~~~~~ chunk-recover.c:645:45: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "No block group[%llu, %llu]\n", ~~~^ %lu key.objectid, key.offset); ~~~~~~~~~~ chunk-recover.c:657:15: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %llu]'s type(%llu) is different with Block Group's type(%llu)\n", ~~~^ %lu chunk->offset, chunk->length, chunk->type_flags, ~~~~~~~~~~~~~ chunk-recover.c:657:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %llu]'s type(%llu) is different with Block Group's type(%llu)\n", ~~~^ %lu chunk->offset, chunk->length, chunk->type_flags, ~~~~~~~~~~~~~ chunk-recover.c:657:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %llu]'s type(%llu) is different with Block Group's type(%llu)\n", ~~~^ %lu chunk->offset, chunk->length, chunk->type_flags, ~~~~~~~~~~~~~~~~~ chunk-recover.c:657:77: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %llu]'s type(%llu) is different with Block Group's type(%llu)\n", ~~~^ %lu chunk-recover.c:659:5: btrfs_disk_block_group_flags(l, bg_ptr)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chunk-recover.c: In function 'scan_devices': chunk-recover.c:909:18: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%s%llu in dev%d", ~~~^ %lu i ? ", " : "", dev_scans[i].bytenr, i); ~~~~~~~~~~~~~~~~~~~ chunk-recover.c: In function 'rebuild_block_group': chunk-recover.c:1428:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Fail to search extent tree for block group: [%llu,%llu]\n", ~~~^ %lu chunk_rec->offset, ~~~~~~~~~~~~~~~~~ chunk-recover.c:1428:59: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Fail to search extent tree for block group: [%llu,%llu]\n", ~~~^ %lu chunk-recover.c:1430:5: chunk_rec->offset + chunk_rec->length); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ super-recover.c:196:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Device: id = %llu, name = %s\n", ~~~^ %lu dev->devid, dev->name); ~~~~~~~~~~ super-recover.c: In function 'print_super_info': super-recover.c:205:37: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tsuperblock bytenr = %llu\n", record->bytenr); ~~~^ ~~~~~~~~~~~~~~ %lu chunk-recover.c: In function 'btrfs_rebuild_ordered_data_chunk_stripes': chunk-recover.c:2200:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failure: too many equal stripes in chunk[%llu %llu]\n", ~~~^ %lu chunk->offset, chunk->length); ~~~~~~~~~~~~~ chunk-recover.c:2200:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failure: too many equal stripes in chunk[%llu %llu]\n", ~~~^ %lu chunk->offset, chunk->length); ~~~~~~~~~~~~~ In file included from utils.h:30:0, from cmds-check.c:35: cmds-check.c: In function 'process_chunk_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:6632:3: note: in expansion of macro 'error' error("chunk(%llu, %llu) is not valid, ignore it", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:6632:3: note: in expansion of macro 'error' error("chunk(%llu, %llu) is not valid, ignore it", ^~~~~ cmds-check.c:6639:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Chunk[%llu, %llu] existed.\n", ~~~^ %lu rec->offset, rec->length); ~~~~~~~~~~~ cmds-check.c:6639:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Chunk[%llu, %llu] existed.\n", ~~~^ %lu rec->offset, rec->length); ~~~~~~~~~~~ cmds-check.c: In function 'process_device_item': cmds-check.c:6676:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Device[%llu] existed.\n", rec->devid); ~~~^ ~~~~~~~~~~ %lu cmds-check.c: In function 'process_block_group_item': cmds-check.c:6723:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Block Group[%llu, %llu] existed.\n", ~~~^ %lu rec->objectid, rec->offset); ~~~~~~~~~~~~~ cmds-check.c:6723:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Block Group[%llu, %llu] existed.\n", ~~~^ %lu rec->objectid, rec->offset); ~~~~~~~~~~~ cmds-check.c: In function 'process_device_extent_item': cmds-check.c:6779:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device extent[%llu, %llu, %llu] existed.\n", ~~~^ %lu rec->objectid, rec->offset, rec->length); ~~~~~~~~~~~~~ cmds-check.c:6779:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device extent[%llu, %llu, %llu] existed.\n", ~~~^ %lu rec->objectid, rec->offset, rec->length); ~~~~~~~~~~~ cmds-check.c:6779:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device extent[%llu, %llu, %llu] existed.\n", ~~~^ %lu rec->objectid, rec->offset, rec->length); ~~~~~~~~~~~ In file included from utils.h:30:0, from cmds-check.c:35: cmds-check.c: In function 'process_extent_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:6817:3: note: in expansion of macro 'error' error("ignoring invalid extent, bytenr %llu is not aligned to %u", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:6848:3: note: in expansion of macro 'error' error("ignore invalid metadata extent, length %llu does not equal to %u", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:6853:3: note: in expansion of macro 'error' error("ignore invalid data extent, length %llu is not aligned to %u", ^~~~~ cmds-check.c:6912:50: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "corrupt extent record: key %Lu %u %Lu\n", ~~^ %lu key.objectid, key.type, num_bytes); ~~~~~~~~~~~~ cmds-check.c:6912:57: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "corrupt extent record: key %Lu %u %Lu\n", ~~^ %lu cmds-check.c: In function 'check_cache_range': cmds-check.c:6995:55: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "There is no free space entry for %Lu-%Lu\n", ~~^ %lu cmds-check.c:6995:59: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "There is no free space entry for %Lu-%Lu\n", ~~^ %lu offset, offset+bytes); ~~~~~~~~~~~~ cmds-check.c:7001:36: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Wanted offset %Lu, found %Lu\n", offset, ~~^ %lu cmds-check.c:7001:47: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Wanted offset %Lu, found %Lu\n", offset, ~~^ %lu entry->offset); ~~~~~~~~~~~~~ cmds-check.c:7007:35: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Wanted bytes %Lu, found %Lu for off %Lu\n", ~~^ %lu cmds-check.c:7007:46: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Wanted bytes %Lu, found %Lu for off %Lu\n", ~~^ %lu bytes, entry->bytes, offset); ~~~~~~~~~~~~ cmds-check.c:7007:58: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Wanted bytes %Lu, found %Lu for off %Lu\n", ~~^ %lu cmds-check.c: In function 'check_space_cache': cmds-check.c:7157:53: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "cache appears valid but isn't %Lu\n", ~~^ %lu cache->key.objectid); ~~~~~~~~~~~~~~~~~~~ cmds-check.c: In function 'check_extent_csums': cmds-check.c:7218:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "mirror %d bytenr %llu csum %u expected csum %u\n", ~~~^ %lu mirror, bytenr + tmp, ~~~~~~~~~~~~ cmds-check.c: In function 'check_extent_exists': cmds-check.c:7367:19: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "There are no extents for csum range " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:7368:7: note: format string is defined here "%Lu-%Lu\n", bytenr, bytenr+num_bytes); ~~^ %lu cmds-check.c:7367:19: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "There are no extents for csum range " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%Lu-%Lu\n", bytenr, bytenr+num_bytes); ~~~~~~~~~~~~~~~~ cmds-check.c:7368:11: note: format string is defined here "%Lu-%Lu\n", bytenr, bytenr+num_bytes); ~~^ %lu cmds-check.c: In function 'check_csums': cmds-check.c:7443:40: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Csum exists for %Lu-%Lu but " ~~^ %lu cmds-check.c:7443:44: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Csum exists for %Lu-%Lu but " ~~^ %lu cmds-check.c:7445:14: offset, offset+num_bytes); ~~~~~~~~~~~~~~~~ cmds-check.c: In function 'delete_extent_records': cmds-check.c:8112:57: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "repair deleting extent record: key %Lu %u %Lu\n", ~~^ %lu found_key.objectid, found_key.type, found_key.offset); ~~~~~~~~~~~~~~~~~~ cmds-check.c:8112:64: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "repair deleting extent record: key %Lu %u %Lu\n", ~~^ %lu found_key.objectid, found_key.type, found_key.offset); ~~~~~~~~~~~~~~~~ cmds-check.c: In function 'record_extent': cmds-check.c:8263:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "adding new tree backref on " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8265:4: rec->start, rec->max_size, parent, tback->root); ~~~~~~~~~~ cmds-check.c:8264:14: note: format string is defined here "start %llu len %llu parent %llu root %llu\n", ~~~^ %lu cmds-check.c:8263:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "adding new tree backref on " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8265:16: rec->start, rec->max_size, parent, tback->root); ~~~~~~~~~~~~~ cmds-check.c:8264:23: note: format string is defined here "start %llu len %llu parent %llu root %llu\n", ~~~^ %lu cmds-check.c:8263:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "adding new tree backref on " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8264:35: note: format string is defined here "start %llu len %llu parent %llu root %llu\n", ~~~^ %lu cmds-check.c:8263:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "adding new tree backref on " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8265:39: rec->start, rec->max_size, parent, tback->root); ~~~~~~~~~~~ cmds-check.c:8264:45: note: format string is defined here "start %llu len %llu parent %llu root %llu\n", ~~~^ %lu cmds-check.c: In function 'repair_ref': cmds-check.c:8402:48: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Error cowing down to ref [%Lu, %u, %Lu]: %d\n", ~~^ %lu key.objectid, key.type, key.offset, ret); ~~~~~~~~~~~~ cmds-check.c:8402:57: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Error cowing down to ref [%Lu, %u, %Lu]: %d\n", ~~^ %lu key.objectid, key.type, key.offset, ret); ~~~~~~~~~~ cmds-check.c:8407:19: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Well that's odd, we just found this key " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "[%Lu, %u, %Lu]\n", key.objectid, key.type, ~~~~~~~~~~~~ cmds-check.c:8408:8: note: format string is defined here "[%Lu, %u, %Lu]\n", key.objectid, key.type, ~~^ %lu cmds-check.c:8407:19: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Well that's odd, we just found this key " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8409:4: key.offset); ~~~~~~~~~~ cmds-check.c:8408:17: note: format string is defined here "[%Lu, %u, %Lu]\n", key.objectid, key.type, ~~^ %lu [CC] cmds-property.o cmds-check.c:8419:19: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Ref doesn't match the record start and is " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8423:4: dback->disk_bytenr); ~~~~~~~~~~~~~~~~~~ cmds-check.c:8422:46: note: format string is defined here "complete this functionality for bytenr %Lu\n", ~~^ %lu cmds-check.c:8438:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Ref is past the entry end, please " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8441:5: dback->disk_bytenr); ~~~~~~~~~~~~~~~~~~ cmds-check.c:8440:42: note: format string is defined here "send it to a btrfs developer, ref %Lu\n", ~~^ %lu cmds-check.c:8453:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Ref is before the entry start, please" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8456:5: dback->disk_bytenr); ~~~~~~~~~~~~~~~~~~ cmds-check.c:8455:42: note: format string is defined here "send it to a btrfs developer, ref %Lu\n", ~~^ %lu cmds-check.c: In function 'verify_backrefs': cmds-check.c:8560:18: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "attempting to repair backref discrepency for bytenr " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%Lu\n", rec->start); ~~~~~~~~~~ cmds-check.c:8561:6: note: format string is defined here "%Lu\n", rec->start); ~~^ %lu cmds-check.c:8577:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Backrefs don't agree with each other " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8580:5: rec->start, rec->nr); ~~~~~~~~~~ cmds-check.c:8579:32: note: format string is defined here " so we can't fix bytenr %Lu bytes %Lu\n", ~~^ %lu cmds-check.c:8577:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Backrefs don't agree with each other " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8580:17: rec->start, rec->nr); ~~~~~~~ cmds-check.c:8579:42: note: format string is defined here " so we can't fix bytenr %Lu bytes %Lu\n", ~~^ %lu cmds-check.c:8602:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Backrefs and extent record evenly " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8605:14: "%Lu\n", rec->start, rec->nr); ~~~~~~~~~~ cmds-check.c:8604:41: note: format string is defined here "require user input to fix bytenr %Lu bytes " ~~^ %lu cmds-check.c:8602:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Backrefs and extent record evenly " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8605:26: "%Lu\n", rec->start, rec->nr); ~~~~~~~ cmds-check.c:8605:8: note: format string is defined here "%Lu\n", rec->start, rec->nr); ~~^ %lu cmds-check.c:8617:19: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Extent start and backref starts don't match, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8621:4: rec->start, rec->nr); ~~~~~~~~~~ cmds-check.c:8620:40: note: format string is defined here "this particular case. bytenr is %Lu, bytes is %Lu\n", ~~^ %lu cmds-check.c:8617:19: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Extent start and backref starts don't match, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8621:16: rec->start, rec->nr); ~~~~~~~ cmds-check.c:8620:54: note: format string is defined here "this particular case. bytenr is %Lu, bytes is %Lu\n", ~~^ %lu cmds-check.c: In function 'delete_duplicate_records': cmds-check.c:8769:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Ok we have overlapping extents that " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8773:5: tmp->start, tmp->nr, good->start, good->nr); ~~~~~~~~~~ cmds-check.c:8772:25: note: format string is defined here "The extents are [%Lu-%Lu] and [%Lu-%Lu]\n", ~~^ %lu cmds-check.c:8769:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Ok we have overlapping extents that " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8773:17: tmp->start, tmp->nr, good->start, good->nr); ~~~~~~~ cmds-check.c:8772:29: note: format string is defined here "The extents are [%Lu-%Lu] and [%Lu-%Lu]\n", ~~^ %lu cmds-check.c:8769:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Ok we have overlapping extents that " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8773:26: tmp->start, tmp->nr, good->start, good->nr); ~~~~~~~~~~~ cmds-check.c:8772:39: note: format string is defined here "The extents are [%Lu-%Lu] and [%Lu-%Lu]\n", ~~^ %lu cmds-check.c:8769:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Ok we have overlapping extents that " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8773:39: tmp->start, tmp->nr, good->start, good->nr); ~~~~~~~~ cmds-check.c:8772:43: note: format string is defined here "The extents are [%Lu-%Lu] and [%Lu-%Lu]\n", ~~^ %lu cmds-check.c:8804:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Well this shouldn't happen, extent " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8806:21: "[%Lu, %Lu]\n", tmp->start, tmp->nr); ~~~~~~~~~~ cmds-check.c:8806:9: note: format string is defined here "[%Lu, %Lu]\n", tmp->start, tmp->nr); ~~^ %lu cmds-check.c:8804:20: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Well this shouldn't happen, extent " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:8806:33: "[%Lu, %Lu]\n", tmp->start, tmp->nr); ~~~~~~~ cmds-check.c:8806:14: note: format string is defined here "[%Lu, %Lu]\n", tmp->start, tmp->nr); ~~^ %lu In file included from ctree.h:24:0, from cmds-check.c:28: cmds-check.c: In function 'prune_one_block': cmds-check.c:9233:9: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printk("deleting pointer to block %Lu\n", corrupt->cache.start); ^ ~~~~~~~~~~~~~~~~ kerncompat.h:279:46: note: in definition of macro 'printk' #define printk(fmt, args...) fprintf(stderr, fmt, ##args) ^~~ cmds-check.c: In function 'check_extent_refs': cmds-check.c:9428:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "bad metadata [%llu, %llu) crossing stripe boundary\n", ~~~^ %lu rec->start, rec->start + rec->max_size); ~~~~~~~~~~ cmds-check.c:9428:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "bad metadata [%llu, %llu) crossing stripe boundary\n", ~~~^ %lu rec->start, rec->start + rec->max_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9435:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "bad extent [%llu, %llu), type mismatch with chunk\n", ~~~^ %lu rec->start, rec->start + rec->max_size); ~~~~~~~~~~ cmds-check.c:9435:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "bad extent [%llu, %llu), type mismatch with chunk\n", ~~~^ %lu rec->start, rec->start + rec->max_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c: In function 'check_chunk_refs': cmds-check.c:9531:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu chunk_rec->objectid, ~~~~~~~~~~~~~~~~~~~ cmds-check.c:9531:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu cmds-check.c:9534:6: chunk_rec->offset, ~~~~~~~~~~~~~~~~~ cmds-check.c:9531:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu cmds-check.c:9535:6: chunk_rec->length, ~~~~~~~~~~~~~~~~~ cmds-check.c:9531:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu cmds-check.c:9536:6: chunk_rec->offset, ~~~~~~~~~~~~~~~~~ cmds-check.c:9531:66: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu cmds-check.c:9537:6: chunk_rec->type_flags, ~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9531:98: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu cmds-check.c:9538:6: block_group_rec->objectid, ~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9531:108: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 11 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu cmds-check.c:9540:6: block_group_rec->offset, ~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9531:122: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 12 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu cmds-check.c:9541:6: block_group_rec->offset, ~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9531:138: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 13 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu cmds-check.c:9542:6: block_group_rec->objectid, ~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9531:151: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 14 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) mismatch with block group[%llu, %u, %llu]: offset(%llu), objectid(%llu), flags(%llu)\n", ~~~^ %lu cmds-check.c:9543:6: block_group_rec->flags); ~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9552:15: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) is not found in block group\n", ~~~^ %lu chunk_rec->objectid, ~~~~~~~~~~~~~~~~~~~ cmds-check.c:9552:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) is not found in block group\n", ~~~^ %lu cmds-check.c:9555:5: chunk_rec->offset, ~~~~~~~~~~~~~~~~~ cmds-check.c:9552:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) is not found in block group\n", ~~~^ %lu cmds-check.c:9556:5: chunk_rec->length, ~~~~~~~~~~~~~~~~~ cmds-check.c:9552:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) is not found in block group\n", ~~~^ %lu cmds-check.c:9557:5: chunk_rec->offset, ~~~~~~~~~~~~~~~~~ cmds-check.c:9552:65: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu]: length(%llu), offset(%llu), type(%llu) is not found in block group\n", ~~~^ %lu cmds-check.c:9558:5: chunk_rec->type_flags); ~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9582:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] dismatch dev extent[%llu, %llu, %llu]\n", ~~~^ %lu chunk_rec->objectid, ~~~~~~~~~~~~~~~~~~~ cmds-check.c:9582:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] dismatch dev extent[%llu, %llu, %llu]\n", ~~~^ %lu cmds-check.c:9585:7: chunk_rec->offset, ~~~~~~~~~~~~~~~~~ cmds-check.c:9582:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] dismatch dev extent[%llu, %llu, %llu]\n", ~~~^ %lu cmds-check.c:9586:7: chunk_rec->stripes[i].devid, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9582:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] dismatch dev extent[%llu, %llu, %llu]\n", ~~~^ %lu cmds-check.c:9587:7: chunk_rec->stripes[i].offset, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9582:72: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] dismatch dev extent[%llu, %llu, %llu]\n", ~~~^ %lu cmds-check.c:9588:7: dev_extent_rec->objectid, ~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9582:78: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] dismatch dev extent[%llu, %llu, %llu]\n", ~~~^ %lu cmds-check.c:9589:7: dev_extent_rec->offset, ~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9582:84: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] dismatch dev extent[%llu, %llu, %llu]\n", ~~~^ %lu cmds-check.c:9590:7: dev_extent_rec->length); ~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9599:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] is not found in dev extent\n", ~~~^ %lu chunk_rec->objectid, ~~~~~~~~~~~~~~~~~~~ cmds-check.c:9599:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] is not found in dev extent\n", ~~~^ %lu cmds-check.c:9602:6: chunk_rec->offset, ~~~~~~~~~~~~~~~~~ cmds-check.c:9599:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] is not found in dev extent\n", ~~~^ %lu cmds-check.c:9603:6: chunk_rec->stripes[i].devid, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:9599:45: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] "Chunk[%llu, %u, %llu] stripe[%llu, %llu] is not found in dev extent\n", ~~~^ %lu cmds-check.c:9604:6: chunk_rec->stripes[i].offset); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c: In function 'check_chunks': cmds-check.c:9645:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Block group[%llu, %llu] (flags = %llu) didn't find the relative chunk.\n", ~~~^ %lu bg_rec->objectid, ~~~~~~~~~~~~~~~~ cmds-check.c:9645:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Block group[%llu, %llu] (flags = %llu) didn't find the relative chunk.\n", ~~~^ %lu cmds-check.c:9647:5: bg_rec->offset, ~~~~~~~~~~~~~~ cmds-check.c:9645:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Block group[%llu, %llu] (flags = %llu) didn't find the relative chunk.\n", ~~~^ %lu cmds-check.c:9648:5: bg_rec->flags); ~~~~~~~~~~~~~ cmds-check.c:9657:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device extent[%llu, %llu, %llu] didn't find the relative chunk.\n", ~~~^ %lu dext_rec->objectid, ~~~~~~~~~~~~~~~~~~ cmds-check.c:9657:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device extent[%llu, %llu, %llu] didn't find the relative chunk.\n", ~~~^ %lu cmds-check.c:9659:5: dext_rec->offset, ~~~~~~~~~~~~~~~~ cmds-check.c:9657:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device extent[%llu, %llu, %llu] didn't find the relative chunk.\n", ~~~^ %lu cmds-check.c:9660:5: dext_rec->length); ~~~~~~~~~~~~~~~~ cmds-check.c: In function 'check_device_used': cmds-check.c:9690:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Dev extent's total-byte(%llu) is not equal to byte-used(%llu) in dev[%llu, %u, %llu]\n", ~~~^ %lu cmds-check.c:9690:64: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Dev extent's total-byte(%llu) is not equal to byte-used(%llu) in dev[%llu, %u, %llu]\n", ~~~^ %lu total_byte, dev_rec->byte_used, dev_rec->objectid, ~~~~~~~~~~~~~~~~~~ cmds-check.c:9690:77: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Dev extent's total-byte(%llu) is not equal to byte-used(%llu) in dev[%llu, %u, %llu]\n", ~~~^ %lu total_byte, dev_rec->byte_used, dev_rec->objectid, ~~~~~~~~~~~~~~~~~ cmds-check.c:9690:87: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] "Dev extent's total-byte(%llu) is not equal to byte-used(%llu) in dev[%llu, %u, %llu]\n", ~~~^ %lu cmds-check.c:9692:19: dev_rec->type, dev_rec->offset); ~~~~~~~~~~~~~~~ cmds-check.c: In function 'check_devices': cmds-check.c:9721:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device extent[%llu, %llu, %llu] didn't find its device.\n", ~~~^ %lu dext_rec->objectid, dext_rec->offset, dext_rec->length); ~~~~~~~~~~~~~~~~~~ cmds-check.c:9721:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device extent[%llu, %llu, %llu] didn't find its device.\n", ~~~^ %lu dext_rec->objectid, dext_rec->offset, dext_rec->length); ~~~~~~~~~~~~~~~~ cmds-check.c:9721:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "Device extent[%llu, %llu, %llu] didn't find its device.\n", ~~~^ %lu dext_rec->objectid, dext_rec->offset, dext_rec->length); ~~~~~~~~~~~~~~~~ In file included from utils.h:30:0, from cmds-check.c:35: cmds-check.c: In function 'check_tree_block_ref': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10130:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10139:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10139:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10139:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10146:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10152:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10152:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10210:3: note: in expansion of macro 'error' error("extent[%llu %u] backref lost (owner: %llu, level: %u)", ^~~~~ [CC] cmds-fi-usage.o messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10210:3: note: in expansion of macro 'error' error("extent[%llu %u] backref lost (owner: %llu, level: %u)", ^~~~~ cmds-check.c: In function 'check_extent_data_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10261:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10261:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10261:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10270:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10270:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10270:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10297:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10297:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10368:3: note: in expansion of macro 'error' error("data extent[%llu %llu] backref lost", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10368:3: note: in expansion of macro 'error' error("data extent[%llu %llu] backref lost", ^~~~~ cmds-check.c: In function 'check_tree_block_backref': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10517:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10517:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10517:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10524:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10536:4: note: in expansion of macro 'error' error("extent [%llu %d] lost referencer (owner: %llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10536:4: note: in expansion of macro 'error' error("extent [%llu %d] lost referencer (owner: %llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10539:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10539:4: note: in expansion of macro 'error' error( ^~~~~ cmds-check.c: In function 'check_shared_block_backref': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10617:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10617:3: note: in expansion of macro 'error' error( ^~~~~ cmds-check.c: In function 'check_extent_data_backref': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10720:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10720:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10720:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10720:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10720:3: note: in expansion of macro 'error' error( ^~~~~ cmds-check.c: In function 'check_shared_data_backref': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10765:3: note: in expansion of macro 'error' error("shared extent %llu referencer lost (parent: %llu)", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10765:3: note: in expansion of macro 'error' error("shared extent %llu referencer lost (parent: %llu)", ^~~~~ cmds-check.c: In function 'check_extent_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10820:3: note: in expansion of macro 'error' error("bad metadata [%llu, %llu) crossing stripe boundary", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10820:3: note: in expansion of macro 'error' error("bad metadata [%llu, %llu) crossing stripe boundary", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10848:3: note: in expansion of macro 'error' error("extent item at bytenr %llu slot %d has wrong size", ^~~~~ [CC] cmds-inspect-dump-tree.o messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10883:3: note: in expansion of macro 'error' error("extent[%llu %d %llu] has unknown ref type: %d", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10883:3: note: in expansion of macro 'error' error("extent[%llu %d %llu] has unknown ref type: %d", ^~~~~ cmds-check.c: In function 'check_dev_extent_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10952:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10952:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10952:3: note: in expansion of macro 'error' error( ^~~~~ cmds-check.c: In function 'check_dev_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10988:3: note: in expansion of macro 'error' error("cannot find any related dev extent for dev[%llu, %u, %llu]", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:10988:3: note: in expansion of macro 'error' error("cannot find any related dev extent for dev[%llu, %u, %llu]", ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11017:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11017:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11017:3: note: in expansion of macro 'error' error( ^~~~~ cmds-check.c: In function 'check_block_group_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11066:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11066:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11075:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11075:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11121:5: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11121:5: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11130:5: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11130:5: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11147:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11147:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11147:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11147:3: note: in expansion of macro 'error' error( ^~~~~ cmds-check.c: In function 'check_chunk_item': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11191:3: note: in expansion of macro 'error' error("chunk[%llu %llu) is invalid", chunk_key.offset, ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11191:3: note: in expansion of macro 'error' error("chunk[%llu %llu) is invalid", chunk_key.offset, ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11205:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11205:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11216:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11216:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11216:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11216:4: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11250:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11250:3: note: in expansion of macro 'error' error( ^~~~~ cmds-check.c: In function 'traverse_tree_block': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11474:3: note: in expansion of macro 'error' error( ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11474:3: note: in expansion of macro 'error' error( ^~~~~ cmds-check.c: In function 'check_chunks_and_extents_v2': messages.h:42:17: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-check.c:11559:4: note: in expansion of macro 'error' error("failed to read tree: %lld", key.objectid); ^~~~~ cmds-inspect-dump-tree.c: In function 'cmd_inspect_dump_tree': cmds-inspect-dump-tree.c:349:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("log root tree: %llu level %d\n", ~~~^ %lu info->log_root_tree->node->start, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c: In function 'recow_extent_buffer': cmds-check.c:12001:37: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Recowing metadata block %llu\n", eb->start); ~~~^ ~~~~~~~~~ %lu cmds-check.c:12008:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't find owner root %llu\n", ~~~^ %lu key.objectid); ~~~~~~~~~~~~ cmds-check.c: In function 'delete_bad_item': cmds-check.c:12037:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Deleting bad item [%llu,%u,%llu]\n", bad->key.objectid, ~~~^ ~~~~~~~~~~~~~~~~~ %lu cmds-check.c:12037:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Deleting bad item [%llu,%u,%llu]\n", bad->key.objectid, ~~~^ %lu bad->key.type, bad->key.offset); ~~~~~~~~~~~~~~~ cmds-check.c:12045:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't find owner root %llu\n", ~~~^ %lu key.objectid); ~~~~~~~~~~~~ cmds-check.c: In function 'fill_csum_tree_from_fs': cmds-check.c:12210:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Fail to read fs/subvol tree: %lld\n", ~~~^ %ld key.objectid); ~~~~~~~~~~~~ cmds-check.c: In function 'maybe_repair_root_item': cmds-check.c:12468:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka const long unsigned int}' [-Wformat=] "Error: could not find extent items for root %llu\n", ~~~^ %lu root_key->objectid); ~~~~~~~~~~~~~~~~~~ cmds-check.c:12479:57: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka const long unsigned int}' [-Wformat=] "Error: could not find btree root extent for root %llu\n", ~~~^ %lu cmds-check.c:12500:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka const long unsigned int}' [-Wformat=] "%sroot item for root %llu," ~~~^ %lu cmds-check.c:12500:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "%sroot item for root %llu," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:12505:5: btrfs_root_bytenr(&ri), btrfs_root_generation(&ri), ~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:12501:25: note: format string is defined here " current bytenr %llu, current gen %llu, current level %u," ~~~^ %lu cmds-check.c:12500:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'u64 {aka long unsigned int}' [-Wformat=] "%sroot item for root %llu," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:12505:29: btrfs_root_bytenr(&ri), btrfs_root_generation(&ri), ~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:12501:43: note: format string is defined here " current bytenr %llu, current gen %llu, current level %u," ~~~^ %lu cmds-check.c:12500:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'u64 {aka long unsigned int}' [-Wformat=] "%sroot item for root %llu," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:12507:5: rii->bytenr, rii->gen, rii->level); ~~~~~~~~~~~ cmds-check.c:12502:21: note: format string is defined here " new bytenr %llu, new gen %llu, new level %u\n", ~~~^ %lu cmds-check.c:12500:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'u64 {aka long unsigned int}' [-Wformat=] "%sroot item for root %llu," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:12507:18: rii->bytenr, rii->gen, rii->level); ~~~~~~~~ cmds-check.c:12502:35: note: format string is defined here " new bytenr %llu, new gen %llu, new level %u\n", ~~~^ %lu cmds-check.c:12511:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka const long unsigned int}' [-Wformat=] "root %llu has a root item with a more recent gen (%llu) compared to the found root node (%llu)\n", ~~~^ %lu cmds-check.c:12511:59: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "root %llu has a root item with a more recent gen (%llu) compared to the found root node (%llu)\n", ~~~^ %lu root_id, btrfs_root_generation(&ri), rii->gen); ~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-check.c:12511:98: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "root %llu has a root item with a more recent gen (%llu) compared to the found root node (%llu)\n", ~~~^ %lu root_id, btrfs_root_generation(&ri), rii->gen); ~~~~~~~~ cmds-check.c: In function 'cmd_check': cmds-check.c:12765:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("using SB copy %llu, bytenr %llu\n", num, ~~~^ %lu cmds-check.c:12946:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Print extent state for subvolume %llu on %s\nUUID: %s\n", ~~~^ %lu [CC] cmds-inspect-dump-super.o cmds-inspect-dump-super.c: In function 'print_root_backup': cmds-inspect-dump-super.c:156:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_tree_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu btrfs_backup_tree_root(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:156:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_tree_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu cmds-inspect-dump-super.c:158:4: btrfs_backup_tree_root_gen(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:160:37: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_chunk_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu btrfs_backup_chunk_root(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:160:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_chunk_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu cmds-inspect-dump-super.c:162:4: btrfs_backup_chunk_root_gen(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:164:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_extent_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu btrfs_backup_extent_root(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:164:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_extent_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu cmds-inspect-dump-super.c:166:4: btrfs_backup_extent_root_gen(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:168:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_fs_root:\t\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu btrfs_backup_fs_root(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:168:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_fs_root:\t\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu cmds-inspect-dump-super.c:170:4: btrfs_backup_fs_root_gen(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:172:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_dev_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu btrfs_backup_dev_root(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:172:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_dev_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu cmds-inspect-dump-super.c:174:4: btrfs_backup_dev_root_gen(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:176:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_csum_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu btrfs_backup_csum_root(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:176:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_csum_root:\t%llu\tgen: %llu\tlevel: %d\n", ~~~^ %lu cmds-inspect-dump-super.c:178:4: btrfs_backup_csum_root_gen(backup), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:181:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_total_bytes:\t%llu\n", ~~~^ %lu btrfs_backup_total_bytes(backup)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:183:37: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_bytes_used:\t%llu\n", ~~~^ %lu btrfs_backup_bytes_used(backup)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c:185:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tbackup_num_devices:\t%llu\n", ~~~^ %lu btrfs_backup_num_devices(backup)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c: In function '__print_readable_flag': cmds-inspect-dump-super.c:283:31: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("unknown flag: 0x%llx ", flag); ~~~^ %lx cmds-inspect-dump-super.c:285:42: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("|\n\t\t\t unknown flag: 0x%llx ", flag); ~~~^ %lx cmds-inspect-dump-super.c: In function 'dump_superblock': cmds-inspect-dump-super.c:441:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("dev_item.devid\t\t%llu\n", ~~~^ %lu btrfs_stack_device_id(&sb->dev_item)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-dump-super.c: In function 'load_and_dump_sb': cmds-inspect-dump-super.c:479:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("superblock: bytenr=%llu, device=%s\n", sb_bytenr, filename); ~~~^ %lu In file included from utils.h:30:0, from cmds-inspect-dump-super.c:33: cmds-inspect-dump-super.c: In function 'cmd_inspect_dump_super': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-inspect-dump-super.c:540:5: note: in expansion of macro 'error' error("super mirror too big: %llu >= %d", ^~~~~ [CC] cmds-inspect-tree-stats.o In file included from utils.h:30:0, from cmds-inspect-tree-stats.c:36: cmds-inspect-tree-stats.c: In function 'walk_nodes': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-inspect-tree-stats.c:160:5: note: in expansion of macro 'error' error("failed to read blocknr %llu", ^~~~~ cmds-inspect-tree-stats.c: In function 'print_seek_histogram': cmds-inspect-tree-stats.c:257:19: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\t%*Lu - %*Lu: %*Lu ", digits, group_start, ~~~^ %*lu cmds-inspect-tree-stats.c:257:26: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\t%*Lu - %*Lu: %*Lu ", digits, group_start, ~~~^ %*lu cmds-inspect-tree-stats.c:257:32: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\t%*Lu - %*Lu: %*Lu ", digits, group_start, ~~~^ %*lu cmds-inspect-tree-stats.c:272:18: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\t%*Lu - %*Lu: %*Lu ", digits, seek->distance, ~~~^ ~~~~~~~~~~~~~~ %*lu cmds-inspect-tree-stats.c:272:25: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\t%*Lu - %*Lu: %*Lu ", digits, seek->distance, ~~~^ %*lu digits, seek->distance, digits, seek->count); ~~~~~~~~~~~~~~ cmds-inspect-tree-stats.c:272:31: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\t%*Lu - %*Lu: %*Lu ", digits, seek->distance, ~~~^ %*lu digits, seek->distance, digits, seek->count); ~~~~~~~~~~~ cmds-inspect-tree-stats.c:282:18: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\t%*Lu - %*Lu: %*Lu ", digits, group_start, ~~~^ %*lu cmds-inspect-tree-stats.c:282:25: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\t%*Lu - %*Lu: %*Lu ", digits, group_start, ~~~^ %*lu cmds-inspect-tree-stats.c:282:31: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 7 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\t%*Lu - %*Lu: %*Lu ", digits, group_start, ~~~^ %*lu In file included from utils.h:30:0, from cmds-inspect-tree-stats.c:36: cmds-inspect-tree-stats.c: In function 'calc_root_size': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ cmds-inspect-tree-stats.c:328:3: note: in expansion of macro 'error' error("failed to read root %llu", key->objectid); ^~~~~ cmds-inspect-tree-stats.c:366:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tTotal size: %llu\n", stat.total_bytes); ~~~^ ~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:367:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tInline data: %llu\n", stat.total_inline); ~~~^ ~~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:368:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tTotal seeks: %llu\n", stat.total_seeks); ~~~^ ~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:369:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tForward seeks: %llu\n", stat.forward_seeks); ~~~^ ~~~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:370:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tBackward seeks: %llu\n", stat.backward_seeks); ~~~^ ~~~~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:371:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tAvg seek len: %llu\n", stat.total_seeks ? ~~~^ ~~~~~~~~~~~~~~~~~~ %lu stat.total_seek_len / stat.total_seeks : 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds-inspect-tree-stats.c:374:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tTotal clusters: %llu\n", stat.total_clusters); ~~~^ ~~~~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:375:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tAvg cluster size: %llu\n", stat.total_cluster_size / ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %lu stat.total_clusters); ~~~~~~~~~~~~~~~~~~~ cmds-inspect-tree-stats.c:377:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tMin cluster size: %llu\n", stat.min_cluster_size); ~~~^ ~~~~~~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:378:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tMax cluster size: %llu\n", stat.max_cluster_size); ~~~^ ~~~~~~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:379:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tTotal disk spread: %llu\n", stat.highest_bytenr - ~~~^ ~~~~~~~~~~~~~~~~~~~~~ %lu stat.lowest_bytenr); ~~~~~~~~~~~~~~~~~~ cmds-inspect-tree-stats.c:387:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tTotal seeks: %llu\n", stat.total_seeks); ~~~^ ~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:388:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tForward seeks: %llu\n", stat.forward_seeks); ~~~^ ~~~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:389:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\t\tBackward seeks: %llu\n", stat.backward_seeks); ~~~^ ~~~~~~~~~~~~~~~~~~~ %lu cmds-inspect-tree-stats.c:394:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("\tTotal clusters: %llu\n", stat.total_clusters); ~~~^ ~~~~~~~~~~~~~~~~~~~ %lu [CC] cmds-fi-du.o [CC] mkfs/common.o [CC] send-stream.o [CC] send-utils.o [CC] kernel-lib/rbtree.o send-utils.c: In function 'subvol_uuid_search_init': send-utils.c:658:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "ERROR: unable to " ^~~~~~~~~~~~~~~~~~~ send-utils.c:661:7: btrfs_search_header_objectid(sh)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ send-utils.c:660:21: note: format string is defined here "for root %llu\n", ~~~^ %lu [CC] btrfs-list.o btrfs-list.c: In function 'print_subvolume_column': btrfs-list.c:1314:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%llu", subv->root_id); ~~~^ ~~~~~~~~~~~~~ %lu btrfs-list.c:1317:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%llu", subv->gen); ~~~^ ~~~~~~~~~ %lu btrfs-list.c:1320:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%llu", subv->ogen); ~~~^ ~~~~~~~~~~ %lu btrfs-list.c:1323:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%llu", subv->ref_tree); ~~~^ ~~~~~~~~~~~~~~ %lu btrfs-list.c:1326:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("%llu", subv->top_id); ~~~^ ~~~~~~~~~~~~ %lu [CC] kernel-lib/crc32c.o [CC] messages.o [CC] uuid-tree.o [CC] utils-lib.o [CC] rbtree-utils.o [CC] mkfs/main.o [CC] btrfs-debug-tree.o In file included from /builddir/build/BUILD/btrfs-progs-v4.12/utils.h:27:0, from mkfs/main.c:44: mkfs/main.c: In function 'add_file_items': /builddir/build/BUILD/btrfs-progs-v4.12/internal.h:28:14: warning: comparison of distinct pointer types lacks a cast (void) (&_x == &_y); \ ^ mkfs/main.c:722:14: note: in expansion of macro 'min' cur_bytes = min(total_bytes, 1024ULL * 1024); ^~~ mkfs/main.c: In function 'list_all_devices': mkfs/main.c:1231:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf(" %3llu %10s %s\n", ~~~~^ %3lu device->devid, ~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/btrfs-progs-v4.12/utils.h:30:0, from mkfs/main.c:44: mkfs/main.c: In function 'main': /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ mkfs/main.c:1641:3: note: in expansion of macro 'error' error("size %llu is too small to make a usable filesystem", ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ mkfs/main.c:1643:3: note: in expansion of macro 'error' error("minimum size for btrfs filesystem is %llu", ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ mkfs/main.c:1660:4: note: in expansion of macro 'error' error("minimum size for each btrfs device is %llu", ^~~~~ [CC] btrfs-map-logical.o btrfs-map-logical.c: In function '__print_mapping_info': btrfs-map-logical.c:116:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Error: fails to map mirror%d logical %llu: %s\n", ~~~^ %lu btrfs-map-logical.c:123:26: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "mirror %d logical %Lu physical %Lu device %s\n", ~~^ %lu mirror_num, logical + cur_offset, ~~~~~~~~~~~~~~~~~~~~ btrfs-map-logical.c:123:39: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "mirror %d logical %Lu physical %Lu device %s\n", ~~^ %lu btrfs-map-logical.c:125:5: multi->stripes[0].physical, ~~~~~~~~~~~~~~~~~~~~~~~~~~ btrfs-map-logical.c: In function 'write_extent_content': btrfs-map-logical.c:176:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failed to read extent at [%llu, %llu]: %s\n", ~~~^ %lu btrfs-map-logical.c:176:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failed to read extent at [%llu, %llu]: %s\n", ~~~^ %lu logical, logical + length, strerror(-ret)); ~~~~~~~~~~~~~~~~ btrfs-map-logical.c: In function 'main': btrfs-map-logical.c:295:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Failed to find extent at [%llu,%llu): %s\n", ~~~^ %lu btrfs-map-logical.c:295:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Failed to find extent at [%llu,%llu): %s\n", ~~~^ %lu cur_logical, cur_logical + cur_len, strerror(-ret)); ~~~~~~~~~~~~~~~~~~~~~ [CC] image/main.o btrfs-map-logical.c:308:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failed to find extent at [%llu,%llu): %s\n", ~~~^ %lu btrfs-map-logical.c:308:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failed to find extent at [%llu,%llu): %s\n", ~~~^ %lu cur_logical, cur_logical + cur_len, ~~~~~~~~~~~~~~~~~~~~~ btrfs-map-logical.c:315:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failed to find any extent at [%llu,%llu)\n", ~~~^ %lu btrfs-map-logical.c:315:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] "Failed to find any extent at [%llu,%llu)\n", ~~~^ %lu cur_logical, cur_logical + cur_len); ~~~~~~~~~~~~~~~~~~~~~ btrfs-map-logical.c:355:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "No extent found at range [%llu,%llu)\n", ~~~^ %lu btrfs-map-logical.c:355:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "No extent found at range [%llu,%llu)\n", ~~~^ %lu logical, logical + bytes); ~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/btrfs-progs-v4.12/utils.h:30:0, from image/main.c:35: image/main.c: In function 'copy_tree_blocks': /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ image/main.c:1091:3: note: in expansion of macro 'error' error("unable to add metadata block %llu: %d", ^~~~~ image/main.c: In function 'search_for_chunk_blocks': /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ image/main.c:2180:4: note: in expansion of macro 'error' error( ^~~~~ image/main.c: In function 'build_chunk_tree': /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ image/main.c:2320:3: note: in expansion of macro 'error' error("did not find superblock at %llu", ^~~~~ image/main.c: In function 'update_disk_super_on_device': image/main.c:2673:43: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("update disk super on %s devid=%llu\n", other_dev, devid); ~~~^ %lu In file included from /builddir/build/BUILD/btrfs-progs-v4.12/utils.h:30:0, from image/main.c:35: image/main.c: In function 'main': /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ image/main.c:2891:4: note: in expansion of macro 'error' error("it needs %llu devices but has only %d", ^~~~~ [CC] btrfs-zero-log.o [CC] btrfs-find-root.o btrfs-find-root.c: In function 'get_root_gen_and_level': btrfs-find-root.c:83:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Superblock thinks the generation is %llu\n", gen); ~~~^ %lu btrfs-find-root.c:87:66: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Superblock doesn't contain generation info for root %llu\n", ~~~^ %lu btrfs-find-root.c:95:65: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Superblock doesn't contain the level info for root %llu\n", ~~~^ %lu btrfs-find-root.c: In function 'print_one_result': btrfs-find-root.c:108:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Well block %llu(gen: %llu level: %u) seems good, ", ~~~^ %lu tree_block->start, generation, level); ~~~~~~~~~~~~~~~~~ btrfs-find-root.c:108:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Well block %llu(gen: %llu level: %u) seems good, ", ~~~^ %lu btrfs-find-root.c:116:60: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("but generation/level doesn't match, want gen: %llu level: %u\n", ~~~^ %lu filter->match_gen, filter->match_level); ~~~~~~~~~~~~~~~~~ btrfs-find-root.c: In function 'main': btrfs-find-root.c:212:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Found tree root at %llu gen %llu level %u\n", ~~~^ %lu found->start, filter.match_gen, filter.match_level); ~~~~~~~~~~~~ btrfs-find-root.c:212:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("Found tree root at %llu gen %llu level %u\n", ~~~^ %lu found->start, filter.match_gen, filter.match_level); ~~~~~~~~~~~~~~~~ [CC] btrfstune.o [CC] btrfs-select-super.o In file included from utils.h:30:0, from btrfstune.c:33: btrfstune.c: In function 'change_extents_uuid': messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ btrfstune.c:154:4: note: in expansion of macro 'error' error("failed to read tree block: %llu", bytenr); ^~~~~ messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ btrfstune.c:161:4: note: in expansion of macro 'error' error("failed to change uuid of tree block: %llu", ^~~~~ [CC] convert/main.o In file included from /builddir/build/BUILD/btrfs-progs-v4.12/utils.h:30:0, from convert/main.c:98: convert/main.c: In function 'link_subvol': /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:927:3: note: in expansion of macro 'error' error("unable to add root backref for %llu: %d", ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:937:3: note: in expansion of macro 'error' error("unable to add root ref for %llu: %d", ^~~~~ convert/main.c: In function 'read_reserved_ranges': /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka const long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1389:4: note: in expansion of macro 'error' error( ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka const long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1389:4: note: in expansion of macro 'error' error( ^~~~~ convert/main.c: In function 'check_convert_image': /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1505:4: note: in expansion of macro 'error' error( ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1505:4: note: in expansion of macro 'error' error( ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1514:4: note: in expansion of macro 'error' error( ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1514:4: note: in expansion of macro 'error' error( ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1547:5: note: in expansion of macro 'error' error( ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1547:5: note: in expansion of macro 'error' error( ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1569:4: note: in expansion of macro 'error' error("inode %llu has some file extents not checked", ^~~~~ convert/main.c: In function 'do_rollback': /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1713:3: note: in expansion of macro 'error' error("unable to find inode %llu: %s", ino, strerror(-ret)); ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka const long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1755:4: note: in expansion of macro 'error' error("failed to recover range [%llu, %llu): %s", ^~~~~ /builddir/build/BUILD/btrfs-progs-v4.12/messages.h:42:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] __btrfs_error((fmt), ##__VA_ARGS__); \ ^ convert/main.c:1755:4: note: in expansion of macro 'error' error("failed to recover range [%llu, %llu): %s", ^~~~~ [CC] convert/common.o [CC] convert/source-fs.o [CC] convert/source-ext2.o [CC] btrfs-corrupt-block.o [LN] libbtrfs.so.0 [LN] libbtrfs.so Making all in Documentation [ASCII] btrfs-man5.xml btrfs-corrupt-block.c: In function 'debug_corrupt_block': btrfs-corrupt-block.c:78:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u64 {aka long unsigned int}' [-Wformat=] printf("corrupting %llu copy %d\n", eb->start, ~~~^ ~~~~~~~~~ %lu btrfs-corrupt-block.c: In function 'corrupt_extent': btrfs-corrupt-block.c:229:37: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "deleting extent record: key %llu %u %llu\n", ~~~^ %lu key.objectid, key.type, key.offset); ~~~~~~~~~~~~ btrfs-corrupt-block.c:229:45: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "deleting extent record: key %llu %u %llu\n", ~~~^ %lu key.objectid, key.type, key.offset); ~~~~~~~~~~ btrfs-corrupt-block.c:242:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] "corrupting extent record: key %llu %u %llu\n", ~~~^ %lu key.objectid, key.type, key.offset); ~~~~~~~~~~~~ btrfs-corrupt-block.c:242:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] "corrupting extent record: key %llu %u %llu\n", ~~~^ %lu key.objectid, key.type, key.offset); ~~~~~~~~~~ btrfs-corrupt-block.c: In function 'corrupt_inode': btrfs-corrupt-block.c:600:43: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't find inode %Lu\n", inode); ~~^ %lu btrfs-corrupt-block.c:610:42: warning: format '%Lu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't find inode %Lu\n", inode); ~~^ %lu btrfs-corrupt-block.c: In function 'corrupt_file_extent': btrfs-corrupt-block.c:703:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't find extent %llu for inode %llu\n", ~~~^ %lu btrfs-corrupt-block.c:703:59: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't find extent %llu for inode %llu\n", ~~~^ %lu btrfs-corrupt-block.c: In function 'corrupt_metadata_block': btrfs-corrupt-block.c:787:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Couldn't find owner root %llu\n", ~~~^ %lu key.objectid); ~~~~~~~~~~~~ btrfs-corrupt-block.c: In function 'corrupt_item_nocow': btrfs-corrupt-block.c:967:46: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, "Deleting key and data [%llu, %u, %llu].\n", ~~~^ %lu key.objectid, key.type, key.offset); ~~~~~~~~~~~~ btrfs-corrupt-block.c:967:56: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, "Deleting key and data [%llu, %u, %llu].\n", ~~~^ %lu key.objectid, key.type, key.offset); ~~~~~~~~~~ btrfs-corrupt-block.c:971:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, "Corrupting key and data [%llu, %u, %llu].\n", ~~~^ %lu key.objectid, key.type, key.offset); ~~~~~~~~~~~~ btrfs-corrupt-block.c:971:58: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, "Corrupting key and data [%llu, %u, %llu].\n", ~~~^ %lu key.objectid, key.type, key.offset); ~~~~~~~~~~ btrfs-corrupt-block.c: In function 'find_chunk_offset': btrfs-corrupt-block.c:1072:58: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u64 {aka long unsigned int}' [-Wformat=] fprintf(stderr, "Can't find chunk with given offset %llu\n", ~~~^ %lu btrfs-corrupt-block.c: In function 'main': btrfs-corrupt-block.c:1181:30: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'u64 * {aka long unsigned int *}' [-Wformat=] ret = sscanf(optarg, "%llu,%u,%llu", ~~~^ %lu &key.objectid, ~~~~~~~~~~~~~ btrfs-corrupt-block.c:1181:38: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 5 has type 'u64 * {aka long unsigned int *}' [-Wformat=] ret = sscanf(optarg, "%llu,%u,%llu", ~~~^ %lu btrfs-corrupt-block.c:1184:11: &key.offset); ~~~~~~~~~~~ [AR] libbtrfs.a [LD] libbtrfs.so.0.1 [LD] mkfs.btrfs [LD] btrfs-debug-tree [LD] btrfs-map-logical [LD] btrfs-image [LD] btrfs-zero-log [LD] btrfs-find-root [LD] btrfstune [LD] btrfs-select-super [LD] btrfs-convert [LD] btrfs-corrupt-block [LD] btrfs [LN] btrfsck [XMLTO] btrfs-man5.5 [GZ] btrfs-man5.5.gz rm btrfs-man5.5 btrfs-man5.xml + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IlGSNG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 ++ dirname /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 + cd btrfs-progs-v4.12 + rm -rf /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 + make mandir=/usr/share/man bindir=/usr/sbin libdir=/usr/lib64 incdir=/usr/include/btrfs install DESTDIR=/builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 Making install in Documentation /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man5 /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man8 /usr/bin/install -c -m 644 btrfs-man5.5.gz /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man5 # the source file name of btrfs.5 clashes with section 8 page, but we # want to keep the code generic /usr/bin/mv /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man5/btrfs-man5.5.gz /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man5/btrfs.5.gz /usr/bin/install -c -m 644 btrfs.8.gz btrfs-convert.8.gz btrfs-find-root.8.gz btrfs-image.8.gz btrfs-map-logical.8.gz btrfs-select-super.8.gz btrfstune.8.gz fsck.btrfs.8.gz mkfs.btrfs.8.gz btrfs-subvolume.8.gz btrfs-filesystem.8.gz btrfs-balance.8.gz btrfs-device.8.gz btrfs-scrub.8.gz btrfs-check.8.gz btrfs-rescue.8.gz btrfs-inspect-internal.8.gz btrfs-send.8.gz btrfs-receive.8.gz btrfs-quota.8.gz btrfs-qgroup.8.gz btrfs-replace.8.gz btrfs-restore.8.gz btrfs-property.8.gz /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man8 ln -s -f btrfs-check.8.gz /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man8/btrfsck.8.gz ln -s -f btrfs-rescue.8.gz /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man8/btrfs-zero-log.8.gz ln -s -f btrfs-inspect-internal.8.gz /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man8/btrfs-debug-tree.8.gz ln -s -f btrfs-inspect-internal.8.gz /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/man/man8/btrfs-show-super.8.gz /usr/bin/install -c -m755 -d /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin /usr/bin/install -c btrfs mkfs.btrfs btrfs-debug-tree btrfs-map-logical btrfs-image btrfs-zero-log btrfs-find-root btrfstune btrfs-select-super btrfs-convert /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin /usr/bin/install -c fsck.btrfs /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin # btrfsck is a link to btrfs in the src tree, make it so for installed file as well ln -s -f btrfs /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfsck /usr/bin/install -c -m755 -d /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/lib64 /usr/bin/install -c libbtrfs.so.0.1 libbtrfs.a /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/lib64 cp -a libbtrfs.so.0 libbtrfs.so /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/lib64 /usr/bin/install -c -m755 -d /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/include/btrfs /usr/bin/install -c -m644 send-stream.h send-utils.h send.h kernel-lib/rbtree.h btrfs-list.h kernel-lib/crc32c.h kernel-lib/list.h kerncompat.h kernel-lib/radix-tree.h kernel-lib/sizes.h kernel-lib/raid56.h extent-cache.h extent_io.h ioctl.h ctree.h btrfsck.h version.h /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/include/btrfs /usr/bin/install -c -m755 -d /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/lib/udev/rules.d /usr/bin/install -c -m644 64-btrfs-dm.rules /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/lib/udev/rules.d + rm -f /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64//usr/lib64/libbtrfs.a + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.12-1.module_a2fa7ae6 --unique-debug-suffix -4.12-1.module_a2fa7ae6.ppc64 --unique-debug-src-base btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/btrfs-progs-v4.12 extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfs-convert extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfstune extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/lib64/libbtrfs.so.0.1 extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfs-map-logical extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfs-find-root extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfs-debug-tree extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfs-image extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfs-select-super extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/mkfs.btrfs extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfs extracting debug info from /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/sbin/btrfs-zero-log /usr/lib/rpm/sepdebugcrcfix: Updated 11 CRC32s, 0 CRC32s did match. 5189 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hy9F2J + umask 022 + cd /builddir/build/BUILD + cd btrfs-progs-v4.12 + DOCDIR=/builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/doc/btrfs-progs + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/doc/btrfs-progs + cp -pr COPYING /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64/usr/share/doc/btrfs-progs + exit 0 Provides: btrfs-progs = 4.12-1.module_a2fa7ae6 btrfs-progs(ppc-64) = 4.12-1.module_a2fa7ae6 libbtrfs.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld64.so.1()(64bit) ld64.so.1(GLIBC_2.22)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_1.0)(64bit) libblkid.so.1(BLKID_2.15)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libcom_err.so.2()(64bit) libext2fs.so.2()(64bit) liblzo2.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.3)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libpthread.so.0(GLIBC_2.3.3)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) rtld(GNU_HASH) Processing files: btrfs-progs-devel-4.12-1.module_a2fa7ae6.ppc64 Provides: btrfs-progs-devel = 4.12-1.module_a2fa7ae6 btrfs-progs-devel(ppc-64) = 4.12-1.module_a2fa7ae6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbtrfs.so.0()(64bit) Processing files: btrfs-progs-debugsource-4.12-1.module_a2fa7ae6.ppc64 Provides: btrfs-progs-debugsource = 4.12-1.module_a2fa7ae6 btrfs-progs-debugsource(ppc-64) = 4.12-1.module_a2fa7ae6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: btrfs-progs-debuginfo-4.12-1.module_a2fa7ae6.ppc64 Provides: btrfs-progs-debuginfo = 4.12-1.module_a2fa7ae6 btrfs-progs-debuginfo(ppc-64) = 4.12-1.module_a2fa7ae6 debuginfo(build-id) = 0b0dda89aba8204431b32d9a2cc4698e167361f4 debuginfo(build-id) = 0f8685fad9b60518ce89bbf1606fad0e7551c73b debuginfo(build-id) = 528df1903300e9ea01d7f9a4aa401fcf00e78482 debuginfo(build-id) = 555d2609f6c95bc4be3bd0edaac905af9712c037 debuginfo(build-id) = 589ed071032c2425d422c6b5f7e91c1246d26970 debuginfo(build-id) = 658e8da0d97eb12719b13a819ab714ec2062fb70 debuginfo(build-id) = 6f12a2b55eae280ce5bb9468f3be2ee33f43f43a debuginfo(build-id) = 74dc26941ff50639a91464a9d8c5cc866b78637d debuginfo(build-id) = b4214469af6a9b36e99c58432955d7faa7c7bbd4 debuginfo(build-id) = d423696ee1e71301a48b6b04aaa3ab4bbc52a725 debuginfo(build-id) = f7184119f5ed89960420930b23f9932b1a209fb0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 Wrote: /builddir/build/RPMS/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64.rpm Wrote: /builddir/build/RPMS/btrfs-progs-devel-4.12-1.module_a2fa7ae6.ppc64.rpm Wrote: /builddir/build/RPMS/btrfs-progs-debugsource-4.12-1.module_a2fa7ae6.ppc64.rpm Wrote: /builddir/build/RPMS/btrfs-progs-debuginfo-4.12-1.module_a2fa7ae6.ppc64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YjpRHO + umask 022 + cd /builddir/build/BUILD + cd btrfs-progs-v4.12 + rm -rf /builddir/build/BUILDROOT/btrfs-progs-4.12-1.module_a2fa7ae6.ppc64 + exit 0 Child return code was: 0