>>> ltp-testsuite 20240524 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/run/instance-1/output-1/build/.ltp-full-20240524.tar.xz.Jns2eA/output' 'https://github.com/linux-test-project/ltp/releases/download/20240524/ltp-full-20240524.tar.xz' --2024-06-23 20:47:09-- https://github.com/linux-test-project/ltp/releases/download/20240524/ltp-full-20240524.tar.xz Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/3649922/649302df-e9fd-44d0-ace8-290cbc8428d8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240623%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240623T204710Z&X-Amz-Expires=300&X-Amz-Signature=91f0d262ddee371494c8cf6a78e044b1f7f9ccdbeb1527253c36089c7794b9a4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=3649922&response-content-disposition=attachment%3B%20filename%3Dltp-full-20240524.tar.xz&response-content-type=application%2Foctet-stream [following] --2024-06-23 20:47:10-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/3649922/649302df-e9fd-44d0-ace8-290cbc8428d8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240623%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240623T204710Z&X-Amz-Expires=300&X-Amz-Signature=91f0d262ddee371494c8cf6a78e044b1f7f9ccdbeb1527253c36089c7794b9a4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=3649922&response-content-disposition=attachment%3B%20filename%3Dltp-full-20240524.tar.xz&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.110.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3306848 (3.2M) [application/octet-stream] Saving to: '/home/buildroot/autobuild/run/instance-1/output-1/build/.ltp-full-20240524.tar.xz.Jns2eA/output' 0K .......... .......... .......... .......... .......... 1% 6.55M 0s 50K .......... .......... .......... .......... .......... 3% 21.4M 0s 100K .......... .......... .......... .......... .......... 4% 10.4M 0s 150K .......... .......... .......... .......... .......... 6% 24.9M 0s 200K .......... .......... .......... .......... .......... 7% 87.5M 0s 250K .......... .......... .......... .......... .......... 9% 13.1M 0s 300K .......... .......... .......... .......... .......... 10% 52.5M 0s 350K .......... .......... .......... .......... .......... 12% 30.2M 0s 400K .......... .......... .......... .......... .......... 13% 103M 0s 450K .......... .......... .......... .......... .......... 15% 144M 0s 500K .......... .......... .......... .......... .......... 17% 16.8M 0s 550K .......... .......... .......... .......... .......... 18% 79.4M 0s 600K .......... .......... .......... .......... .......... 20% 150M 0s 650K .......... .......... .......... .......... .......... 21% 110M 0s 700K .......... .......... .......... .......... .......... 23% 145M 0s 750K .......... .......... .......... .......... .......... 24% 33.9M 0s 800K .......... .......... .......... .......... .......... 26% 81.3M 0s 850K .......... .......... .......... .......... .......... 27% 108M 0s 900K .......... .......... .......... .......... .......... 29% 151M 0s 950K .......... .......... .......... .......... .......... 30% 84.0M 0s 1000K .......... .......... .......... .......... .......... 32% 151M 0s 1050K .......... .......... .......... .......... .......... 34% 35.0M 0s 1100K .......... .......... .......... .......... .......... 35% 86.6M 0s 1150K .......... .......... .......... .......... .......... 37% 98.7M 0s 1200K .......... .......... .......... .......... .......... 38% 151M 0s 1250K .......... .......... .......... .......... .......... 40% 68.9M 0s 1300K .......... .......... .......... .......... .......... 41% 99.9M 0s 1350K .......... .......... .......... .......... .......... 43% 87.9M 0s 1400K .......... .......... .......... .......... .......... 44% 126M 0s 1450K .......... .......... .......... .......... .......... 46% 113M 0s 1500K .......... .......... .......... .......... .......... 47% 152M 0s 1550K .......... .......... .......... .......... .......... 49% 78.9M 0s 1600K .......... .......... .......... .......... .......... 51% 88.9M 0s 1650K .......... .......... .......... .......... .......... 52% 85.7M 0s 1700K .......... .......... .......... .......... .......... 54% 108M 0s 1750K .......... .......... .......... .......... .......... 55% 116M 0s 1800K .......... .......... .......... .......... .......... 57% 91.7M 0s 1850K .......... .......... .......... .......... .......... 58% 96.0M 0s 1900K .......... .......... .......... .......... .......... 60% 156M 0s 1950K .......... .......... .......... .......... .......... 61% 84.1M 0s 2000K .......... .......... .......... .......... .......... 63% 87.4M 0s 2050K .......... .......... .......... .......... .......... 65% 118M 0s 2100K .......... .......... .......... .......... .......... 66% 91.9M 0s 2150K .......... .......... .......... .......... .......... 68% 105M 0s 2200K .......... .......... .......... .......... .......... 69% 95.7M 0s 2250K .......... .......... .......... .......... .......... 71% 108M 0s 2300K .......... .......... .......... .......... .......... 72% 142M 0s 2350K .......... .......... .......... .......... .......... 74% 99.0M 0s 2400K .......... .......... .......... .......... .......... 75% 129M 0s 2450K .......... .......... .......... .......... .......... 77% 132M 0s 2500K .......... .......... .......... .......... .......... 78% 128M 0s 2550K .......... .......... .......... .......... .......... 80% 122M 0s 2600K .......... .......... .......... .......... .......... 82% 107M 0s 2650K .......... .......... .......... .......... .......... 83% 117M 0s 2700K .......... .......... .......... .......... .......... 85% 125M 0s 2750K .......... .......... .......... .......... .......... 86% 82.6M 0s 2800K .......... .......... .......... .......... .......... 88% 95.1M 0s 2850K .......... .......... .......... .......... .......... 89% 127M 0s 2900K .......... .......... .......... .......... .......... 91% 111M 0s 2950K .......... .......... .......... .......... .......... 92% 95.7M 0s 3000K .......... .......... .......... .......... .......... 94% 116M 0s 3050K .......... .......... .......... .......... .......... 95% 134M 0s 3100K .......... .......... .......... .......... .......... 97% 126M 0s 3150K .......... .......... .......... .......... .......... 99% 129M 0s 3200K .......... .......... ......... 100% 201M=0.05s 2024-06-23 20:47:10 (59.2 MB/s) - '/home/buildroot/autobuild/run/instance-1/output-1/build/.ltp-full-20240524.tar.xz.Jns2eA/output' saved [3306848/3306848] ltp-full-20240524.tar.xz: OK (sha256: 2b7c07bb281b7ec49981eeb06c4b66f147b103977254632678d384034f6e9663) >>> ltp-testsuite 20240524 Extracting xzcat /home/buildroot/autobuild/run/instance-1/dl/ltp-testsuite/ltp-full-20240524.tar.xz | /home/buildroot/autobuild/run/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524 -xf - >>> ltp-testsuite 20240524 Patching rm -rf /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/misc/math/float/bessel/ rm -rf /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/misc/math/float/float_bessel.c >>> ltp-testsuite 20240524 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524 -name $file); do cp support/gnuconfig/$file $i; done; done >>> ltp-testsuite 20240524 Patching libtool >>> ltp-testsuite 20240524 Configuring (cd /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/autobuild/run/instance-1/output-1/host/bin:/home/buildroot/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ar" AS="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-as" LD="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-ld" NM="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-nm" CC="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-g++" FC="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-readelf" STRIP="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-strip" OBJCOPY="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/run/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 " LDFLAGS="" FCFLAGS="-mlongcalls -mauto-litpools -O2 -g0" FFLAGS="-mlongcalls -mauto-litpools -O2 -g0" PKG_CONFIG="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=yes ac_cv_lib_cap_cap_compare=no CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 "`/home/buildroot/autobuild/run/instance-1/output-1/host/bin/pkg-config --cflags libtirpc`"" LIBS=" "`/home/buildroot/autobuild/run/instance-1/output-1/host/bin/pkg-config --libs libtirpc`" -lfts" SYSROOT="/home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot" CONFIG_SITE=/dev/null ./configure --target=xtensa-buildroot-linux-uclibc --host=xtensa-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-metadata --without-modules --prefix=/usr/lib/ltp-testsuite ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for xtensa-buildroot-linux-uclibc-strip... /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... x86_64-pc-linux-gnu checking host system type... xtensa-buildroot-linux-uclibc checking for xtensa-buildroot-linux-uclibc-gcc... /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-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... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc accepts -g... yes checking for /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc option to enable C11 features... none needed checking whether /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc... none checking for xtensa-buildroot-linux-uclibc-ar... /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ar checking for xtensa-buildroot-linux-uclibc-ranlib... /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ranlib checking for xtensa-buildroot-linux-uclibc-strip... (cached) /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-strip checking for bison... bison -y checking for /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc options needed to detect all undeclared functions... none needed checking whether IFLA_NET_NS_PID is declared... yes checking whether MADV_MERGEABLE is declared... yes checking whether NFTA_CHAIN_ID is declared... yes checking whether NFTA_VERDICT_CHAIN_ID is declared... yes checking whether PR_CAPBSET_DROP is declared... yes checking whether PR_CAPBSET_READ is declared... yes checking whether SEM_STAT_ANY is declared... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for asm/ldt.h... no checking for asm/prctl.h... no checking for cpuid.h... no checking for emmintrin.h... no checking for ifaddrs.h... yes checking for keyutils.h... no checking for linux/can.h... yes checking for linux/cgroupstats.h... yes checking for linux/cryptouser.h... yes checking for linux/close_range.h... yes checking for linux/dccp.h... yes checking for linux/fs.h... yes checking for linux/futex.h... yes checking for linux/genetlink.h... yes checking for linux/if_alg.h... yes checking for linux/if_ether.h... yes checking for linux/if_packet.h... yes checking for linux/io_uring.h... yes checking for linux/ioprio.h... yes checking for linux/keyctl.h... yes checking for linux/mempolicy.h... yes checking for linux/module.h... yes checking for linux/mount.h... yes checking for linux/netlink.h... yes checking for linux/seccomp.h... yes checking for linux/securebits.h... yes checking for linux/tls.h... yes checking for linux/tty.h... yes checking for linux/types.h... yes checking for linux/userfaultfd.h... yes checking for netinet/sctp.h... no checking for pthread.h... yes checking for sys/epoll.h... yes checking for sys/fanotify.h... yes checking for sys/inotify.h... yes checking for sys/pidfd.h... no checking for sys/prctl.h... yes checking for sys/random.h... yes checking for sys/shm.h... yes checking for sys/timerfd.h... yes checking for sys/ustat.h... no checking for sys/utsname.h... yes checking for sys/xattr.h... yes checking for xfs/xqm.h... no checking for fts.h... yes checking for linux/vm_sockets.h... yes checking for clone3... no checking for close_range... no checking for copy_file_range... no checking for epoll_pwait... yes checking for epoll_pwait2... no checking for execveat... no checking for faccessat2... no checking for fallocate... yes checking for fsconfig... no checking for fsmount... no checking for fsopen... no checking for fspick... no checking for fstatat... yes checking for getauxval... yes checking for getcontext... yes checking for getcpu... no checking for getdents... no checking for getdents64... no checking for io_pgetevents... no checking for io_uring_setup... no checking for io_uring_register... no checking for io_uring_enter... no checking for kcmp... no checking for mallinfo... yes checking for mallinfo2... no checking for mallopt... yes checking for modify_ldt... no checking for mount_setattr... no checking for move_mount... no checking for name_to_handle_at... yes checking for open_tree... no checking for openat... yes checking for openat2... no checking for pidfd_getfd... no checking for pidfd_open... no checking for pidfd_send_signal... no checking for pkey_mprotect... no checking for preadv... yes checking for preadv2... no checking for profil... no checking for pwritev... yes checking for pwritev2... no checking for quotactl_fd... no checking for rand_r... yes checking for recvmmsg... yes checking for renameat2... no checking for sched_getcpu... yes checking for sendmmsg... yes checking for sethostid... yes checking for setns... yes checking for sigpending... yes checking for splice... yes checking for statx... no checking for stime... yes checking for sync_file_range... yes checking for syncfs... yes checking for tee... yes checking for timerfd_create... yes checking for timerfd_gettime... yes checking for timerfd_settime... yes checking for unshare... yes checking for ustat... no checking for vmsplice... yes checking for mkdtemp... yes checking for struct fanotify_event_info_fid.fsid.__val... no checking for struct perf_event_mmap_page.aux_head... yes checking for struct sigaction.sa_sigaction... yes checking for struct statx.stx_mnt_id... no checking for struct statx.stx_dio_mem_align... no checking for struct utsname.domainname... yes checking for enum kcmp_type... yes checking for struct acct_v3... no checking for struct af_alg_iv... yes checking for struct sockaddr_alg... yes checking for struct fanotify_event_info_fid... no checking for struct fanotify_event_info_error... no checking for struct fanotify_event_info_header... no checking for struct fanotify_event_info_pidfd... no checking for struct file_dedupe_range... yes checking for struct file_handle... yes checking for struct fs_quota_statv... no checking for struct if_nextdqblk... yes checking for struct iovec... yes checking for struct ipc64_perm... no checking for struct loop_config... yes checking for struct mmsghdr... yes checking for struct msqid64_ds... no checking for struct rlimit64... yes checking for struct semid64_ds... no checking for struct shmid64_ds... no checking for struct statx... no checking for struct statx_timestamp... no checking for struct termio... yes checking for struct tpacket_req3... yes checking for struct user_desc... no checking for struct modify_ldt_ldt_s... no checking for struct xt_entry_match... yes checking for struct xt_entry_target... yes checking for struct __kernel_old_timeval... no checking for struct __kernel_old_timespec... no checking for struct __kernel_timespec... no checking for struct __kernel_old_itimerspec... no checking for struct __kernel_itimerspec... no checking for struct __kernel_old_itimerval... no checking for struct futex_waitv... yes checking for struct mount_attr... yes configure: metadata generation disabled checking for acl_init in -lacl... no configure: WARNING: missing libacl checking for sys/acl.h... no configure: WARNING: missing libacl headers checking for __atomic_* compiler builtins... yes checking for __builtin___clear_cache... yes checking for sys/capability.h... no checking if /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc supports -Wold-style-definition... yes checking for SHA1_Init in -lcrypto... yes checking for openssl/sha.h... yes checking whether to define _FORTIFY_SOURCE=2... yes checking for kernel-devel... no checking for add_key in -lkeyutils... no checking pkg-config is at least version 0.9.0... yes checking for libmnl... yes checking for linux/random.h... yes checking for selinux/selinux.h... no checking for __sync_add_and_fetch... yes checking for libaio.h... no checking for io_setup in -laio... no checking for fcntl f_owner_ex... yes checking for linux/fsverity.h... yes checking for struct fsverity_enable_arg... yes checking whether C compiler accepts -no-pie... yes checking whether C compiler accepts -ffixed-ebp... yes checking for numa_available in -lnuma... yes checking for numa.h... yes checking for numaif.h... yes checking for signalfd... yes checking for sys/signalfd.h... yes checking for linux/signalfd.h... yes checking for struct signalfd_siginfo.ssi_signo... yes checking for utimensat... yes checking for linux/taskstats.h... yes checking for struct taskstats.freepages_count... yes checking for struct taskstats.nvcsw... yes checking for struct taskstats.read_bytes... yes checking for libtirpc >= 0.2.4... yes checking for xdr_char... yes checking for clnttcp_create... yes checking whether linker can handle KVM payloads... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/mk/config.mk config.status: creating include/mk/config-openposix.mk config.status: creating include/mk/features.mk config.status: creating lib/ltp.pc config.status: creating m4/Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing syscalls.h commands Generating data for arch aarch64 ... Generating data for arch arc ... Generating data for arch i386 ... Generating data for arch ia64 ... Generating data for arch loongarch ... Generating data for arch mips_n32 ... Generating data for arch arm ... Generating data for arch hppa ... Generating data for arch mips_n64 ... Generating data for arch s390x ... Generating data for arch s390 ... Generating data for arch sh ... Generating data for arch sparc64 ... Generating data for arch mips_o32 ... Generating data for arch powerpc64 ... Generating data for arch powerpc ... Generating data for arch sparc ... Generating stub list ... Generating data for arch x86_64 ... Combining them all ... OK! TESTSUITES open posix testsuite: no realtime testsuite: no LIBRARIES keyutils: yes libacl: no libaio: no (aio: no) libcap: (newer: no) libcrypto: yes (sha: yes) libmnl: yes libnuma: yes (headers: yes, v2 headers: yes) libtirpc: yes glibc SUN-RPC: yes METADATA metadata generator: none HTML metadata: no PDF metadata: no >>> ltp-testsuite 20240524 Building GIT_DIR=. PATH="/home/buildroot/autobuild/run/instance-1/output-1/host/bin:/home/buildroot/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" HOST_CFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-1/output-1/host/include" HOST_LDFLAGS="-L/home/buildroot/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/output-1/host/lib" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/ make[1]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524' /usr/bin/make -C "lib" \ -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all /usr/bin/make -C "libs" \ -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/libs/Makefile" all if git describe >/dev/null 2>&1; then \ git describe > "Version"; \ else \ cp /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/VERSION "Version"; \ fi make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/libs' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib' GEN ltp-version.h CC lib/cloner.o In file included from ../../include/tst_test.h:180, from libnewipc.c:22: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/get_path.o CC libs/libltpnewipc/libnewipc.o AR libltpnewipc.a RANLIB libltpnewipc.a In file included from ../../include/tst_test.h:180, from tst_numa.c:16: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC libs/libltpnuma/tst_numa.o AR libltpnuma.a RANLIB libltpnuma.a CC lib/random_range.o CC lib/parse_opts.o In file included from ../../include/tst_test.h:180, from ../../include/libsigwait.h:10, from sigwait.c:8: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/safe_file_ops.o In file included from ../include/tst_test.h:180, from safe_pthread.c:10: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC libs/libltpsigwait/sigwait.o AR libltpsigwait.a RANLIB libltpsigwait.a CC lib/safe_net.o CC lib/safe_pthread.o CC lib/safe_stdio.o tlibio.c:85: warning: "_LARGEFILE64_SOURCE" redefined 85 | #define _LARGEFILE64_SOURCE | : note: this is the location of the previous definition tlibio.c: In function 'lio_write_buffer': tlibio.c:548:13: warning: unused variable 'listio_cmd' [-Wunused-variable] 548 | int listio_cmd; /* Holds the listio/lio_listio cmd */ | ^~~~~~~~~~ tlibio.c:547:13: warning: unused variable 'omethod' [-Wunused-variable] 547 | int omethod = method; | ^~~~~~~ tlibio.c:546:15: warning: variable 'io_type' set but not used [-Wunused-but-set-variable] 546 | char *io_type; /* Holds string of type of io */ | ^~~~~~~ tlibio.c:539:22: warning: unused parameter 'wrd' [-Wunused-parameter] 539 | long wrd) /* to allow future features, use zero for now */ | ~~~~~^~~ tlibio.c: In function 'lio_read_buffer': tlibio.c:1123:13: warning: unused variable 'omethod' [-Wunused-variable] 1123 | int omethod = method; | ^~~~~~~ tlibio.c:1122:13: warning: unused variable 'listio_cmd' [-Wunused-variable] 1122 | int listio_cmd; /* Holds the listio/lio_listio cmd */ | ^~~~~~~~~~ tlibio.c:1121:15: warning: variable 'io_type' set but not used [-Wunused-but-set-variable] 1121 | char *io_type; /* Holds string of type of io */ | ^~~~~~~ tlibio.c:1114:22: warning: unused parameter 'wrd' [-Wunused-parameter] 1114 | long wrd) /* to allow future features, use zero for now */ | ~~~~~^~~ tlibio.c: At top level: tlibio.c:422:13: warning: 'lio_async_signal_handler' defined but not used [-Wunused-function] 422 | static void lio_async_signal_handler(int sig) | ^~~~~~~~~~~~~~~~~~~~~~~~ CC libs/libltpvdso/parse_vdso.o In file included from ../include/tst_test.h:180, from tst_af_alg.c:11: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} tst_af_alg.c: In function 'init_sockaddr_alg': tst_af_alg.c:62:9: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 62 | strncpy((char *)addr->salg_name, algname, sizeof(addr->salg_name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/tlibio.o In file included from ../../include/tst_test.h:180, from vdso_helpers.c:8: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_af_alg.o CC libs/libltpvdso/vdso_helpers.o AR libltpvdso.a RANLIB libltpvdso.a CC lib/tst_ansi_color.o In file included from ../include/tst_test.h:180, from tst_arch.c:10: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC libs/libltpipc/libipc.o In file included from ../include/tst_test.h:180, from tst_assert.c:10: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/safe_macros.o CC lib/tst_arch.o CC libs/libltpipc/libmsgctl.o AR libltpipc.a RANLIB libltpipc.a CC lib/tst_assert.o In file included from ../include/tst_test.h:180, from tst_buffers.c:10: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from libswap.c:19: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} libswap.c: In function 'prealloc_contiguous_file': libswap.c:65:31: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 65 | if (tst_fs_type(path) == TST_BTRFS_MAGIC) | ^~ libswap.c: In function 'is_swap_supported': libswap.c:203:21: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 203 | if (fs_type == TST_BTRFS_MAGIC && | ^~ In file included from ../include/tst_test.h:180, from tst_capability.c:9: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} tst_capability.c: At top level: tst_capability.c:82:6: warning: conflicting types for 'tst_cap_setup' due to enum/integer mismatch; have 'void(struct tst_cap *, unsigned int)' [-Wenum-int-mismatch] 82 | void tst_cap_setup(struct tst_cap *caps, unsigned int action_mask) | ^~~~~~~~~~~~~ In file included from ../include/tst_test.h:41: ../include/tst_capability.h:133:6: note: previous declaration of 'tst_cap_setup' with type 'void(struct tst_cap *, enum tst_cap_act)' 133 | void tst_cap_setup(struct tst_cap *cap, enum tst_cap_act action_mask); | ^~~~~~~~~~~~~ CC lib/tst_buffers.o CC lib/tst_bool_expr.o CC lib/tst_capability.o CC libs/libltpswap/libswap.o In file included from ../include/tst_test.h:180, from tst_cgroup.c:15: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} AR libltpswap.a CC lib/tst_checksum.o RANLIB libltpswap.a CC lib/tst_checkpoint.o In file included from ../include/tst_test.h:180, from tst_clone.c:10: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../include/tst_test.h:180, from tst_clocks.c:9: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_clone.o In file included from ../../include/tst_test.h:180, from tst_uinput.c:13: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC libs/libltpuinput/tst_uinput.o AR libltpuinput.a RANLIB libltpuinput.a CC lib/tst_clocks.o make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/libs' In file included from ../include/tst_test.h:180, from tst_coredump.c:11: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_cmd.o CC lib/tst_coredump.o In file included from ../include/tst_test.h:180, from tst_crypto.c:11: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_cpu.o CC lib/tst_crypto.o In file included from ../include/tst_test.h:180, from tst_epoll.c:8: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_cgroup.o CC lib/tst_epoll.o In file included from ../include/tst_test.h:180, from tst_fd.c:17: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_dir_is_empty.o CC lib/tst_fill_file.o In file included from ../include/tst_test.h:180, from tst_fill_fs.c:13: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_fs_has_free.o CC lib/tst_fd.o CC lib/tst_fill_fs.o CC lib/tst_device.o In file included from ../include/tst_test.h:180, from tst_fs_setup.c:8: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_fs_setup.o CC lib/tst_fs_link_count.o CC lib/tst_get_bad_addr.o CC lib/tst_fs_type.o In file included from ../include/tst_test.h:180, from tst_hugepage.c:8: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../include/tst_test.h:180, from tst_kconfig.c:13: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_hugepage.o In file included from ../include/tst_test.h:180, from tst_ioctl.c:11: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_ioctl.o CC lib/tst_kernel.o In file included from ../include/tst_test.h:180, from tst_memutils.c:14: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_kvercmp.o CC lib/tst_mkfs.o CC lib/tst_memutils.o In file included from ../include/tst_test.h:180, from tst_net.c:14: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_kconfig.o CC lib/tst_module.o In file included from ../include/tst_test.h:180, from tst_netdevice.c:14: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_net.o In file included from ../include/tst_test.h:180, from tst_netlink.c:15: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_parse_opts.o CC lib/tst_path_has_mnt_flags.o CC lib/tst_pid.o CC lib/tst_rand_data.o CC lib/tst_process_state.o CC lib/tst_netlink.o CC lib/tst_netdevice.o In file included from ../include/tst_test.h:180, from tst_rtctime.c:11: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_resource.o In file included from ../include/tst_test.h:180, from tst_safe_file_at.c:12: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_rtctime.o In file included from ../include/tst_test.h:180, from tst_safe_io_uring.c:7: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_res.o In file included from ../include/tst_test.h:180, from tst_safe_macros.c:18: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../include/tst_test.h:180, from tst_safe_sysv_ipc.c:10: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} tst_safe_sysv_ipc.c: In function 'safe_msgrcv': tst_safe_sysv_ipc.c:115:78: warning: format '%ld' expects argument of type 'long int', but argument 10 has type 'ssize_t' {aka 'int'} [-Wformat=] 115 | "Invalid msgrcv(%i, %p, %zu, %li, %x) return value %ld", | ~~^ | | | long int | %d 116 | msqid, msgp, msgsz, msgtyp, msgflg, rval); | ~~~~ | | | ssize_t {aka int} tst_safe_macros.c: In function 'safe_mprotect': tst_safe_macros.c:698:33: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 698 | "mprotect(%p, %ld, %s(%x))", addr, len, prot_buf, prot); | ~~^ ~~~ | | | | long int size_t {aka unsigned int} | %d tst_safe_macros.c:704:41: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 704 | "mprotect(%p, %ld, %s(%x))", addr, len, prot_buf, prot); | ~~^ ~~~ | | | | long int size_t {aka unsigned int} | %d CC lib/tst_safe_io_uring.o tst_safe_macros.c:707:41: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 707 | "mprotect(%p, %ld, %s(%x)) return value %d", | ~~^ | | | long int | %d 708 | addr, len, prot_buf, prot, rval); | ~~~ | | | size_t {aka unsigned int} CC lib/tst_safe_file_at.o CC lib/tst_safe_sysv_ipc.o tst_sig.c: In function 'tst_sig': tst_sig.c:210:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 210 | if (fork_flag == FORK) | ^ tst_sig.c:213:17: note: here 213 | default: | ^~~~~~~ In file included from ../include/tst_test.h:180, from tst_safe_timerfd.c:10: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../include/tst_test.h:180, from tst_security.c:25: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_sig.o CC lib/tst_safe_timerfd.o CC lib/tst_security.o In file included from ../include/tst_test.h:180, from tst_status.c:10: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../include/tst_test.h:180, from tst_supported_fs_types.c:15: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../include/tst_test.h:180, from tst_sig_proc.c:12: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_safe_macros.o CC lib/tst_status.o CC lib/tst_sig_proc.o CC lib/tst_supported_fs_types.o In file included from ../include/tst_test.h:180, from tst_sys_conf.c:12: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../include/tst_test.h:180, from tst_taint.c:9: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_sys_conf.o In file included from ../include/tst_test.h:180, from tst_test.c:20: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../include/tst_test.h:180, from tst_test_macros.c:8: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_taint.o CC lib/tst_test_macros.o tst_test.c: In function 'set_ulimit_': tst_test.c:1156:76: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=] 1156 | tst_res_(file, lineno, TINFO, "Set ulimit resource: %d rlim_cur: %lu rlim_max: %lu", | ~~^ | | | long unsigned int | %llu 1157 | conf->resource, rlim.rlim_cur, rlim.rlim_max); | ~~~~~~~~~~~~~ | | | rlim_t {aka long long unsigned int} tst_test.c:1156:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=] 1156 | tst_res_(file, lineno, TINFO, "Set ulimit resource: %d rlim_cur: %lu rlim_max: %lu", | ~~^ | | | long unsigned int | %llu 1157 | conf->resource, rlim.rlim_cur, rlim.rlim_max); | ~~~~~~~~~~~~~ | | | rlim_t {aka long long unsigned int} CC lib/tst_thread_state.o In file included from ../include/tst_test.h:180, from tst_timer_test.c:13: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../include/tst_test.h:180, from tst_timer.c:10: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_timer.o CC lib/tst_tmpdir.o In file included from ../include/tst_test.h:180, from tst_uid.c:11: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_uid.o CC lib/tst_virt.o CC lib/tst_timer_test.o In file included from ../include/tst_test.h:180, from tst_wallclock.c:11: ../include/tst_safe_macros.h: In function 'safe_mmap': ../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/tst_wallclock.o CC lib/tst_test.o AR libltp.a RANLIB libltp.a In file included from ../../include/tst_test.h:180, from test01.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test02.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test04.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test03.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test01 CC lib/newlib_tests/test02 In file included from ../../include/tst_test.h:180, from test06.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test03 In file included from ../../include/tst_test.h:180, from test05.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test07.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test06 CC lib/newlib_tests/test04 In file included from ../../include/tst_test.h:180, from test08.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test07 In file included from ../../include/tst_test.h:180, from test09.c:11: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test05 In file included from ../../include/tst_test.h:180, from test13.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test11.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test08 CC lib/newlib_tests/test09 In file included from ../../include/tst_test.h:180, from test14.c:6: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test15.c:24: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} test15.c: In function 'do_test': ../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'intptr_t' {aka 'int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ test15.c:110:17: note: in expansion of macro 'tst_res' 110 | tst_res(TINFO, "Joining thread %li", i); | ^~~~~~~ CC lib/newlib_tests/test13 CC lib/newlib_tests/test11 CC lib/newlib_tests/test14 In file included from ../../include/tst_test.h:180, from test20.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test19.c:8: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} test20.c: In function 'do_test': test20.c:28:36: warning: unsigned conversion from 'long long int' to 'long unsigned int' changes value from '1000000000000' to '3567587328' [-Woverflow] 28 | struct tst_hugepage hp = { 1000000000000, TST_REQUEST }; | ^~~~~~~~~~~~~ CC lib/newlib_tests/test15 In file included from ../../include/tst_test.h:180, from test22.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_assert.c:7: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test20 CC lib/newlib_tests/test19 In file included from ../../include/tst_test.h:180, from test_exec.c:16: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_children_cleanup.c:14: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_assert CC lib/newlib_tests/test22 CC lib/newlib_tests/test_exec CC lib/newlib_tests/test_children_cleanup In file included from ../../include/tst_test.h:180, from test_guarded_buf.c:12: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_exec_child.c:7: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_kconfig.c:6: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_kconfig01.c:8: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_guarded_buf CC lib/newlib_tests/test_exec_child CC lib/newlib_tests/test_kconfig In file included from ../../include/tst_test.h:180, from test_kconfig02.c:8: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_macros01.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_kconfig01 In file included from ../../include/tst_test.h:180, from test_kconfig03.c:6: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_kconfig02 In file included from ../../include/tst_test.h:180, from test_macros02.c:20: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_kconfig03 CC lib/newlib_tests/test_macros01 In file included from ../../include/tst_test.h:180, from test_macros03.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_macros04.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_macros05.c:17: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_macros03 CC lib/newlib_tests/test_macros04 In file included from ../../include/tst_test.h:180, from test_macros06.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_parse_filesize.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_macros05 CC lib/newlib_tests/test_macros02 CC lib/newlib_tests/test_macros06 In file included from ../../include/tst_test.h:180, from test_runtime01.c:9: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_runtime02.c:16: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_parse_filesize In file included from ../../include/tst_test.h:180, from test_timer.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from test_zero_hugepage.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_runtime01 CC lib/newlib_tests/test_runtime02 In file included from ../../include/tst_test.h:180, from tst_capability01.c:12: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/test_zero_hugepage In file included from ../../include/tst_test.h:180, from tst_bool_expr.c:12: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from tst_capability02.c:9: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_capability01 In file included from ../../include/tst_test.h:180, from tst_cgroup01.c:6: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_capability02 CC lib/newlib_tests/tst_bool_expr CC lib/newlib_tests/tst_cgroup01 In file included from ../../include/tst_test.h:180, from tst_cgroup02.c:7: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:184: tst_cgroup02.c: In function 'do_test': ../../include/tst_cgroup.h:200:47: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=] 200 | (cg), (file_name), (fmt), __VA_ARGS__) | ^~~~~ tst_cgroup02.c:35:17: note: in expansion of macro 'SAFE_CG_PRINTF' 35 | SAFE_CG_PRINTF(cg_child, "memory.max", | ^~~~~~~~~~~~~~ ../../include/tst_cgroup.h:200:47: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=] 200 | (cg), (file_name), (fmt), __VA_ARGS__) | ^~~~~ tst_cgroup02.c:37:17: note: in expansion of macro 'SAFE_CG_PRINTF' 37 | SAFE_CG_PRINTF(cg_child, "memory.swap.max", | ^~~~~~~~~~~~~~ ../../include/tst_cgroup.h:200:47: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=] 200 | (cg), (file_name), (fmt), __VA_ARGS__) | ^~~~~ tst_cgroup02.c:47:9: note: in expansion of macro 'SAFE_CG_PRINTF' 47 | SAFE_CG_PRINTF(tst_cg, "memory.max", "%zu", (1UL << 24) - 1); | ^~~~~~~~~~~~~~ In file included from ../../include/tst_test.h:180, from tst_expiration_timer.c:11: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from tst_device.c:15: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} tst_device.c: In function 'test_dev_min_size': ../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ tst_device.c:64:17: note: in expansion of macro 'tst_res' 64 | tst_res(TPASS, "Got expected device size %lu", size); | ^~~~~~~ ../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ tst_device.c:66:17: note: in expansion of macro 'tst_res' 66 | tst_res(TFAIL, "Expected device size is %d but got %lu", | ^~~~~~~ CC lib/newlib_tests/tst_cgroup02 CC lib/newlib_tests/test_timer In file included from ../../include/tst_test.h:180, from tst_fuzzy_sync01.c:67: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_expiration_timer CC lib/newlib_tests/tst_device In file included from ../../include/tst_test.h:180, from tst_fuzzy_sync02.c:40: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from tst_fuzzy_sync03.c:13: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from tst_needs_cmds01.c:6: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_needs_cmds01 In file included from ../../include/tst_test.h:180, from tst_needs_cmds02.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_needs_cmds02 In file included from ../../include/tst_test.h:180, from tst_needs_cmds03.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_fuzzy_sync02 CC lib/newlib_tests/tst_fuzzy_sync01 In file included from ../../include/tst_test.h:180, from tst_needs_cmds04.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_needs_cmds03 In file included from ../../include/tst_test.h:180, from tst_needs_cmds05.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_needs_cmds04 CC lib/newlib_tests/tst_fuzzy_sync03 In file included from ../../include/tst_test.h:180, from tst_needs_cmds06.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from tst_needs_cmds07.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_needs_cmds05 In file included from ../../include/tst_test.h:180, from tst_needs_cmds08.c:12: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_needs_cmds06 In file included from ../../include/tst_test.h:180, from tst_res_flags.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../include/tst_test.h:180, from tst_print_result.c:11: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_needs_cmds07 CC lib/newlib_tests/tst_needs_cmds08 In file included from ../../include/tst_test.h:180, from tst_res_hexd.c:7: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_res_flags In file included from ../../include/tst_test.h:180, from tst_safe_fileops.c:7: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_print_result In file included from ../../include/tst_test.h:180, from tst_safe_sscanf.c:10: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_safe_fileops In file included from ../../include/tst_test.h:180, from tst_strstatus.c:12: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/tst_res_hexd CC lib/newlib_tests/tst_safe_sscanf CC lib/newlib_tests/tst_strstatus In file included from ../../include/tst_test.h:180, from variant.c:6: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC lib/newlib_tests/variant CC lib/tests/tst_checkpoint CC lib/tests/trerrno CC lib/tests/tst_checkpoint_wake_timeout CC lib/tests/tst_checkpoint_wait_timeout CC lib/tests/tst_cleanup_once tst_dataroot02.c: In function 'main': tst_dataroot02.c:51:36: warning: '/datafiles' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 51 | snprintf(tmp, PATH_MAX, "%s/datafiles", curdir); | ^~~~~~~~~~ tst_dataroot02.c:51:9: note: 'snprintf' output between 11 and 4106 bytes into a destination of size 4096 51 | snprintf(tmp, PATH_MAX, "%s/datafiles", curdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tst_dataroot03.c: In function 'main': tst_dataroot03.c:51:36: warning: '/datafiles' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 51 | snprintf(tmp, PATH_MAX, "%s/datafiles", curdir); | ^~~~~~~~~~ tst_dataroot03.c:51:9: note: 'snprintf' output between 11 and 4106 bytes into a destination of size 4096 51 | snprintf(tmp, PATH_MAX, "%s/datafiles", curdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/tests/tst_dataroot01 CC lib/tests/tst_dataroot03 CC lib/tests/tst_dataroot02 CC lib/tests/tst_device CC lib/tests/tst_fs_fill_subdirs CC lib/tests/tst_fs_fill_hardlinks CC lib/tests/tst_process_state CC lib/tests/tst_strerrno CC lib/tests/tst_safe_macros CC lib/tests/tst_record_childstatus CC lib/tests/tst_strsig CC lib/tests/tst_tmpdir_test make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib' /usr/bin/make -C "pan" \ -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/pan/Makefile" all /usr/bin/make -C "utils" \ -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/utils/Makefile" all /usr/bin/make -C "testcases" \ -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/Makefile" all /usr/bin/make -C "tools" \ -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/Makefile" all make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/pan' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/utils' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases' CC ltx /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[4]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. CC pan/ltp-bump.o make[5]: Nothing to be done for 'all'. In file included from ../../include/tst_test.h:180, from cve-2014-0196.c:31: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} zoolib.c: In function 'cat_args': zoolib.c:386:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 386 | *cmd = '\0'; | ~~~~~^~~~~~ zoolib.c:380:20: note: destination object of size 0 allocated by 'malloc' 380 | if ((cmd = malloc(size)) == NULL) { | ^~~~~~~~~~~~ CC utils/benchmark/ebizzy-0.3/ebizzy /usr/bin/make -C "lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/utils/sctp/lib/Makefile" all CC pan/zoolib.o CC utils/sctp/lib/addrs.o CC utils/sctp/lib/bindx.o connectx.c:78:12: warning: 'sctp_connectx_orig' alias between functions of incompatible types 'int(int)' and 'int(int, struct sockaddr *, int)' [-Wattribute-alias=] 78 | extern int sctp_connectx_orig (int) | ^~~~~~~~~~~~~~~~~~ connectx.c:67:5: note: aliased declaration here 67 | int __sctp_connectx(int fd, struct sockaddr *addrs, int addrcnt) | ^~~~~~~~~~~~~~~ CC utils/sctp/lib/connectx.o CC utils/sctp/lib/opt_info.o CC utils/sctp/lib/peeloff.o CC utils/sctp/lib/recvmsg.o CC utils/sctp/lib/sendmsg.o AR libsctp.a RANLIB libsctp.a /usr/bin/make -C "testlib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/utils/sctp/testlib/Makefile" all CC testcases/cve/cve-2014-0196 sctputil.c: In function 'test_print_message': sctputil.c:117:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 117 | printf("DATA(%ld): ", msg_len); | ~~^ ~~~~~~~ | | | | | size_t {aka unsigned int} | long int | %d In file included from ../../include/tst_test.h:180, from cve-2015-3290.c:118: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/ltx/ltx-src/msgpack/message.c: In function 'mp_message_print': /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/ltx/ltx-src/msgpack/message.c:367:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 367 | dprintf(fd, "{'length': '%lu', ", msg->length); | ~~^ ~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/ltx/ltx-src/msgpack/message.c:376:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 376 | dprintf(fd, "'type': 'int', 'data': '%lu'", val); | ~~^ ~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/ltx/ltx-src/msgpack/message.c:404:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 404 | dprintf(fd, "'type': 'array', 'data': '%lu'", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u CC testcases/cve/cve-2015-3290 CC utils/sctp/testlib/sctputil.o AR libsctputil.a RANLIB libsctputil.a /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC utils/sctp/func_tests/test_basic_v6.o In file included from ../../include/tst_test.h:180, from cve-2016-10044.c:18: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/cve/cve-2016-10044 CC pan/ltp-pan.o In file included from ../../include/tst_test.h:180, from cve-2016-7042.c:21: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC pan/splitstr.o CC utils/sctp/func_tests/test_fragments_v6.o LD pan/ltp-bump genload.c: In function 'main': genload.c:95:13: warning: variable 'do_timeout' set but not used [-Wunused-but-set-variable] 95 | int do_timeout = 0; | ^~~~~~~~~~ genload.c: In function 'hogcpu': genload.c:468:16: warning: variable 'd' set but not used [-Wunused-but-set-variable] 468 | double d; | ^ LD pan/ltp-pan make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/pan' /usr/bin/make -C "metadata" \ -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/metadata/Makefile" all make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/metadata' CC testcases/cve/cve-2016-7042 In file included from ../../include/tst_test.h:180, from cve-2016-7117.c:42: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC utils/sctp/func_tests/test_getname_v6.o CC utils/sctp/func_tests/test_inaddr_any_v6.o CC utils/sctp/func_tests/test_peeloff_v6.o CC testcases/cve/cve-2016-7117 In file included from ../../include/tst_test.h:180, from cve-2017-16939.c:24: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} HOSTCC metadata/metaparse /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/metadata/parse.sh > ltp.json CC tools/genload/genload CC utils/sctp/func_tests/test_sctp_sendrecvmsg_v6.o stress.c: In function 'main': stress.c:95:13: warning: variable 'do_timeout' set but not used [-Wunused-but-set-variable] 95 | int do_timeout = 0; | ^~~~~~~~~~ stress.c: In function 'hogcpu': stress.c:468:16: warning: variable 'd' set but not used [-Wunused-but-set-variable] 468 | double d; | ^ CC testcases/cve/cve-2017-16939 CC utils/sctp/func_tests/test_sockopt_v6.o In file included from ../../include/tst_test.h:180, from cve-2017-17052.c:22: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/cve/cve-2017-17052 In file included from ../../include/tst_test.h:180, from cve-2017-17053.c:13: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/cve/cve-2017-17053 CC utils/sctp/func_tests/test_tcp_style_v6.o In file included from ../../include/tst_test.h:180, from cve-2017-2618.c:21: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC tools/genload/stress make[3]: Nothing to be done for 'all'. CC testcases/cve/cve-2017-2618 In file included from ../../include/tst_test.h:180, from cve-2017-2671.c:34: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC utils/sctp/func_tests/test_timetolive_v6.o CC tools/apicmds/ltpapicmd.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../lib ltpapicmd.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o tst_brk /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../lib ltpapicmd.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o tst_brkm /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../lib ltpapicmd.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o tst_exit /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../lib ltpapicmd.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o tst_res /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../lib ltpapicmd.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o tst_resm CC testcases/cve/cve-2017-2671 CC utils/sctp/func_tests/test_1_to_1_accept_close /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../lib ltpapicmd.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o tst_ncpus In file included from ../../include/tst_test.h:180, from cve-2022-4378.c:20: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../lib ltpapicmd.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o tst_ncpus_conf CC testcases/cve/cve-2022-4378 /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../lib ltpapicmd.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o tst_ncpus_max In file included from ../../include/tst_test.h:180, from icmp_rate_limit01.c:35: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC utils/sctp/func_tests/test_1_to_1_addrs /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../lib ltpapicmd.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o tst_fs_has_free CC testcases/cve/icmp_rate_limit01 In file included from ../../include/tst_test.h:180, from meltdown.c:7: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools' In file included from ../../include/tst_test.h:180, from stack_clash.c:46: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/cve/meltdown In file included from ../../include/tst_test.h:180, from tcindex01.c:26: ../../include/tst_safe_macros.h: In function 'safe_mmap': ../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC utils/sctp/func_tests/test_1_to_1_connect CC testcases/cve/stack_clash CC testcases/cve/tcindex01 make[4]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. CC testcases/commands/nm/datafiles/f1.o CC testcases/commands/nm/datafiles/f2.o CC utils/sctp/func_tests/test_1_to_1_events CC testcases/commands/nm/datafiles/f3.o CC utils/sctp/func_tests/test_1_to_1_connectx LD testcases/commands/nm/datafiles/f1 LD testcases/commands/nm/datafiles/f2 LD testcases/commands/nm/datafiles/f3 /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ar rcs lib.a f1.o f2.o f3.o In file included from ../../../include/tst_test.h:180, from test_1_to_1_initmsg_connect.c:21: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. CC utils/sctp/func_tests/test_1_to_1_nonblock CC utils/sctp/func_tests/test_1_to_1_initmsg_connect CC testcases/commands/file/datafiles/in CC testcases/commands/ldd/datafiles/main.o CC testcases/commands/ldd/datafiles/lddfile1.o CC testcases/commands/ldd/datafiles/lddfile2.o CC testcases/commands/ldd/datafiles/lddfile3.o CC utils/sctp/func_tests/test_1_to_1_recvmsg CC utils/sctp/func_tests/test_1_to_1_recvfrom CC testcases/commands/ldd/datafiles/lddfile4.o CC testcases/commands/ldd/datafiles/lddfile5.o /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -std=gnu99 -shared -o lddfile1.obj.so lddfile1.o /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -std=gnu99 -shared -o lddfile2.obj.so lddfile2.o /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -std=gnu99 -shared -o lddfile3.obj.so lddfile3.o /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -std=gnu99 -shared -o lddfile4.obj.so lddfile4.o CC utils/sctp/func_tests/test_1_to_1_rtoinfo /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -std=gnu99 -shared -o lddfile5.obj.so lddfile5.o /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -std=gnu99 -O -o lddfile.out main.o lddfile1.obj.so lddfile2.obj.so lddfile3.obj.so lddfile4.obj.so lddfile5.obj.so CC utils/sctp/func_tests/test_1_to_1_send rm lddfile5.o lddfile1.o lddfile2.o lddfile4.o lddfile3.o make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. CC utils/sctp/func_tests/test_1_to_1_sendto make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h CC utils/sctp/func_tests/test_1_to_1_sendmsg make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC testcases/commands/eject/eject_check_tray make[4]: Nothing to be done for 'all'. CC utils/sctp/func_tests/test_1_to_1_socket_bind_listen CC utils/sctp/func_tests/test_1_to_1_shutdown /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC testcases/misc/f00f/f00f make[5]: Nothing to be done for 'all'. CC utils/sctp/func_tests/test_1_to_1_sockopt /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC utils/sctp/func_tests/test_1_to_1_threads crash01.c: In function 'monitor_fcn': crash01.c:207:22: warning: unused parameter 'sig' [-Wunused-parameter] 207 | void monitor_fcn(int sig) | ~~~~^~~ CC utils/sctp/func_tests/test_assoc_abort CC utils/sctp/func_tests/test_assoc_shutdown CC utils/sctp/func_tests/test_autoclose CC testcases/misc/crash/crash01 crash02.c: In function 'monitor_fcn': crash02.c:183:22: warning: unused parameter 'sig' [-Wunused-parameter] 183 | void monitor_fcn(int sig) | ~~~~^~~ crash02.c: In function 'badboy_fork': crash02.c:204:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 204 | perror("fork"); | ^~~~~~~~~~~~~~ crash02.c:205:9: note: here 205 | case 0: | ^~~~ crash02.c: In function 'badboy_loop': crash02.c:283:13: warning: variable 'i' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 283 | int i; | ^ CC utils/sctp/func_tests/test_basic CC utils/sctp/func_tests/test_connect CC testcases/misc/crash/crash02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from float_exp_log.c:48: main.c: In function 'handle_signals': main.c:322:35: warning: unused parameter 'arg' [-Wunused-parameter] 322 | static void *handle_signals(void *arg) | ~~~~~~^~~ In file included from float_exp_log.c:49: thread_code.c: In function 'read_file': thread_code.c:95:40: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | while (read(fd, buffer, fsize) != fsize) { | ^~ main.c: In function 'main': main.c:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | #define exit(x) myexit(x) | ^~~~~~~~~ main.c:171:17: note: in expansion of macro 'exit' 171 | exit(0); | ^~~~ main.c:172:9: note: here 172 | default: | ^~~~~~~ CC utils/sctp/func_tests/test_fragments CC utils/sctp/func_tests/test_connectx thread_code.c: In function 'read_file': thread_code.c:50:35: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^ thread_code.c:50:15: note: 'sprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC utils/sctp/func_tests/test_getname main.c: In function 'main': main.c:145:33: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 145 | strncpy(datadir, optarg, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC utils/sctp/func_tests/test_inaddr_any CC testcases/misc/math/float/float_exp_log In file included from float_iperb.c:40: main.c: In function 'handle_signals': main.c:322:35: warning: unused parameter 'arg' [-Wunused-parameter] 322 | static void *handle_signals(void *arg) | ~~~~~~^~~ In file included from float_iperb.c:41: thread_code.c: In function 'read_file': thread_code.c:95:40: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | while (read(fd, buffer, fsize) != fsize) { | ^~ main.c: In function 'main': main.c:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | #define exit(x) myexit(x) | ^~~~~~~~~ main.c:171:17: note: in expansion of macro 'exit' 171 | exit(0); | ^~~~ main.c:172:9: note: here 172 | default: | ^~~~~~~ CC utils/sctp/func_tests/test_peeloff CC utils/sctp/func_tests/test_recvmsg thread_code.c: In function 'read_file': thread_code.c:50:35: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^ thread_code.c:50:15: note: 'sprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC utils/sctp/func_tests/test_sctp_sendrecvmsg main.c: In function 'main': main.c:145:33: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 145 | strncpy(datadir, optarg, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/float_iperb In file included from float_power.c:46: main.c: In function 'handle_signals': main.c:322:35: warning: unused parameter 'arg' [-Wunused-parameter] 322 | static void *handle_signals(void *arg) | ~~~~~~^~~ In file included from float_power.c:47: thread_code.c: In function 'read_file': thread_code.c:95:40: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | while (read(fd, buffer, fsize) != fsize) { | ^~ main.c: In function 'main': main.c:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | #define exit(x) myexit(x) | ^~~~~~~~~ main.c:171:17: note: in expansion of macro 'exit' 171 | exit(0); | ^~~~ main.c:172:9: note: here 172 | default: | ^~~~~~~ thread_code.c: In function 'read_file': thread_code.c:50:35: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^ thread_code.c:50:15: note: 'sprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC utils/sctp/func_tests/test_tcp_style main.c: In function 'main': main.c:145:33: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 145 | strncpy(datadir, optarg, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC utils/sctp/func_tests/test_sockopt LD utils/sctp/func_tests/test_basic_v6 LD utils/sctp/func_tests/test_fragments_v6 CC utils/sctp/func_tests/test_timetolive CC testcases/misc/math/float/float_power LD utils/sctp/func_tests/test_getname_v6 In file included from float_trigo.c:48: main.c: In function 'handle_signals': main.c:322:35: warning: unused parameter 'arg' [-Wunused-parameter] 322 | static void *handle_signals(void *arg) | ~~~~~~^~~ In file included from float_trigo.c:49: thread_code.c: In function 'read_file': thread_code.c:95:40: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 95 | while (read(fd, buffer, fsize) != fsize) { | ^~ LD utils/sctp/func_tests/test_inaddr_any_v6 main.c: In function 'main': main.c:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | #define exit(x) myexit(x) | ^~~~~~~~~ main.c:171:17: note: in expansion of macro 'exit' 171 | exit(0); | ^~~~ main.c:172:9: note: here 172 | default: | ^~~~~~~ thread_code.c: In function 'read_file': thread_code.c:50:35: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^ thread_code.c:50:15: note: 'sprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD utils/sctp/func_tests/test_peeloff_v6 LD utils/sctp/func_tests/test_sctp_sendrecvmsg_v6 main.c: In function 'main': main.c:145:33: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 145 | strncpy(datadir, optarg, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD utils/sctp/func_tests/test_sockopt_v6 LD utils/sctp/func_tests/test_tcp_style_v6 LD utils/sctp/func_tests/test_timetolive_v6 rm test_inaddr_any_v6.o test_tcp_style_v6.o test_sockopt_v6.o test_sctp_sendrecvmsg_v6.o test_basic_v6.o test_fragments_v6.o test_timetolive_v6.o test_peeloff_v6.o test_getname_v6.o make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/utils' CC testcases/misc/math/float/float_trigo CC testcases/misc/math/float/power/genfloor CC testcases/misc/math/float/power/genfabs CC testcases/misc/math/float/power/genceil genpower.c: In function 'create_file': genpower.c:51:38: warning: unused parameter 'NbVal' [-Wunused-parameter] 51 | int create_file(char *func_name, int NbVal) | ~~~~^~~~~ CC testcases/misc/math/float/power/genfmod CC testcases/misc/math/float/power/genpow CC testcases/misc/math/float/power/genpower CC testcases/misc/math/float/power/gensqrt genexp_log.c: In function 'create_file': genexp_log.c:51:38: warning: unused parameter 'NbVal' [-Wunused-parameter] 51 | int create_file(char *func_name, int NbVal) | ~~~~^~~~~ CC testcases/misc/math/float/exp_log/genexp_log CC testcases/misc/math/float/exp_log/genexp CC testcases/misc/math/float/exp_log/genfrexp CC testcases/misc/math/float/exp_log/genhypot CC testcases/misc/math/float/exp_log/genldexp CC testcases/misc/math/float/exp_log/genlog CC testcases/misc/math/float/exp_log/genlog10 CC testcases/misc/math/float/exp_log/genmodf CC testcases/misc/math/float/trigo/genasin CC testcases/misc/math/float/trigo/genacos CC testcases/misc/math/float/trigo/genatan CC testcases/misc/math/float/trigo/genatan2 CC testcases/misc/math/float/trigo/gencos CC testcases/misc/math/float/trigo/gensin gentrigo.c: In function 'create_file': gentrigo.c:52:38: warning: unused parameter 'NbVal' [-Wunused-parameter] 52 | int create_file(char *func_name, int NbVal) | ~~~~^~~~~ CC testcases/misc/math/float/trigo/gentan CC testcases/misc/math/float/trigo/gentrigo geniperb.c: In function 'create_file': geniperb.c:51:38: warning: unused parameter 'NbVal' [-Wunused-parameter] 51 | int create_file(char *func_name, int NbVal) | ~~~~^~~~~ CC testcases/misc/math/float/iperb/geniperb CC testcases/misc/math/float/iperb/gentanh CC testcases/misc/math/float/iperb/gensinh CC testcases/misc/math/float/iperb/gencosh /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/misc/math/fptests/fptest01 CC testcases/misc/math/fptests/fptest02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. nextafter01.c: In function 'main': nextafter01.c:58:5: warning: old-style function definition [-Wold-style-definition] 58 | int main() | ^~~~ nextafter01.c: In function 'setup': nextafter01.c:109:6: warning: old-style function definition [-Wold-style-definition] 109 | void setup() | ^~~~~ nextafter01.c: In function 'blenter': nextafter01.c:114:6: warning: old-style function definition [-Wold-style-definition] 114 | void blenter() | ^~~~~~~ nextafter01.c: In function 'blexit': nextafter01.c:119:6: warning: old-style function definition [-Wold-style-definition] 119 | void blexit() | ^~~~~~ CC testcases/misc/math/nextafter/nextafter01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/misc/math/atof/atof01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/misc/math/abs/abs01 make[4]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from route-change-netlink.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/stress/route/route-change-netlink ns-common.c: In function 'bit_change_seed': ns-common.c:234:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 234 | seed = (rand_val < bitsize) ? (0x00000001 << rand_val) : 0; | ^ ns-common.c: In function 'strtotimespec': ns-common.c:337:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 337 | strncpy(sec_str, str, len - 9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ns-common.c:334:15: note: length computed here 334 | len = strlen(str); | ^~~~~~~~~~~ CC testcases/network/stress/ns-tools/ns-common.o ns-icmp_redirector.c: In function 'return_arp_reply': ns-icmp_redirector.c:343:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 343 | if (retval != sndeth_size) | ^~ ns-icmp_redirector.c: In function 'return_icmp4_redirect': ns-icmp_redirector.c:439:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 439 | if (retval != sndeth_size) | ^~ ns-icmp_redirector.c: In function 'return_neigh_adv': ns-icmp_redirector.c:564:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 564 | if (retval != sndeth_size) | ^~ ns-icmp_redirector.c: In function 'return_icmp6_redirect': ns-icmp_redirector.c:665:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 665 | if (retval != sndeth_size) | ^~ ns-icmp_redirector.c:638:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds=] 638 | sndrd_p->defs.nd_rd_type = ND_REDIRECT; | ^~ ns-icmp_redirector.c:591:26: note: at offset 54 into object 'sndeth' of size 1514 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:642:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds=] 642 | sndrd_p->defs.nd_rd_target = gw_p->nexthop; | ^~ ns-icmp_redirector.c:591:26: note: at offset 54 into object 'sndeth' of size 1514 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:643:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds=] 643 | sndrd_p->defs.nd_rd_dst = rcvip6_p->hdr.ip6_dst;; | ^~ ns-icmp_redirector.c:591:26: note: at offset 54 into object 'sndeth' of size 1514 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:644:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds=] 644 | sndrd_p->rdopt_hdr.nd_opt_rh_type = ND_OPT_REDIRECTED_HEADER; | ^~ ns-icmp_redirector.c:591:26: note: at offset 54 into object 'sndeth' of size 1514 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:645:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds=] 645 | sndrd_p->rdopt_hdr.nd_opt_rh_len = redirect_optsize / 8; | ^~ ns-icmp_redirector.c:591:26: note: at offset 54 into object 'sndeth' of size 1514 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:659:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds=] 659 | sndrd_p->defs.nd_rd_cksum = calc_checksum((u_int16_t *) (&p_ip6), | ^~ ns-icmp_redirector.c:591:26: note: at offset 54 into object 'sndeth' of size 1514 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ CC testcases/network/stress/ns-tools/ns-icmp_redirector CC testcases/network/stress/ns-tools/ns-icmpv4_sender ns-igmp_querier.c: In function 'send_query': ns-igmp_querier.c:435:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 435 | if (retval != query_size) { | ^~ ns-mcast_join.c: In function 'join_group': ns-mcast_join.c:311:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 311 | for (idx = 0; idx < num_sock; idx++) { | ^ ns-mcast_join.c:337:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 337 | for (idx = 0; idx < num_group; idx++) { | ^ CC testcases/network/stress/ns-tools/ns-icmpv6_sender ns-mcast_join.c:332:17: warning: 'strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 332 | strncpy(maddr, mcast_addr, ADDR_STR_MAXSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/network/stress/ns-tools/ns-igmp_querier CC testcases/network/stress/ns-tools/ns-mcast_join CC testcases/network/stress/ns-tools/ns-mcast_receiver CC testcases/network/stress/ns-tools/ns-tcpserver CC testcases/network/stress/ns-tools/ns-tcpclient ns-udpsender.c: In function 'send_udp_datagram': ns-udpsender.c:400:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 400 | if (retval != udp_p->msgsize) { | ^~ CC testcases/network/stress/ns-tools/ns-udpclient CC testcases/network/stress/ns-tools/ns-udpserver CC testcases/network/stress/ns-tools/ns-udpsender make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. In file included from ../../../include/tst_test.h:180, from nft02.c:31: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/iptables/nft02 make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. /usr/bin/make -C ../.. \ -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/network/tcp_cmds/sendfile/../../Makefile" generate CC testcases/network/tcp_cmds/sendfile/testsf_s6.o CC testcases/network/tcp_cmds/sendfile/testsf_c6.o mkdir -p "datafiles" cd "datafiles" && \ abs_top_srcdir="/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524" "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/network/generate.sh" testsf_s.c: In function 'main': testsf_s.c:32:20: warning: variable 'ap' set but not used [-Wunused-but-set-variable] 32 | sai_t sa, *ap; | ^~ testsf_s.c: In function 'main': testsf_s.c:32:20: warning: variable 'ap' set but not used [-Wunused-but-set-variable] 32 | sai_t sa, *ap; | ^~ LD testcases/network/tcp_cmds/sendfile/testsf_c6 CC testcases/network/tcp_cmds/sendfile/testsf_s CC testcases/network/tcp_cmds/sendfile/testsf_c LD testcases/network/tcp_cmds/sendfile/testsf_s6 make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. asapi_01.c: In function 'client': asapi_01.c:304:49: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 304 | if (htonl(prtp->tp_pid) == (uint32_t)pid && | ^~ asapi_01.c:305:49: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 305 | htonl(prtp->tp_seq) == (uint32_t)seq) | ^~ In file included from ../../../include/tst_test.h:180, from asapi_02.c:52: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/lib6/asapi_02 CC testcases/network/lib6/asapi_01 CC testcases/network/lib6/asapi_03 In file included from ../../../include/tst_test.h:180, from getaddrinfo_01.c:29: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../include/tst_test.h:180, from in6_01.c:20: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../include/tst_test.h:180, from in6_02.c:22: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/lib6/in6_01 CC testcases/network/lib6/getaddrinfo_01 CC testcases/network/lib6/in6_02 /usr/bin/make -C lib -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/network/rpc/basic_tests/rpc01/lib/Makefile" all /usr/bin/make -C /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/network/rpc/rpc-tirpc/tests_pack/lib -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile" all CC testcases/network/rpc/rpc-tirpc/tests_pack/lib/librpc-tirpc.o AR librpc-tirpc.a RANLIB librpc-tirpc.a CC testcases/network/rpc/basic_tests/rpc01/lib/librpc01.o AR librpc01.a RANLIB librpc01.a rpc_server.c: In function 'service_request': rpc_server.c:94:39: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 94 | svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); | ^ rpc1.c: In function 'main': rpc1.c:96:56: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 96 | memcpy(&server_sin.sin_addr, hp->h_addr, sizeof(hp->h_addr)); | ^ CC testcases/network/rpc/basic_tests/rpc01/rpc_server CC testcases/network/rpc/basic_tests/rpc01/rpc1 make[7]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. rpc_cleaner.c: In function 'main': rpc_cleaner.c:25:14: warning: unused parameter 'argc' [-Wunused-parameter] 25 | int main(int argc, char *argv[]) | ~~~~^~~~ tirpc_cleaner.c: In function 'main': tirpc_cleaner.c:36:14: warning: unused parameter 'argn' [-Wunused-parameter] 36 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_cleaner CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_cleaner tirpc_svc_1.c: In function 'main': tirpc_svc_1.c:51:16: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 51 | bool_t rslt; | ^~~~ tirpc_svc_1.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_1/tirpc_svc_1 tirpc_svc_11.c: In function 'main': tirpc_svc_11.c:46:14: warning: unused parameter 'argn' [-Wunused-parameter] 46 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11 rpc_svc_1.c: In function 'main': rpc_svc_1.c:62:14: warning: unused parameter 'argn' [-Wunused-parameter] 62 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_1.c: In function 'simplePing': rpc_svc_1.c:96:53: warning: unused parameter 'transp' [-Wunused-parameter] 96 | char *simplePing(union u_argument *inVar, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'svc_getcaller_test': rpc_svc_1.c:109:12: warning: assignment to 'struct sockaddr_in *' from incompatible pointer type 'struct sockaddr_in6 *' [-Wincompatible-pointer-types] 109 | sa = svc_getcaller(transp); | ^ rpc_svc_1.c:103:44: warning: unused parameter 'inVar' [-Wunused-parameter] 103 | char *svc_getcaller_test(union u_argument *inVar, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~~~^~~~~ rpc_svc_1.c: In function 'intTestProc': rpc_svc_1.c:116:51: warning: unused parameter 'transp' [-Wunused-parameter] 116 | char *intTestProc(union u_argument *in, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'lngTestProc': rpc_svc_1.c:126:51: warning: unused parameter 'transp' [-Wunused-parameter] 126 | char *lngTestProc(union u_argument *in, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'dblTestProc': rpc_svc_1.c:136:51: warning: unused parameter 'transp' [-Wunused-parameter] 136 | char *dblTestProc(union u_argument *in, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'strTestProc': rpc_svc_1.c:146:51: warning: unused parameter 'transp' [-Wunused-parameter] 146 | char *strTestProc(union u_argument *in, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'rcp_service': rpc_svc_1.c:221:25: warning: 'why' may be used uninitialized [-Wmaybe-uninitialized] 221 | svcerr_auth(transp, why); | ^~~~~~~~~~~~~~~~~~~~~~~~ rpc_svc_1.c:187:24: note: 'why' was declared here 187 | enum auth_stat why; | ^~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/rpc_svc_1 tirpc_authsys_create.c: In function 'main': tirpc_authsys_create.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/tirpc_authsys_create tirpc_toplevel_clnt_call_dataint.c: In function 'main': tirpc_toplevel_clnt_call_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_toplevel_clnt_call.c: In function 'main': tirpc_toplevel_clnt_call.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_toplevel_clnt_call_complex.c: In function 'main': tirpc_toplevel_clnt_call_complex.c:112:14: warning: unused parameter 'argn' [-Wunused-parameter] 112 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_dataint tirpc_toplevel_clnt_call_mt.c: In function 'main': tirpc_toplevel_clnt_call_mt.c:84:14: warning: unused parameter 'argn' [-Wunused-parameter] 84 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_complex tirpc_toplevel_clnt_call_performance.c: In function 'main': tirpc_toplevel_clnt_call_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_toplevel_clnt_call_scalability.c: In function 'main': tirpc_toplevel_clnt_call_scalability.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_mt tirpc_toplevel_clnt_call_stress.c: In function 'main': tirpc_toplevel_clnt_call_stress.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_scalability tirpc_clnt_control_limits.c: In function 'main': tirpc_clnt_control_limits.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_control.c: In function 'main': tirpc_clnt_control.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create_limits tirpc_svc_destroy.c: In function 'main': tirpc_svc_destroy.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_destroy.c: In function 'exm_proc': tirpc_svc_destroy.c:86:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 86 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_destroy.c:86:55: warning: unused parameter 'transp' [-Wunused-parameter] 86 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_destroy/tirpc_svc_destroy tirpc_rpc_broadcast.c: In function 'eachresult': tirpc_rpc_broadcast.c:38:22: warning: unused parameter 'out' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast.c:38:47: warning: unused parameter 'addr' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast.c: In function 'main': tirpc_rpc_broadcast.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_dataint.c: In function 'eachresult': tirpc_rpc_broadcast_dataint.c:41:22: warning: unused parameter 'out' [-Wunused-parameter] 41 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_dataint.c:41:47: warning: unused parameter 'addr' [-Wunused-parameter] 41 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_dataint.c: In function 'main': tirpc_rpc_broadcast_dataint.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_complex.c: In function 'eachResult': tirpc_rpc_broadcast_complex.c:42:25: warning: unused parameter 'out' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_complex.c:42:50: warning: unused parameter 'addr' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_complex.c: In function 'main': tirpc_rpc_broadcast_complex.c:52:14: warning: unused parameter 'argn' [-Wunused-parameter] 52 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_dataint tirpc_rpc_broadcast_performance.c: In function 'eachresult': tirpc_rpc_broadcast_performance.c:40:22: warning: unused parameter 'out' [-Wunused-parameter] 40 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_performance.c:40:47: warning: unused parameter 'addr' [-Wunused-parameter] 40 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_performance.c: In function 'main': tirpc_rpc_broadcast_performance.c:85:14: warning: unused parameter 'argn' [-Wunused-parameter] 85 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_mt.c: In function 'eachresult': tirpc_rpc_broadcast_mt.c:46:22: warning: unused parameter 'out' [-Wunused-parameter] 46 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_mt.c:46:47: warning: unused parameter 'addr' [-Wunused-parameter] 46 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_mt.c: In function 'main': tirpc_rpc_broadcast_mt.c:75:14: warning: unused parameter 'argn' [-Wunused-parameter] 75 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_scalability.c: In function 'eachresult': tirpc_rpc_broadcast_scalability.c:48:22: warning: unused parameter 'out' [-Wunused-parameter] 48 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_scalability.c:48:47: warning: unused parameter 'addr' [-Wunused-parameter] 48 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_scalability.c: In function 'main': tirpc_rpc_broadcast_scalability.c:74:14: warning: unused parameter 'argn' [-Wunused-parameter] 74 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_mt tirpc_rpc_broadcast_stress.c: In function 'eachresult': tirpc_rpc_broadcast_stress.c:38:22: warning: unused parameter 'out' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_stress.c:38:47: warning: unused parameter 'addr' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_stress.c: In function 'main': tirpc_rpc_broadcast_stress.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_scalability CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create_default/tirpc_authsys_create_default tirpc_rpc_call_dataint.c: In function 'main': tirpc_rpc_call_dataint.c:62:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 62 | enum clnt_stat rslt; | ^~~~ tirpc_rpc_call_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_dataint tirpc_rpc_call_complex.c: In function 'main': tirpc_rpc_call_complex.c:100:14: warning: unused parameter 'argn' [-Wunused-parameter] 100 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_call.c: In function 'main': tirpc_rpc_call.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_call_mt.c: In function 'main': tirpc_rpc_call_mt.c:74:14: warning: unused parameter 'argn' [-Wunused-parameter] 74 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_complex tirpc_rpc_call_performance.c: In function 'main': tirpc_rpc_call_performance.c:80:14: warning: unused parameter 'argn' [-Wunused-parameter] 80 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_mt tirpc_rpc_call_scalability.c: In function 'main': tirpc_rpc_call_scalability.c:67:14: warning: unused parameter 'argn' [-Wunused-parameter] 67 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_call_stress.c: In function 'main': tirpc_rpc_call_stress.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_scalability CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress tirpc_svc_create.c: In function 'main': tirpc_svc_create.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_create.c: In function 'exm_proc': tirpc_svc_create.c:79:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 79 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_create.c:79:55: warning: unused parameter 'transp' [-Wunused-parameter] 79 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_create/tirpc_svc_create tirpc_clnt_destroy.c: In function 'main': tirpc_clnt_destroy.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_destroy/tirpc_clnt_destroy tirpc_clnt_pcreateerror.c: In function 'main': tirpc_clnt_pcreateerror.c:46:17: warning: variable 'clnt' set but not used [-Wunused-but-set-variable] 46 | CLIENT *clnt = NULL; | ^~~~ tirpc_clnt_pcreateerror.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_pcreateerror/tirpc_clnt_pcreateerror tirpc_rpc_broadcast_exp_dataint.c: In function 'eachresult': tirpc_rpc_broadcast_exp_dataint.c:41:22: warning: unused parameter 'out' [-Wunused-parameter] 41 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_dataint.c:41:47: warning: unused parameter 'addr' [-Wunused-parameter] 41 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_dataint.c: In function 'main': tirpc_rpc_broadcast_exp_dataint.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_dataint.c:108:12: warning: 'lngRec' is used uninitialized [-Wuninitialized] 108 | if (lngSnd != lngRec) | ^ tirpc_rpc_broadcast_exp_dataint.c:68:14: note: 'lngRec' was declared here 68 | long lngRec; | ^~~~~~ tirpc_rpc_broadcast_exp_dataint.c:121:12: warning: 'dblRec' is used uninitialized [-Wuninitialized] 121 | if (dblSnd != dblRec) | ^ tirpc_rpc_broadcast_exp_dataint.c:67:16: note: 'dblRec' was declared here 67 | double dblRec; | ^~~~~~ tirpc_rpc_broadcast_exp.c: In function 'eachresult': tirpc_rpc_broadcast_exp.c:38:22: warning: unused parameter 'out' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp.c:38:47: warning: unused parameter 'addr' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp.c: In function 'main': tirpc_rpc_broadcast_exp.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_complex.c: In function 'eachResult': tirpc_rpc_broadcast_exp_complex.c:42:25: warning: unused parameter 'out' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_complex.c:42:50: warning: unused parameter 'addr' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_complex.c: In function 'main': tirpc_rpc_broadcast_exp_complex.c:52:14: warning: unused parameter 'argn' [-Wunused-parameter] 52 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp tirpc_rpc_broadcast_exp_limits.c: In function 'eachresult': tirpc_rpc_broadcast_exp_limits.c:45:22: warning: unused parameter 'out' [-Wunused-parameter] 45 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_limits.c:45:47: warning: unused parameter 'addr' [-Wunused-parameter] 45 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_limits.c: In function 'main': tirpc_rpc_broadcast_exp_limits.c:51:14: warning: unused parameter 'argn' [-Wunused-parameter] 51 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_complex tirpc_rpc_broadcast_exp_mt.c: In function 'eachresult': tirpc_rpc_broadcast_exp_mt.c:46:22: warning: unused parameter 'out' [-Wunused-parameter] 46 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_mt.c:46:47: warning: unused parameter 'addr' [-Wunused-parameter] 46 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_mt.c: In function 'main': tirpc_rpc_broadcast_exp_mt.c:78:14: warning: unused parameter 'argn' [-Wunused-parameter] 78 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_limits tirpc_rpc_broadcast_exp_performance.c: In function 'eachresult': tirpc_rpc_broadcast_exp_performance.c:40:22: warning: unused parameter 'out' [-Wunused-parameter] 40 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_performance.c:40:47: warning: unused parameter 'addr' [-Wunused-parameter] 40 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_performance.c: In function 'main': tirpc_rpc_broadcast_exp_performance.c:85:14: warning: unused parameter 'argn' [-Wunused-parameter] 85 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_scalability.c: In function 'eachresult': tirpc_rpc_broadcast_exp_scalability.c:48:22: warning: unused parameter 'out' [-Wunused-parameter] 48 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_scalability.c:48:47: warning: unused parameter 'addr' [-Wunused-parameter] 48 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_scalability.c: In function 'main': tirpc_rpc_broadcast_exp_scalability.c:74:14: warning: unused parameter 'argn' [-Wunused-parameter] 74 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_mt CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_performance tirpc_rpc_broadcast_exp_stress.c: In function 'eachresult': tirpc_rpc_broadcast_exp_stress.c:38:22: warning: unused parameter 'out' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_stress.c:38:47: warning: unused parameter 'addr' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_stress.c: In function 'main': tirpc_rpc_broadcast_exp_stress.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_scalability tirpc_clnt_perrno_complex.c: In function 'main': tirpc_clnt_perrno_complex.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ In file included from /home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc/rpc/rpc.h:49, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from tirpc_clnt_perrno.c:32: tirpc_clnt_perrno.c: In function 'main': tirpc_clnt_perrno.c:69:52: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 69 | rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in | ^ /home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc/rpc/clnt.h:166:45: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ tirpc_clnt_perrno.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno_complex tirpc_clnt_create.c: In function 'main': tirpc_clnt_create.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create/tirpc_clnt_create tirpc_svcerr_weakauth.c: In function 'main': tirpc_svcerr_weakauth.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/tirpc_svcerr_weakauth tirpc_svc_unreg_stress.c: In function 'main': tirpc_svc_unreg_stress.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_unreg_stress.c: In function 'exm_proc': tirpc_svc_unreg_stress.c:90:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 90 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_unreg_stress.c:90:55: warning: unused parameter 'transp' [-Wunused-parameter] 90 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ tirpc_svc_unreg.c: In function 'main': tirpc_svc_unreg.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_unreg.c: In function 'exm_proc': tirpc_svc_unreg.c:84:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 84 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_unreg.c:84:55: warning: unused parameter 'transp' [-Wunused-parameter] 84 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ tirpc_svc_unreg_mt.c: In function 'main': tirpc_svc_unreg_mt.c:78:14: warning: unused parameter 'argn' [-Wunused-parameter] 78 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_unreg_mt.c: In function 'exm_proc': tirpc_svc_unreg_mt.c:148:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 148 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_unreg_mt.c:148:55: warning: unused parameter 'transp' [-Wunused-parameter] 148 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_mt tirpc_bottomlevel_clnt_call.c: In function 'main': tirpc_bottomlevel_clnt_call.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_bottomlevel_clnt_call_dataint.c: In function 'main': tirpc_bottomlevel_clnt_call_dataint.c:60:24: warning: variable 'cs' set but not used [-Wunused-but-set-variable] 60 | enum clnt_stat cs; | ^~ tirpc_bottomlevel_clnt_call_dataint.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_bottomlevel_clnt_call_complex.c: In function 'main': tirpc_bottomlevel_clnt_call_complex.c:140:14: warning: unused parameter 'argn' [-Wunused-parameter] 140 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_complex tirpc_bottomlevel_clnt_call_mt.c: In function 'main': tirpc_bottomlevel_clnt_call_mt.c:110:14: warning: unused parameter 'argn' [-Wunused-parameter] 110 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_bottomlevel_clnt_call_performance.c: In function 'main': tirpc_bottomlevel_clnt_call_performance.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_mt tirpc_bottomlevel_clnt_call_scalability.c: In function 'main': tirpc_bottomlevel_clnt_call_scalability.c:115:14: warning: unused parameter 'argn' [-Wunused-parameter] 115 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_performance tirpc_bottomlevel_clnt_call_stress.c: In function 'main': tirpc_bottomlevel_clnt_call_stress.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_scalability tirpc_svcerr_noprog.c: In function 'main': tirpc_svcerr_noprog.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/tirpc_svcerr_noprog tirpc_rpcb_rmtcall_complex.c: In function 'main': tirpc_rpcb_rmtcall_complex.c:133:14: warning: unused parameter 'argn' [-Wunused-parameter] 133 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpcb_rmtcall_dataint.c: In function 'main': tirpc_rpcb_rmtcall_dataint.c:60:24: warning: variable 'cs' set but not used [-Wunused-but-set-variable] 60 | enum clnt_stat cs; | ^~ tirpc_rpcb_rmtcall_dataint.c:56:17: warning: unused variable 'client' [-Wunused-variable] 56 | CLIENT *client = NULL; | ^~~~~~ tirpc_rpcb_rmtcall_dataint.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpcb_rmtcall.c: In function 'main': tirpc_rpcb_rmtcall.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_dataint tirpc_rpcb_rmtcall_performance.c: In function 'main': tirpc_rpcb_rmtcall_performance.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall tirpc_rpcb_rmtcall_mt.c: In function 'main': tirpc_rpcb_rmtcall_mt.c:102:14: warning: unused parameter 'argn' [-Wunused-parameter] 102 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_performance tirpc_rpcb_rmtcall_scalability.c: In function 'main': tirpc_rpcb_rmtcall_scalability.c:100:14: warning: unused parameter 'argn' [-Wunused-parameter] 100 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_mt tirpc_rpcb_rmtcall_stress.c: In function 'main': tirpc_rpcb_rmtcall_stress.c:54:17: warning: unused variable 'client' [-Wunused-variable] 54 | CLIENT *client = NULL; | ^~~~~~ tirpc_rpcb_rmtcall_stress.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_scalability tirpc_rpcb_set.c: In function 'main': tirpc_rpcb_set.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_set/tirpc_rpcb_set CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authnone_create/tirpc_authnone_create tirpc_clnt_dg_create_limits.c: In function 'main': tirpc_clnt_dg_create_limits.c:49:14: warning: unused parameter 'argn' [-Wunused-parameter] 49 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_dg_create.c: In function 'main': tirpc_clnt_dg_create.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create tirpc_clnt_create_timed_limits.c: In function 'main': tirpc_clnt_create_timed_limits.c:46:14: warning: unused parameter 'argn' [-Wunused-parameter] 46 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_create_timed.c: In function 'main': tirpc_clnt_create_timed.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed tirpc_svc_reg.c: In function 'main': tirpc_svc_reg.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_reg.c: In function 'exm_proc': tirpc_svc_reg.c:79:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 79 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_reg.c:79:55: warning: unused parameter 'transp' [-Wunused-parameter] 79 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ tirpc_svc_reg_stress.c: In function 'main': tirpc_svc_reg_stress.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_reg_stress.c: In function 'exm_proc': tirpc_svc_reg_stress.c:93:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 93 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_reg_stress.c:93:55: warning: unused parameter 'transp' [-Wunused-parameter] 93 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ tirpc_svc_reg_mt.c: In function 'main': tirpc_svc_reg_mt.c:74:14: warning: unused parameter 'argn' [-Wunused-parameter] 74 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_reg_mt.c: In function 'exm_proc': tirpc_svc_reg_mt.c:144:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 144 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_reg_mt.c:144:55: warning: unused parameter 'transp' [-Wunused-parameter] 144 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt tirpc_svcerr_progvers.c: In function 'main': tirpc_svcerr_progvers.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/tirpc_svcerr_progvers tirpc_clnt_tp_create_timed.c: In function 'main': tirpc_clnt_tp_create_timed.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_tp_create_timed_limits.c: In function 'main': tirpc_clnt_tp_create_timed_limits.c:46:14: warning: unused parameter 'argn' [-Wunused-parameter] 46 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed_limits tirpc_clnt_tli_create.c: In function 'main': tirpc_clnt_tli_create.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_tli_create_limits.c: In function 'main': tirpc_clnt_tli_create_limits.c:49:14: warning: unused parameter 'argn' [-Wunused-parameter] 49 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create_limits tirpc_expertlevel_clnt_call_dataint.c: In function 'main': tirpc_expertlevel_clnt_call_dataint.c:60:24: warning: variable 'cs' set but not used [-Wunused-but-set-variable] 60 | enum clnt_stat cs; | ^~ tirpc_expertlevel_clnt_call_dataint.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_expertlevel_clnt_call.c: In function 'main': tirpc_expertlevel_clnt_call.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_expertlevel_clnt_call_complex.c: In function 'main': tirpc_expertlevel_clnt_call_complex.c:141:14: warning: unused parameter 'argn' [-Wunused-parameter] 141 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_complex tirpc_expertlevel_clnt_call_mt.c: In function 'main': tirpc_expertlevel_clnt_call_mt.c:107:14: warning: unused parameter 'argn' [-Wunused-parameter] 107 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_expertlevel_clnt_call_scalability.c: In function 'main': tirpc_expertlevel_clnt_call_scalability.c:110:14: warning: unused parameter 'argn' [-Wunused-parameter] 110 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_expertlevel_clnt_call_performance.c: In function 'main': tirpc_expertlevel_clnt_call_performance.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_mt tirpc_expertlevel_clnt_call_stress.c: In function 'main': tirpc_expertlevel_clnt_call_stress.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_scalability CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create tirpc_rpcb_getaddr_limits.c: In function 'main': tirpc_rpcb_getaddr_limits.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr_limits tirpc_rpcb_getaddr.c: In function 'main': tirpc_rpcb_getaddr.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create tirpc_clnt_tp_create.c: In function 'main': tirpc_clnt_tp_create.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create/tirpc_clnt_tp_create tirpc_svcerr_systemerr.c: In function 'main': tirpc_svcerr_systemerr.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/tirpc_svcerr_systemerr In file included from /home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc/rpc/rpc.h:49, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from tirpc_clnt_perror.c:32: tirpc_clnt_perror.c: In function 'main': tirpc_clnt_perror.c:69:52: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 69 | rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in | ^ /home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc/rpc/clnt.h:166:45: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ tirpc_clnt_perror.c:52:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 52 | enum clnt_stat rslt; | ^~~~ tirpc_clnt_perror.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_perror_complex.c: In function 'main': tirpc_clnt_perror_complex.c:54:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 54 | enum clnt_stat rslt; | ^~~~ tirpc_clnt_perror_complex.c:53:24: warning: variable 'total_timeout' set but not used [-Wunused-but-set-variable] 53 | struct timeval total_timeout; | ^~~~~~~~~~~~~ tirpc_clnt_perror_complex.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror_complex tirpc_rpcb_getmaps.c: In function 'main': tirpc_rpcb_getmaps.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getmaps/tirpc_rpcb_getmaps tirpc_rpcb_unset.c: In function 'main': tirpc_rpcb_unset.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_unset/tirpc_rpcb_unset tirpc_clnt_vc_create_limits.c: In function 'main': tirpc_clnt_vc_create_limits.c:49:14: warning: unused parameter 'argn' [-Wunused-parameter] 49 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_vc_create.c: In function 'main': tirpc_clnt_vc_create.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create tirpc_interlevel_clnt_call_dataint.c: In function 'main': tirpc_interlevel_clnt_call_dataint.c:56:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 56 | enum clnt_stat rslt; | ^~~~ tirpc_interlevel_clnt_call_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_interlevel_clnt_call_complex.c: In function 'main': tirpc_interlevel_clnt_call_complex.c:123:14: warning: unused parameter 'argn' [-Wunused-parameter] 123 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_interlevel_clnt_call.c: In function 'main': tirpc_interlevel_clnt_call.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_dataint tirpc_interlevel_clnt_call_mt.c: In function 'main': tirpc_interlevel_clnt_call_mt.c:91:14: warning: unused parameter 'argn' [-Wunused-parameter] 91 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_mt CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_complex tirpc_interlevel_clnt_call_performance.c: In function 'main': tirpc_interlevel_clnt_call_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_interlevel_clnt_call_stress.c: In function 'main': tirpc_interlevel_clnt_call_stress.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_interlevel_clnt_call_scalability.c: In function 'main': tirpc_interlevel_clnt_call_scalability.c:92:14: warning: unused parameter 'argn' [-Wunused-parameter] 92 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_scalability tirpc_svc_tp_create.c: In function 'main': tirpc_svc_tp_create.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_tp_create.c: In function 'exm_proc': tirpc_svc_tp_create.c:63:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 63 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_tp_create.c:63:55: warning: unused parameter 'transp' [-Wunused-parameter] 63 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_svc_tp_create/tirpc_svc_tp_create tirpc_rpc_reg_mt.c: In function 'main': tirpc_rpc_reg_mt.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_reg.c: In function 'main': tirpc_rpc_reg.c:45:14: warning: unused parameter 'argn' [-Wunused-parameter] 45 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_reg_stress.c: In function 'main': tirpc_rpc_reg_stress.c:45:14: warning: unused parameter 'argn' [-Wunused-parameter] 45 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt tirpc_svcerr_noproc.c: In function 'main': tirpc_svcerr_noproc.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/tirpc_svcerr_noproc rpc_pmap_getmaps.c: In function 'main': rpc_pmap_getmaps.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getmaps/rpc_pmap_getmaps In file included from /home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc/rpc/rpc.h:49, from rpc_clnt_sperror.c:31: rpc_clnt_sperror.c: In function 'main': rpc_clnt_sperror.c:70:52: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 70 | rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in | ^ /home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc/rpc/clnt.h:166:45: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ rpc_clnt_sperror.c:52:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 52 | enum clnt_stat rslt; | ^~~~ rpc_clnt_sperror.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_sperror/rpc_clnt_sperror rpc_clnt_perrno.c: In function 'main': rpc_clnt_perrno.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_perrno/rpc_clnt_perrno rpc_clnt_destroy.c: In function 'main': rpc_clnt_destroy.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_destroy_stress.c: In function 'main': rpc_clnt_destroy_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_destroy/rpc_clnt_destroy CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_destroy/rpc_clnt_destroy_stress In file included from /home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc/rpc/rpc.h:49, from rpc_clnt_perror.c:31: rpc_clnt_perror.c: In function 'main': rpc_clnt_perror.c:69:52: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 69 | rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in | ^ /home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc/rpc/clnt.h:166:45: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ rpc_clnt_perror.c:52:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 52 | enum clnt_stat rslt; | ^~~~ rpc_clnt_perror.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_perror/rpc_clnt_perror rpc_svc_getargs_dataint.c: In function 'main': rpc_svc_getargs_dataint.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_getargs_client.c: In function 'main': rpc_svc_getargs.c: In function 'main': rpc_svc_getargs_client.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_getargs.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_getargs.c: In function 'simplePing': rpc_svc_getargs.c:87:39: warning: unused parameter 'transp' [-Wunused-parameter] 87 | char *simplePing(int inVar, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs_client CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/metadata' rpc_registerrpc.c: In function 'main': rpc_registerrpc.c:49:14: warning: unused parameter 'argn' [-Wunused-parameter] 49 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_registerrpc/rpc_registerrpc rpc_pmap_unset.c: In function 'main': rpc_pmap_unset.c:49:18: warning: variable 'transp' set but not used [-Wunused-but-set-variable] 49 | SVCXPRT *transp = NULL; | ^~~~~~ rpc_pmap_unset.c:36:14: warning: unused parameter 'argn' [-Wunused-parameter] 36 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_pmap_unset.c:36:26: warning: unused parameter 'argc' [-Wunused-parameter] 36 | int main(int argn, char *argc[]) | ~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_unset/rpc_pmap_unset rpc_svcerr_noprog.c: In function 'main': rpc_svcerr_noprog.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_noprog/rpc_svcerr_noprog rpc_svcraw_create_performance.c: In function 'main': rpc_svcraw_create_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/rpc_svcraw_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/rpc_svcraw_create_performance rpc_clntudp_create_stress.c: In function 'main': rpc_clntudp_create_stress.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clntudp_create_performance.c: In function 'main': rpc_clntudp_create_performance.c:81:14: warning: unused parameter 'argn' [-Wunused-parameter] 81 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clntudp_create.c: In function 'main': rpc_clntudp_create.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/rpc_clntudp_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/rpc_clntudp_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/rpc_clntudp_create_performance rpc_clnt_broadcast_dataint.c: In function 'main': rpc_clnt_broadcast_dataint.c:55:24: warning: unused variable 'cs' [-Wunused-variable] 55 | enum clnt_stat cs; | ^~ rpc_clnt_broadcast_dataint.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast_dataint.c: In function 'eachResult': rpc_clnt_broadcast_dataint.c:143:47: warning: unused parameter 'addr' [-Wunused-parameter] 143 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ rpc_clnt_broadcast_complex.c: In function 'eachResult': rpc_clnt_broadcast_complex.c:42:25: warning: unused parameter 'out' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast_complex.c:42:50: warning: unused parameter 'addr' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ rpc_clnt_broadcast_complex.c: In function 'main': rpc_clnt_broadcast_complex.c:52:14: warning: unused parameter 'argn' [-Wunused-parameter] 52 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast.c: In function 'main': rpc_clnt_broadcast.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast.c: In function 'eachResult': rpc_clnt_broadcast.c:77:22: warning: unused parameter 'out' [-Wunused-parameter] 77 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast.c:77:47: warning: unused parameter 'addr' [-Wunused-parameter] 77 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ rpc_clnt_broadcast_performance.c: In function 'main': rpc_clnt_broadcast_performance.c:81:14: warning: unused parameter 'argn' [-Wunused-parameter] 81 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast_performance.c: In function 'eachResult': rpc_clnt_broadcast_performance.c:153:22: warning: unused parameter 'out' [-Wunused-parameter] 153 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast_performance.c:153:47: warning: unused parameter 'addr' [-Wunused-parameter] 153 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast rpc_clnt_broadcast_stress.c: In function 'main': rpc_clnt_broadcast_stress.c:68:37: warning: cast between incompatible function types from 'void (*)(char *, struct sockaddr_in *)' to 'bool_t (*)(char *, ...)' {aka 'int (*)(char *, ...)'} [-Wcast-function-type] 68 | (resultproc_t) eachResult); | ^ rpc_clnt_broadcast_stress.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast_stress.c: In function 'eachResult': rpc_clnt_broadcast_stress.c:88:23: warning: unused parameter 'out' [-Wunused-parameter] 88 | void eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast_stress.c:88:48: warning: unused parameter 'addr' [-Wunused-parameter] 88 | void eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ rpc_clnt_broadcast_scalability.c: In function 'main': rpc_clnt_broadcast_scalability.c:81:14: warning: unused parameter 'argn' [-Wunused-parameter] 81 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast_scalability.c: In function 'eachResult': rpc_clnt_broadcast_scalability.c:150:22: warning: unused parameter 'out' [-Wunused-parameter] 150 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast_scalability.c:150:47: warning: unused parameter 'addr' [-Wunused-parameter] 150 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_scalability CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_auth_destroy/rpc_auth_destroy rpc_svcerr_noproc.c: In function 'main': rpc_svcerr_noproc.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_noproc/rpc_svcerr_noproc rpc_svc_freeargs_svc.c: In function 'main': rpc_svc_freeargs_svc.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_freeargs_svc.c: In function 'simplePing': rpc_svc_freeargs_svc.c:87:39: warning: unused parameter 'transp' [-Wunused-parameter] 87 | char *simplePing(int inVar, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_freeargs.c: In function 'main': rpc_svc_freeargs.c:47:13: warning: unused variable 'test_status' [-Wunused-variable] 47 | int test_status = 1; //Default test result set to FAILED | ^~~~~~~~~~~ rpc_svc_freeargs.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs_svc CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs rpc_clnt_create_stress.c: In function 'main': rpc_clnt_create_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_create.c: In function 'main': rpc_clnt_create.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_create/rpc_clnt_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_create/rpc_clnt_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/rpc_authunix_create rpc_pmap_rmtcall.c: In function 'main': rpc_pmap_rmtcall.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_pmap_rmtcall_performance.c: In function 'main': rpc_pmap_rmtcall_performance.c:84:14: warning: unused parameter 'argn' [-Wunused-parameter] 84 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_pmap_rmtcall_stress.c: In function 'main': rpc_pmap_rmtcall_stress.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_performance rpc_pmap_set.c: In function 'main': rpc_pmap_set.c:49:18: warning: variable 'transp' set but not used [-Wunused-but-set-variable] 49 | SVCXPRT *transp = NULL; | ^~~~~~ rpc_pmap_set.c:36:14: warning: unused parameter 'argn' [-Wunused-parameter] 36 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_set/rpc_pmap_set rpc_clntudp_bufcreate_limits.c: In function 'main': rpc_clntudp_bufcreate_limits.c:51:14: warning: unused parameter 'argn' [-Wunused-parameter] 51 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clntudp_bufcreate.c: In function 'main': rpc_clntudp_bufcreate.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/rpc_clntudp_bufcreate_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/rpc_clntudp_bufcreate rpc_svcerr_auth.c: In function 'main': rpc_svcerr_auth.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_auth/rpc_svcerr_auth rpc_svc_unregister.c: In function 'main': rpc_svc_unregister.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_unregister.c: In function 'dispatch': rpc_svc_unregister.c:81:31: warning: unused parameter 'request' [-Wunused-parameter] 81 | void dispatch(struct svc_req *request, SVCXPRT * xprt) | ~~~~~~~~~~~~~~~~^~~~~~~ rpc_svc_unregister.c:81:50: warning: unused parameter 'xprt' [-Wunused-parameter] 81 | void dispatch(struct svc_req *request, SVCXPRT * xprt) | ~~~~~~~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_unregister/rpc_svc_unregister rpc_clnt_call_dataint.c: In function 'main': rpc_clnt_call_dataint.c:55:24: warning: variable 'cs' set but not used [-Wunused-but-set-variable] 55 | enum clnt_stat cs; | ^~ rpc_clnt_call_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_call_complex.c: In function 'main': rpc_clnt_call_complex.c:61:14: warning: unused parameter 'argn' [-Wunused-parameter] 61 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_call_performance.c: In function 'main': rpc_clnt_call_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_call.c: In function 'main': rpc_clnt_call.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_performance rpc_clnt_call_stress.c: In function 'main': rpc_clnt_call_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_call_scalability.c: In function 'main': rpc_clnt_call_scalability.c:53:14: warning: unused parameter 'argn' [-Wunused-parameter] 53 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_scalability rpc_clnt_spcreateerror.c: In function 'main': rpc_clnt_spcreateerror.c:45:17: warning: variable 'clnt' set but not used [-Wunused-but-set-variable] 45 | CLIENT *clnt = NULL; | ^~~~ rpc_clnt_spcreateerror.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_spcreateerror/rpc_clnt_spcreateerror rpc_clnt_freeres.c: In function 'main': rpc_clnt_freeres.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_freeres/rpc_clnt_freeres rpc_clnt_sperrno.c: In function 'main': rpc_clnt_sperrno.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_sperrno/rpc_clnt_sperrno rpc_svcudp_bufcreate_limits.c: In function 'main': rpc_svcudp_bufcreate_limits.c:57:13: warning: unused variable 'progNum' [-Wunused-variable] 57 | int progNum = atoi(argc[2]); | ^~~~~~~ rpc_svcudp_bufcreate_limits.c:46:14: warning: unused parameter 'argn' [-Wunused-parameter] 46 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svcudp_bufcreate.c: In function 'main': rpc_svcudp_bufcreate.c:48:13: warning: unused variable 'run_mode' [-Wunused-variable] 48 | int run_mode = 0; | ^~~~~~~~ rpc_svcudp_bufcreate.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svcudp_bufcreate.c:39:26: warning: unused parameter 'argc' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_bufcreate/rpc_svcudp_bufcreate_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_bufcreate/rpc_svcudp_bufcreate rpc_clnt_pcreateerror.c: In function 'main': rpc_clnt_pcreateerror.c:45:17: warning: variable 'clnt' set but not used [-Wunused-but-set-variable] 45 | CLIENT *clnt = NULL; | ^~~~ rpc_clnt_pcreateerror.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_pcreateerror/rpc_clnt_pcreateerror rpc_xprt_unregister.c: In function 'main': rpc_xprt_unregister.c:48:13: warning: unused variable 'run_mode' [-Wunused-variable] 48 | int run_mode = 0; | ^~~~~~~~ rpc_xprt_unregister.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_xprt_unregister.c:39:26: warning: unused parameter 'argc' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_unregister/rpc_xprt_unregister rpc_svcerr_systemerr.c: In function 'main': rpc_svcerr_systemerr.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_systemerr/rpc_svcerr_systemerr rpc_clnt_control.c: In function 'main': rpc_clnt_control.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_control_dataint.c: In function 'main': rpc_clnt_control_dataint.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/rpc_clnt_control CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/rpc_clnt_control_dataint rpc_svctcp_create_stress.c: In function 'main': rpc_svctcp_create_stress.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svctcp_create_performance.c: In function 'main': rpc_svctcp_create_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create_performance rpc_svcerr_weakauth.c: In function 'main': rpc_svcerr_weakauth.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_weakauth/rpc_svcerr_weakauth rpc_svc_getcaller.c: In function 'main': rpc_svc_getcaller.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getcaller/rpc_svc_getcaller rpc_svc_register.c: In function 'main': rpc_svc_register.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_register.c: In function 'dispatch': rpc_svc_register.c:77:31: warning: unused parameter 'request' [-Wunused-parameter] 77 | void dispatch(struct svc_req *request, SVCXPRT * xprt) | ~~~~~~~~~~~~~~~~^~~~~~~ rpc_svc_register.c:77:50: warning: unused parameter 'xprt' [-Wunused-parameter] 77 | void dispatch(struct svc_req *request, SVCXPRT * xprt) | ~~~~~~~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_register/rpc_svc_register CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create_default/rpc_authunix_create_default rpc_clnttcp_create.c: In function 'main': rpc_clnttcp_create.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnttcp_create_performance.c: In function 'main': rpc_clnttcp_create_performance.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnttcp_create_limits.c: In function 'main': rpc_clnttcp_create_limits.c:51:14: warning: unused parameter 'argn' [-Wunused-parameter] 51 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnttcp_create_stress.c: In function 'main': rpc_clnttcp_create_stress.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/rpc_clnttcp_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/rpc_clnttcp_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/rpc_clnttcp_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/rpc_clnttcp_create_performance rpc_pmap_getport.c: In function 'main': rpc_pmap_getport.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/rpc_pmap_getport CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_register/rpc_xprt_register rpc_clntraw_create_complex.c: In function 'main': rpc_clntraw_create_complex.c:40:14: warning: unused parameter 'argc' [-Wunused-parameter] 40 | int main(int argc, char **argv) | ~~~~^~~~ rpc_clntraw_create_complex.c: In function 'serverDisp': rpc_clntraw_create_complex.c:131:43: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 131 | if (svc_sendreply(transp, (xdrproc_t) xdr_void, 0) == FALSE) { | ^ rpc_clntraw_create.c: In function 'main': rpc_clntraw_create.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clntraw_create_performance.c: In function 'main': rpc_clntraw_create_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/rpc_clntraw_create_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/rpc_clntraw_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/rpc_clntraw_create_performance rpc_clnt_geterr.c: In function 'main': rpc_clnt_geterr.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_geterr/rpc_clnt_geterr CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcfd_create/rpc_svcfd_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcfd_create/rpc_svcfd_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authnone_create/rpc_authnone_create rpc_svc_sendreply_client.c: In function 'main': rpc_svc_sendreply_client.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_sendreply.c: In function 'main': rpc_svc_sendreply.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_sendreply.c: In function 'simplePing': rpc_svc_sendreply.c:87:39: warning: unused parameter 'transp' [-Wunused-parameter] 87 | char *simplePing(int inVar, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply_client CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_get_myaddress/rpc_get_myaddress rpc_svcerr_progvers.c: In function 'main': rpc_svcerr_progvers.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_progvers/rpc_svcerr_progvers CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/rpc_svcudp_create rpc_svcudp_create_performance.c: In function 'main': rpc_svcudp_create_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svcudp_create_stress.c: In function 'main': rpc_svcudp_create_stress.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/rpc_svcudp_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/rpc_svcudp_create_performance rpc_callrpc_scalability.c: In function 'main': rpc_callrpc_scalability.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_callrpc_performance.c: In function 'main': rpc_callrpc_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_callrpc_dataint.c: In function 'main': rpc_callrpc_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_callrpc.c: In function 'main': rpc_callrpc.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_scalability rpc_callrpc_stress.c: In function 'main': rpc_callrpc_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_stress rpc_svc_destroy_stress.c: In function 'main': rpc_svc_destroy_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svc_destroy/rpc_svc_destroy CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svc_destroy/rpc_svc_destroy_stress tirpc_svc_2.c: In function 'main': tirpc_svc_2.c:51:16: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 51 | bool_t rslt; | ^~~~ tirpc_svc_2.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_2/tirpc_svc_2 tirpc_svc_3.c: In function 'main': tirpc_svc_3.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3 tirpc_svc_4.c: In function 'main': tirpc_svc_4.c:53:23: warning: unused variable 'svcaddr' [-Wunused-variable] 53 | struct netbuf svcaddr; | ^~~~~~~ tirpc_svc_4.c:49:16: warning: unused variable 'rslt' [-Wunused-variable] 49 | bool_t rslt; | ^~~~ tirpc_svc_4.c:47:13: warning: unused variable 'run_mode' [-Wunused-variable] 47 | int run_mode = 0; | ^~~~~~~~ tirpc_svc_4.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4 tirpc_svc_5.c: In function 'main': tirpc_svc_5.c:60:14: warning: unused parameter 'argn' [-Wunused-parameter] 60 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5 rpc_svc_2.c: In function 'main': rpc_svc_2.c:56:14: warning: unused parameter 'argn' [-Wunused-parameter] 56 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_2.c: In function 'calcProc': rpc_svc_2.c:99:44: warning: unused parameter 'svc' [-Wunused-parameter] 99 | char *calcProc(struct datas *dt, SVCXPRT * svc) | ~~~~~~~~~~^~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2 make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. CC testcases/network/nfs/nfslock01/nfs_flock_func.o CC testcases/network/nfs/nfslock01/nfs_flock_dgen CC testcases/network/nfs/nfslock01/nfs_flock /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from nfs05_make_tree.c:51: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/nfs/nfs_stress/nfs04_create_file CC testcases/network/nfs/nfs_stress/nfs01_open_files CC testcases/network/nfs/nfs_stress/nfs05_make_tree make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. ltpClient.c: In function 'ping_network': ltpClient.c:530:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 530 | for (i = 0; i < sizeof(rawPacket.msg) - 1; i++) { | ^ ltpClient.c: In function 'ltp_traceroute': ltpClient.c:603:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 603 | for (i = 0; i < sizeof(rawTracePacket.msg) - 1; i++) { | ^ ltpServer.c: In function 'ltp_udp_server_queue': ltpServer.c:223:34: warning: unused parameter 'junk' [-Wunused-parameter] 223 | void *ltp_udp_server_queue(void *junk) | ~~~~~~^~~~ ltpServer.c: In function 'ltp_tcp_server_queue': ltpServer.c:263:34: warning: unused parameter 'junk' [-Wunused-parameter] 263 | void *ltp_tcp_server_queue(void *junk) | ~~~~~~^~~~ ltpServer.c: In function 'ltp_multi_server_queue': ltpServer.c:387:36: warning: unused parameter 'junk' [-Wunused-parameter] 387 | void *ltp_multi_server_queue(void *junk) | ~~~~~~^~~~ In file included from ../../../include/tst_test.h:180, from vsock01.c:29: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ltpClient.c: In function 'main': ltpClient.c:110:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 110 | strncpy(progName, argv[0], MAX_MSG_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ltpClient.c:111:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 111 | strncpy(hostName, argv[1], MAX_MSG_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ltpClient.c:112:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 112 | strncpy(traceName, argv[2], MAX_MSG_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/network/sockets/ltpClient CC testcases/network/sockets/ltpServer CC testcases/network/sockets/vsock01 make[4]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from can_bcm01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/can/cve/can_bcm01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from can_rcv_own_msgs.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from can_filter.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/can/filter-tests/can_filter CC testcases/network/can/filter-tests/can_rcv_own_msgs make[4]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. In file included from ../../../include/tst_test.h:180, from sctp_big_chunk.c:25: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/sctp/sctp_big_chunk make[4]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. In file included from ../../../include/tst_test.h:180, from netstress.c:32: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/netstress/netstress CC testcases/network/multicast/mc_opts/mc_verify_opts_error CC testcases/network/multicast/mc_opts/mc_verify_opts CC testcases/network/multicast/mc_commo/mc_send CC testcases/network/multicast/mc_commo/mc_recv make[5]: Nothing to be done for 'all'. CC testcases/network/multicast/mc_member/mc_member_test make[6]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. In file included from ../../../include/tst_test.h:180, from fanout01.c:21: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/network/packet/fanout01 make[4]: Nothing to be done for 'all'. CC testcases/network/nfsv4/acl/acl1 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. netsync.c: In function 'getConfiguration': netsync.c:189:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 189 | strncpy(fname, p, i); | ^~~~~~~~~~~~~~~~~~~~ netsync.c:188:13: note: length computed here 188 | i = strlen(p); | ^~~~~~~~~ CC testcases/network/nfsv4/locks/netsync.o CC testcases/network/nfsv4/locks/locktests.o LD testcases/network/nfsv4/locks/locktests /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from listxattr01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from listxattr03.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from listxattr02.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/listxattr/listxattr01 CC testcases/kernel/syscalls/listxattr/listxattr03 CC testcases/kernel/syscalls/listxattr/listxattr02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from setresgid02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setresgid03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/setresgid/setresgid01.o CC testcases/kernel/syscalls/setresgid/setresgid01_16.o CC testcases/kernel/syscalls/setresgid/setresgid02.o CC testcases/kernel/syscalls/setresgid/setresgid02_16.o In file included from ../../../../include/tst_test.h:180, from setresgid02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setresgid/setresgid03.o CC testcases/kernel/syscalls/setresgid/setresgid03_16.o CC testcases/kernel/syscalls/setresgid/setresgid04.o In file included from ../../../../include/tst_test.h:180, from setresgid03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setresgid/setresgid04_16.o LD testcases/kernel/syscalls/setresgid/setresgid01 LD testcases/kernel/syscalls/setresgid/setresgid02 LD testcases/kernel/syscalls/setresgid/setresgid03 LD testcases/kernel/syscalls/setresgid/setresgid04 LD testcases/kernel/syscalls/setresgid/setresgid01_16 LD testcases/kernel/syscalls/setresgid/setresgid03_16 LD testcases/kernel/syscalls/setresgid/setresgid02_16 LD testcases/kernel/syscalls/setresgid/setresgid04_16 rm setresgid01_16.o setresgid03.o setresgid02_16.o setresgid03_16.o setresgid04.o setresgid04_16.o setresgid01.o setresgid02.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from munlockall01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/munlockall/munlockall01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from accept02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from accept01.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from accept03.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/accept/accept01 CC testcases/kernel/syscalls/accept/accept02 CC testcases/kernel/syscalls/accept/accept03 test_func.c: In function 'test_func1': test_func.c:41:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 41 | test_func1(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:42:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 42 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:42:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 42 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func3': test_func.c:76:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 76 | test_func3(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:77:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 77 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:77:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 77 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func4': test_func.c:101:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 101 | test_func4(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:102:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 102 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:102:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 102 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func5': test_func.c:114:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 114 | test_func5(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:115:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 115 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func7': test_func.c:137:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 137 | test_func7(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:138:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 138 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:138:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 138 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func8': test_func.c:168:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 168 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func9': test_func.c:248:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 248 | test_func9(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:249:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 249 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func10': test_func.c:283:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 283 | test_func10(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:284:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 284 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func11': test_func.c:317:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 317 | test_func11(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:318:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 318 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func12': test_func.c:351:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 351 | test_func12(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:352:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 352 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func13': test_func.c:383:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 383 | test_func13(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:384:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 384 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func14': test_func.c:418:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 418 | test_func14(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:419:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 419 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func15': test_func.c:453:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 453 | test_func15(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:454:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 454 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func16': test_func.c:468:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 468 | test_func16(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:469:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 469 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c: In function 'test_func17': test_func.c:497:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 497 | test_func17(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:498:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 498 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func18': test_func.c:510:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 510 | test_func18(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:511:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 511 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func19': test_func.c:522:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 522 | test_func19(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:523:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 523 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func20': test_func.c:546:25: warning: unused parameter 'path_name' [-Wunused-parameter] 546 | test_func20(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~^~~~~~~~~ test_func.c:546:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 546 | test_func20(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:547:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 547 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:547:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 547 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func21': test_func.c:553:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 553 | test_func21(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:554:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 554 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ tools.c: In function 'nftw_fn': tools.c:158:25: warning: unused parameter 'path' [-Wunused-parameter] 158 | int nftw_fn(const char *path, const struct stat *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~^~~~ test_func.c:554:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 554 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ tools.c:158:50: warning: unused parameter 'st' [-Wunused-parameter] 158 | int nftw_fn(const char *path, const struct stat *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~~~~~~~~^~ tools.c:158:58: warning: unused parameter 'ival' [-Wunused-parameter] 158 | int nftw_fn(const char *path, const struct stat *st, int ival, struct FTW *FTWS) | ~~~~^~~~ tools.c:158:76: warning: unused parameter 'FTWS' [-Wunused-parameter] 158 | int nftw_fn(const char *path, const struct stat *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func22': test_func.c:581:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 581 | test_func22(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ tools.c: In function 'do_info': tools.c:250:26: warning: unused parameter 'path_name' [-Wunused-parameter] 250 | void do_info(const char *path_name) | ~~~~~~~~~~~~^~~~~~~~~ test_func.c:582:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 582 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c: In function 'test_func23': test_func.c:613:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 613 | test_func23(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:614:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 614 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ CC testcases/kernel/syscalls/nftw/nftw.o CC testcases/kernel/syscalls/nftw/tools.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h lib.c: In function 'get_long_name_buffer': lib.c:65:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 65 | if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib.c:72:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 72 | if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { | ^~ lib.c: In function 'test_ENAMETOOLONG_path': lib.c:183:60: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 183 | if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib.c:208:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 208 | while (pathLength < pcPathMax) { | ^ lib.c:219:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 219 | while (pathLength <= pcPathMax) { | ^~ lib.c:226:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 226 | if (pathLength != pcPathMax + 1) { | ^~ CC testcases/kernel/syscalls/nftw/test_func.o make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/nftw/test.o CC testcases/kernel/syscalls/nftw/nftw64.o tools64.c: In function 'nftw64_fn': tools64.c:158:23: warning: unused parameter 'path' [-Wunused-parameter] 158 | nftw64_fn(const char *path, const struct stat64 *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~^~~~ tools64.c:158:50: warning: unused parameter 'st' [-Wunused-parameter] 158 | nftw64_fn(const char *path, const struct stat64 *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~~~~~~~~~~^~ tools64.c:158:58: warning: unused parameter 'ival' [-Wunused-parameter] 158 | nftw64_fn(const char *path, const struct stat64 *st, int ival, struct FTW *FTWS) | ~~~~^~~~ tools64.c:158:76: warning: unused parameter 'FTWS' [-Wunused-parameter] 158 | nftw64_fn(const char *path, const struct stat64 *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~^~~~ tools64.c: In function 'do_info': tools64.c:250:26: warning: unused parameter 'path_name' [-Wunused-parameter] 250 | void do_info(const char *path_name) | ~~~~~~~~~~~~^~~~~~~~~ test_func64.c: In function 'test_func1': test_func64.c:41:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 41 | test_func1(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:42:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 42 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:42:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 42 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func3': test_func64.c:75:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 75 | test_func3(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:76:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 76 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:76:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 76 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func4': test_func64.c:100:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 100 | test_func4(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:101:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 101 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:101:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 101 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func5': test_func64.c:113:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 113 | test_func5(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:114:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 114 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func7': test_func64.c:137:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 137 | test_func7(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:138:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 138 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:138:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 138 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func8': test_func64.c:169:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 169 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func9': test_func64.c:250:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 250 | test_func9(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:251:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 251 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func10': test_func64.c:286:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 286 | test_func10(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:287:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 287 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func11': test_func64.c:321:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 321 | test_func11(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:322:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 322 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func12': test_func64.c:356:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 356 | test_func12(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:357:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 357 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func13': test_func64.c:389:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 389 | test_func13(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:390:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 390 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func14': test_func64.c:425:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 425 | test_func14(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:426:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 426 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func15': test_func64.c:461:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 461 | test_func15(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:462:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 462 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func16': test_func64.c:478:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 478 | test_func16(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:479:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 479 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c: In function 'test_func17': test_func64.c:508:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 508 | test_func17(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:509:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 509 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func18': test_func64.c:521:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 521 | test_func18(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:522:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 522 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func19': test_func64.c:533:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 533 | test_func19(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:534:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 534 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func20': test_func64.c:558:25: warning: unused parameter 'path_name' [-Wunused-parameter] 558 | test_func20(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~^~~~~~~~~ test_func64.c:558:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 558 | test_func20(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:559:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 559 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:559:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 559 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func21': test_func64.c:565:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 565 | test_func21(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:566:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 566 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:566:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 566 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func22': test_func64.c:594:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 594 | test_func22(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:595:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 595 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c: In function 'test_func23': test_func64.c:626:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 626 | test_func23(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:627:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 627 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ CC testcases/kernel/syscalls/nftw/lib.o CC testcases/kernel/syscalls/nftw/tools64.o /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../../../lib nftw.o tools.o test_func.o test.o lib.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o nftw01 lib64.c: In function 'get_long_name_buffer': lib64.c:65:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 65 | if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib64.c:72:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 72 | if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { | ^~ lib64.c: In function 'test_ENAMETOOLONG_path': lib64.c:183:60: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 183 | if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib64.c:208:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 208 | while (pathLength < pcPathMax) { | ^ lib64.c:219:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 219 | while (pathLength <= pcPathMax) { | ^~ lib64.c:226:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 226 | if (pathLength != pcPathMax + 1) { | ^~ CC testcases/kernel/syscalls/nftw/lib64.o CC testcases/kernel/syscalls/nftw/test_func64.o CC testcases/kernel/syscalls/nftw/test64.o /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -L../../../../lib nftw64.o tools64.o test_func64.o test64.o lib64.o -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o nftw6401 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from chmod01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chmod05.c:39: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chmod06.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chmod03.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/chmod/chmod05 CC testcases/kernel/syscalls/chmod/chmod03 CC testcases/kernel/syscalls/chmod/chmod01 CC testcases/kernel/syscalls/chmod/chmod06 In file included from ../../../../include/tst_test.h:180, from chmod07.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/chmod/chmod07 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from eventfd04.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from eventfd01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from eventfd02.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from eventfd03.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/eventfd/eventfd04 CC testcases/kernel/syscalls/eventfd/eventfd01 In file included from ../../../../include/tst_test.h:180, from eventfd06.c:37: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from eventfd05.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/eventfd/eventfd02 CC testcases/kernel/syscalls/eventfd/eventfd03 CC testcases/kernel/syscalls/eventfd/eventfd05 CC testcases/kernel/syscalls/eventfd/eventfd06 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/preadv/preadv01_64.o CC testcases/kernel/syscalls/preadv/preadv02_64.o CC testcases/kernel/syscalls/preadv/preadv03_64.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from preadv03.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from preadv02.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from preadv01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from preadv01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/preadv/preadv01_64 In file included from ../../../../include/tst_test.h:180, from preadv02.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from preadv03.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/preadv/preadv02_64 CC testcases/kernel/syscalls/preadv/preadv01 LD testcases/kernel/syscalls/preadv/preadv03_64 CC testcases/kernel/syscalls/preadv/preadv02 CC testcases/kernel/syscalls/preadv/preadv03 rm preadv01_64.o preadv02_64.o preadv03_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from process_madvise01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/process_madvise/process_madvise01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/lchown/lchown01.o CC testcases/kernel/syscalls/lchown/lchown02_16.o CC testcases/kernel/syscalls/lchown/lchown01_16.o CC testcases/kernel/syscalls/lchown/lchown02.o CC testcases/kernel/syscalls/lchown/lchown03.o CC testcases/kernel/syscalls/lchown/lchown03_16.o LD testcases/kernel/syscalls/lchown/lchown01 LD testcases/kernel/syscalls/lchown/lchown02 LD testcases/kernel/syscalls/lchown/lchown01_16 LD testcases/kernel/syscalls/lchown/lchown03 LD testcases/kernel/syscalls/lchown/lchown02_16 LD testcases/kernel/syscalls/lchown/lchown03_16 rm lchown01_16.o lchown03.o lchown02_16.o lchown03_16.o lchown01.o lchown02.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from umask01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/umask/umask01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a BUILD libltpipc.a make[7]: Nothing to be done for 'all'. GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from semctl02.c:15: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from semctl01.c:14: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from semctl03.c:15: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from semctl04.c:20: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/semctl/semctl02 CC testcases/kernel/syscalls/ipc/semctl/semctl03 CC testcases/kernel/syscalls/ipc/semctl/semctl04 In file included from ../../../../../include/tst_test.h:180, from semctl05.c:16: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/semctl/semctl01 semctl06.c: In function 'term': semctl06.c:283:22: warning: unused parameter 'sig' [-Wunused-parameter] 283 | static void term(int sig) | ~~~~^~~ In file included from ../../../../../include/tst_test.h:180, from ../../../../../include/tst_timer.h:19, from ../../../../../include/lapi/sembuf.h:12, from semctl08.c:8: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from semctl07.c:23: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/semctl/semctl05 CC testcases/kernel/syscalls/ipc/semctl/semctl08 In file included from ../../../../../include/tst_test.h:180, from semctl09.c:43: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} semctl09.c: In function 'do_semctl': semctl09.c:61:16: warning: storing the address of local variable 'info' in 'un.buf' [-Wdangling-pointer=] 61 | un.buf = &info; | ~~~~~~~^~~~~~~ semctl09.c:59:25: note: 'info' declared here 59 | struct semid_ds info; | ^~~~ semctl09.c:51:20: note: 'un' declared here 51 | static union semun un; | ^~ CC testcases/kernel/syscalls/ipc/semctl/semctl07 CC testcases/kernel/syscalls/ipc/semctl/semctl06 CC testcases/kernel/syscalls/ipc/semctl/semctl09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from shmat04.c:24: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmat02.c:23: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} shmat04.c: In function 'run': ../../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ shmat04.c:45:9: note: in expansion of macro 'tst_res' 45 | tst_res(TINFO, "Attached at %p. key: %d - size: %lu", | ^~~~~~~ In file included from ../../../../../include/tst_test.h:180, from shmat03.c:43: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmat01.c:27: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/shmat/shmat04 CC testcases/kernel/syscalls/ipc/shmat/shmat02 CC testcases/kernel/syscalls/ipc/shmat/shmat01 CC testcases/kernel/syscalls/ipc/shmat/shmat03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from msgrcv05.c:12: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgrcv03.c:28: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgrcv01.c:10: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgrcv02.c:31: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv05 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv03 In file included from ../../../../../include/tst_test.h:180, from msgrcv06.c:14: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv01 ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv02 In file included from ../../../../../include/tst_test.h:180, from msgrcv07.c:30: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgrcv08.c:28: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv06 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv08 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv07 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from semop04.c:24: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from semop02.c:25: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from semop03.c:14: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from semop01.c:11: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/semop/semop04 semop05.c: In function 'main': semop05.c:74:16: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 74 | int i, rc; | ^~ semop05.c: In function 'waiter': semop05.c:123:20: warning: unused parameter 'foo' [-Wunused-parameter] 123 | void *waiter(void *foo) | ~~~~~~^~~ semop05.c: In function 'poster': semop05.c:142:20: warning: unused parameter 'foo' [-Wunused-parameter] 142 | void *poster(void *foo) | ~~~~~~^~~ CC testcases/kernel/syscalls/ipc/semop/semop02 CC testcases/kernel/syscalls/ipc/semop/semop03 CC testcases/kernel/syscalls/ipc/semop/semop01 CC testcases/kernel/syscalls/ipc/semop/semop05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from msgctl03.c:13: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgctl02.c:14: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgctl01.c:14: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgctl04.c:15: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgctl/msgctl03 CC testcases/kernel/syscalls/ipc/msgctl/msgctl02 In file included from ../../../../../include/tst_test.h:180, from ../../../../../include/tst_timer.h:19, from ../../../../../include/lapi/msgbuf.h:12, from msgctl05.c:9: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgctl/msgctl01 In file included from ../../../../../include/tst_test.h:180, from msgctl06.c:28: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgctl/msgctl04 In file included from ../../../../../include/tst_test.h:180, from msgctl12.c:14: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgctl/msgctl05 CC testcases/kernel/syscalls/ipc/msgctl/msgctl06 CC testcases/kernel/syscalls/ipc/msgctl/msgctl12 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from shmctl02.c:32: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmctl04.c:26: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmctl01.c:22: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmctl03.c:14: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} shmctl01.c: In function 'check_ds': ../../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 6 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ shmctl01.c:186:17: note: in expansion of macro 'tst_res' 186 | tst_res(TFAIL, "%s: shm_ctime=%li, expected <%li,%li>", | ^~~~~~~ ../../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ shmctl01.c:186:17: note: in expansion of macro 'tst_res' 186 | tst_res(TFAIL, "%s: shm_ctime=%li, expected <%li,%li>", | ^~~~~~~ ../../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 8 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ shmctl01.c:186:17: note: in expansion of macro 'tst_res' 186 | tst_res(TFAIL, "%s: shm_ctime=%li, expected <%li,%li>", | ^~~~~~~ ../../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 6 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ shmctl01.c:189:17: note: in expansion of macro 'tst_res' 189 | tst_res(TPASS, "%s: shm_ctime=%li in range <%li,%li>", | ^~~~~~~ ../../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ shmctl01.c:189:17: note: in expansion of macro 'tst_res' 189 | tst_res(TPASS, "%s: shm_ctime=%li in range <%li,%li>", | ^~~~~~~ ../../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 8 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ shmctl01.c:189:17: note: in expansion of macro 'tst_res' 189 | tst_res(TPASS, "%s: shm_ctime=%li in range <%li,%li>", | ^~~~~~~ CC testcases/kernel/syscalls/ipc/shmctl/shmctl03 CC testcases/kernel/syscalls/ipc/shmctl/shmctl02 CC testcases/kernel/syscalls/ipc/shmctl/shmctl04 In file included from ../../../../../include/tst_test.h:180, from shmctl05.c:20: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from ../../../../../include/tst_timer.h:19, from ../../../../../include/lapi/shmbuf.h:12, from shmctl06.c:13: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/shmctl/shmctl01 In file included from ../../../../../include/tst_test.h:180, from shmctl07.c:14: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmctl08.c:17: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} shmctl08.c: In function 'check_mode': shmctl08.c:41:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'short int' [-Wsign-compare] 41 | if (ds->shm_perm.mode == exp_mode) { | ^~ CC testcases/kernel/syscalls/ipc/shmctl/shmctl06 CC testcases/kernel/syscalls/ipc/shmctl/shmctl07 CC testcases/kernel/syscalls/ipc/shmctl/shmctl08 CC testcases/kernel/syscalls/ipc/shmctl/shmctl05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from semget02.c:29: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from semget01.c:16: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from semget05.c:20: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/semget/semget02 CC testcases/kernel/syscalls/ipc/semget/semget01 CC testcases/kernel/syscalls/ipc/semget/semget05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from shmget03.c:20: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmget05.c:24: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmget02.c:36: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmget04.c:23: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:23: shmget02.c: In function 'do_test': shmget02.c:91:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 91 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../../include/tst_test_macros.h:209:25: note: in expansion of macro 'TST_MSG_' 209 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ shmget02.c:90:17: note: in expansion of macro 'TST_EXP_FAIL2' 90 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, | ^~~~~~~~~~~~~ shmget02.c:91:39: note: format string is defined here 91 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ~~^ | | | long unsigned int | %u shmget02.c:91:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 91 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../../include/tst_test_macros.h:214:25: note: in expansion of macro 'TST_MSGP_' 214 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ shmget02.c:90:17: note: in expansion of macro 'TST_EXP_FAIL2' 90 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, | ^~~~~~~~~~~~~ shmget02.c:91:39: note: format string is defined here 91 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ~~^ | | | long unsigned int | %u shmget02.c:91:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 91 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../../include/tst_test_macros.h:223:25: note: in expansion of macro 'TST_MSGP_' 223 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \ | ^~~~~~~~~ ../../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ shmget02.c:90:17: note: in expansion of macro 'TST_EXP_FAIL2' 90 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, | ^~~~~~~~~~~~~ shmget02.c:91:39: note: format string is defined here 91 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ~~^ | | | long unsigned int | %u shmget02.c:91:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 91 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../../include/tst_test_macros.h:289:25: note: in expansion of macro 'TST_MSG_' 289 | TST_MSG_(TPASS | TTERRNO, " ", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ shmget02.c:90:17: note: in expansion of macro 'TST_EXP_FAIL2' 90 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, | ^~~~~~~~~~~~~ shmget02.c:91:39: note: format string is defined here 91 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ~~^ | | | long unsigned int | %u shmget02.c:103:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 103 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../../include/tst_test_macros.h:209:25: note: in expansion of macro 'TST_MSG_' 209 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ shmget02.c:102:17: note: in expansion of macro 'TST_EXP_FAIL2' 102 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, | ^~~~~~~~~~~~~ shmget02.c:103:39: note: format string is defined here 103 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ~~^ | | | long unsigned int | %u shmget02.c:103:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 103 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../../include/tst_test_macros.h:214:25: note: in expansion of macro 'TST_MSGP_' 214 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ shmget02.c:102:17: note: in expansion of macro 'TST_EXP_FAIL2' 102 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, | ^~~~~~~~~~~~~ shmget02.c:103:39: note: format string is defined here 103 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ~~^ | | | long unsigned int | %u shmget02.c:103:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 103 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../../include/tst_test_macros.h:223:25: note: in expansion of macro 'TST_MSGP_' 223 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \ | ^~~~~~~~~ ../../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ shmget02.c:102:17: note: in expansion of macro 'TST_EXP_FAIL2' 102 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, | ^~~~~~~~~~~~~ shmget02.c:103:39: note: format string is defined here 103 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ~~^ | | | long unsigned int | %u shmget02.c:103:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 103 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../../include/tst_test_macros.h:289:25: note: in expansion of macro 'TST_MSG_' 289 | TST_MSG_(TPASS | TTERRNO, " ", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ shmget02.c:102:17: note: in expansion of macro 'TST_EXP_FAIL2' 102 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, | ^~~~~~~~~~~~~ shmget02.c:103:39: note: format string is defined here 103 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags); | ~~^ | | | long unsigned int | %u CC testcases/kernel/syscalls/ipc/shmget/shmget03 In file included from ../../../../../include/tst_test.h:180, from shmget06.c:22: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/shmget/shmget05 CC testcases/kernel/syscalls/ipc/shmget/shmget04 CC testcases/kernel/syscalls/ipc/shmget/shmget02 CC testcases/kernel/syscalls/ipc/shmget/shmget06 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from msgstress01.c:25: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgstress/msgstress01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from msgget01.c:19: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgget03.c:20: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgget02.c:27: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgget04.c:23: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgget/msgget01 CC testcases/kernel/syscalls/ipc/msgget/msgget04 In file included from ../../../../../include/tst_test.h:180, from msgget05.c:21: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgget/msgget02 CC testcases/kernel/syscalls/ipc/msgget/msgget03 CC testcases/kernel/syscalls/ipc/msgget/msgget05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from msgsnd01.c:16: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgsnd06.c:18: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgsnd02.c:29: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from msgsnd05.c:21: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd06 CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd01 CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd05 CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from shmdt01.c:17: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from shmdt02.c:17: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ipc/shmdt/shmdt02 CC testcases/kernel/syscalls/ipc/shmdt/shmdt01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from statvfs01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statvfs02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/statvfs/statvfs02 CC testcases/kernel/syscalls/statvfs/statvfs01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getcwd01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getcwd02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getcwd04.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getcwd03.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getcwd/getcwd02 CC testcases/kernel/syscalls/getcwd/getcwd01 CC testcases/kernel/syscalls/getcwd/getcwd04 CC testcases/kernel/syscalls/getcwd/getcwd03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:12, from mallinfo2_01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mallinfo2/mallinfo2_01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getpgrp01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getpgrp/getpgrp01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ustat01.c:9: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ustat02.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ustat/ustat01 CC testcases/kernel/syscalls/ustat/ustat02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/futimesat/futimesat01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/mq_timedreceive/../utils/mq.h:9, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/mq_timedreceive/../utils/mq_timed.h:9, from mq_timedreceive01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} mq_timedreceive01.c: In function 'do_test': mq_timedreceive01.c:202:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare] 202 | if (tc->len != TST_RET) { | ^~ CC testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from clock_getres01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clock_getres/clock_getres01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from close02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from close01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/close/close02 CC testcases/kernel/syscalls/close/close01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/mknodat/mknodat01 CC testcases/kernel/syscalls/mknodat/mknodat02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from clone04.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from clone03.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} clone02.c: In function 'sig_child_defined_handler': clone02.c:451:43: warning: unused parameter 'pid' [-Wunused-parameter] 451 | static void sig_child_defined_handler(int pid) | ~~~~^~~ In file included from ../../../../include/tst_test.h:180, from clone01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clone/clone04 In file included from ../../../../include/tst_test.h:180, from clone05.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clone/clone03 CC testcases/kernel/syscalls/clone/clone01 CC testcases/kernel/syscalls/clone/clone02 In file included from ../../../../include/tst_test.h:180, from clone06.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from clone08.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from clone07.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clone/clone05 In file included from ../../../../include/tst_test.h:180, from clone09.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clone/clone06 CC testcases/kernel/syscalls/clone/clone07 CC testcases/kernel/syscalls/clone/clone08 CC testcases/kernel/syscalls/clone/clone09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname01.c -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o sethostname01 /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname02.c -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o sethostname02 /home/buildroot/autobuild/run/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname03.c -L/home/buildroot/autobuild/run/instance-1/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -ltirpc -lfts -lltp -o sethostname03 In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname.h:10, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname01.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname.h:10, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname03.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname.h:10, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname02.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from exit_group01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/exit_group/exit_group01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from tgkill01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from tgkill02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from tgkill03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/tgkill/tgkill02 CC testcases/kernel/syscalls/tgkill/tgkill01 CC testcases/kernel/syscalls/tgkill/tgkill03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/pwritev2/pwritev201_64.o CC testcases/kernel/syscalls/pwritev2/pwritev202_64.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from pwritev201.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pwritev202.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. LD testcases/kernel/syscalls/pwritev2/pwritev202_64 In file included from ../../../../include/tst_test.h:180, from pwritev202.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pwritev201.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/pwritev2/pwritev201_64 CC testcases/kernel/syscalls/pwritev2/pwritev202 CC testcases/kernel/syscalls/pwritev2/pwritev201 rm pwritev201_64.o pwritev202_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/profil/profil01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from setregid01.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setregid03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setregid02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setregid/setregid01.o make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/setregid/setregid03.o CC testcases/kernel/syscalls/setregid/setregid01_16.o make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/setregid/setregid02_16.o In file included from ../../../../include/tst_test.h:180, from setregid01.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setregid/setregid02.o In file included from ../../../../include/tst_test.h:180, from setregid04.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setregid/setregid03_16.o In file included from ../../../../include/tst_test.h:180, from setregid02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setregid03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setregid/setregid04_16.o CC testcases/kernel/syscalls/setregid/setregid04.o In file included from ../../../../include/tst_test.h:180, from setregid04.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/setregid/setregid02 LD testcases/kernel/syscalls/setregid/setregid01 LD testcases/kernel/syscalls/setregid/setregid04 LD testcases/kernel/syscalls/setregid/setregid01_16 LD testcases/kernel/syscalls/setregid/setregid03 LD testcases/kernel/syscalls/setregid/setregid02_16 LD testcases/kernel/syscalls/setregid/setregid03_16 LD testcases/kernel/syscalls/setregid/setregid04_16 rm setregid04_16.o setregid01.o setregid02.o setregid01_16.o setregid03.o setregid02_16.o setregid03_16.o setregid04.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pidfd_getfd02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidfd_getfd01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pidfd_getfd/pidfd_getfd02 CC testcases/kernel/syscalls/pidfd_getfd/pidfd_getfd01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from llseek03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from llseek02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from llseek01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/llseek/llseek03 CC testcases/kernel/syscalls/llseek/llseek02 CC testcases/kernel/syscalls/llseek/llseek01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from io_submit01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from io_submit02.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from io_submit03.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} io_submit02.c: In function 'io_prep_option': io_submit02.c:50:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 50 | cb->aio_buf = (uint64_t)buf; | ^ CC testcases/kernel/syscalls/io_submit/io_submit01 io_submit03.c: In function 'io_prep_option': io_submit03.c:76:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | cb->aio_buf = (uint64_t)buf; | ^ CC testcases/kernel/syscalls/io_submit/io_submit02 CC testcases/kernel/syscalls/io_submit/io_submit03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/pipe2/pipe2_02_child In file included from ../../../../include/tst_test.h:180, from pipe2_02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pipe2_04.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pipe2_01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pipe2/pipe2_02 CC testcases/kernel/syscalls/pipe2/pipe2_04 CC testcases/kernel/syscalls/pipe2/pipe2_01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/mlockall/mlockall02 CC testcases/kernel/syscalls/mlockall/mlockall01 CC testcases/kernel/syscalls/mlockall/mlockall03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from memset01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/memset/memset01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getdomainname01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getdomainname/getdomainname01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getpriority01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getpriority02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getpriority/getpriority02 CC testcases/kernel/syscalls/getpriority/getpriority01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fork01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fork04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fork03.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fork/fork05 CC testcases/kernel/syscalls/fork/fork03 CC testcases/kernel/syscalls/fork/fork01 In file included from ../../../../include/tst_test.h:180, from fork07.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fork/fork04 In file included from ../../../../include/tst_test.h:180, from fork08.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fork/fork07 In file included from ../../../../include/tst_test.h:180, from fork10.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fork/fork08 In file included from ../../../../include/tst_test.h:180, from fork13.c:46: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fork/fork09 In file included from ../../../../include/tst_test.h:180, from fork14.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fork_procs.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fork/fork10 CC testcases/kernel/syscalls/fork/fork13 CC testcases/kernel/syscalls/fork/fork_procs CC testcases/kernel/syscalls/fork/fork14 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from clone301.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from clone302.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from clone303.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} clone301.c: In function 'run': clone301.c:117:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 117 | args->pidfd = (uint64_t)(&pidfd); | ^ clone301.c:118:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 118 | args->child_tid = (uint64_t)(&child_tid); | ^ clone301.c:119:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 119 | args->parent_tid = (uint64_t)(&parent_tid); | ^ clone302.c: In function 'run': clone302.c:79:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 79 | args->pidfd = (uint64_t)(*tc->pidfd); | ^ CC testcases/kernel/syscalls/clone3/clone301 CC testcases/kernel/syscalls/clone3/clone303 CC testcases/kernel/syscalls/clone3/clone302 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from delete_module02.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from delete_module03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from delete_module01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/delete_module/delete_module03 CC testcases/kernel/syscalls/delete_module/delete_module02 CC testcases/kernel/syscalls/delete_module/delete_module01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/getgid/getgid01_16.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from getgid01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} getgid01.c: In function 'run': getgid01.c:23:21: warning: comparison of integer expressions of different signedness: 'long int' and '__gid_t' {aka 'unsigned int'} [-Wsign-compare] 23 | if (TST_RET != ltpuser->pw_gid) | ^~ In file included from ../../../../include/tst_test.h:180, from getgid03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getgid01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. getgid03.c: In function 'run': getgid03.c:36:27: warning: comparison of integer expressions of different signedness: '__gid_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare] 36 | if (pwent->pw_gid != TST_RET) { | ^~ CC testcases/kernel/syscalls/getgid/getgid01.o getgid01.c: In function 'run': getgid01.c:23:21: warning: comparison of integer expressions of different signedness: 'long int' and '__gid_t' {aka 'unsigned int'} [-Wsign-compare] 23 | if (TST_RET != ltpuser->pw_gid) | ^~ make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/getgid/getgid03_16.o CC testcases/kernel/syscalls/getgid/getgid03.o In file included from ../../../../include/tst_test.h:180, from getgid03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/getgid/getgid03 LD testcases/kernel/syscalls/getgid/getgid01_16 LD testcases/kernel/syscalls/getgid/getgid01 getgid03.c: In function 'run': getgid03.c:36:27: warning: comparison of integer expressions of different signedness: '__gid_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare] 36 | if (pwent->pw_gid != TST_RET) { | ^~ LD testcases/kernel/syscalls/getgid/getgid03_16 rm getgid03.o getgid03_16.o getgid01.o getgid01_16.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from io_getevents02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from io_getevents01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/io_getevents/io_getevents02 CC testcases/kernel/syscalls/io_getevents/io_getevents01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from confstr01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/confstr/confstr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timer_settime01.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timer_settime02.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from timer_settime03.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/timer_settime/timer_settime03 CC testcases/kernel/syscalls/timer_settime/timer_settime02 CC testcases/kernel/syscalls/timer_settime/timer_settime01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/fmtmsg/fmtmsg01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fchown02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchown03.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchown01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchown04.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fchown/fchown01.o CC testcases/kernel/syscalls/fchown/fchown02.o CC testcases/kernel/syscalls/fchown/fchown01_16.o CC testcases/kernel/syscalls/fchown/fchown03.o CC testcases/kernel/syscalls/fchown/fchown02_16.o CC testcases/kernel/syscalls/fchown/fchown04.o CC testcases/kernel/syscalls/fchown/fchown03_16.o In file included from ../../../../include/tst_test.h:180, from fchown05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchown03.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchown01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchown02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fchown/fchown04_16.o CC testcases/kernel/syscalls/fchown/fchown05_16.o CC testcases/kernel/syscalls/fchown/fchown05.o In file included from ../../../../include/tst_test.h:180, from fchown04.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/fchown/fchown01 In file included from ../../../../include/tst_test.h:180, from fchown05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/fchown/fchown02 LD testcases/kernel/syscalls/fchown/fchown03 LD testcases/kernel/syscalls/fchown/fchown04 LD testcases/kernel/syscalls/fchown/fchown05 LD testcases/kernel/syscalls/fchown/fchown01_16 LD testcases/kernel/syscalls/fchown/fchown02_16 LD testcases/kernel/syscalls/fchown/fchown03_16 LD testcases/kernel/syscalls/fchown/fchown04_16 LD testcases/kernel/syscalls/fchown/fchown05_16 rm fchown03.o fchown01.o fchown02_16.o fchown05.o fchown05_16.o fchown04.o fchown04_16.o fchown03_16.o fchown02.o fchown01_16.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from recvmsg02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from recvmsg03.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} recvmsg03.c: In function 'server': In file included from ../../../../include/tst_test.h:180, from recvmsg01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ recvmsg03.c:121:17: note: in expansion of macro 'tst_res' 121 | tst_res(TFAIL, "msg_namelen was set to %u incorrectly, " | ^~~~~~~ ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/recvmsg/recvmsg02 CC testcases/kernel/syscalls/recvmsg/recvmsg03 CC testcases/kernel/syscalls/recvmsg/recvmsg01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setitimer02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setitimer01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} setitimer01.c: In function 'verify_setitimer': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ setitimer01.c:68:25: note: in expansion of macro 'tst_res' 68 | tst_res(TINFO, "Test begin time: %ld.%lds", tv.tv_sec, tv.tv_usec); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__suseconds_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ setitimer01.c:68:25: note: in expansion of macro 'tst_res' 68 | tst_res(TINFO, "Test begin time: %ld.%lds", tv.tv_sec, tv.tv_usec); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ setitimer01.c:132:25: note: in expansion of macro 'tst_res' 132 | tst_res(TINFO, "Test end time: %ld.%lds", tv.tv_sec, tv.tv_usec); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__suseconds_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ setitimer01.c:132:25: note: in expansion of macro 'tst_res' 132 | tst_res(TINFO, "Test end time: %ld.%lds", tv.tv_sec, tv.tv_usec); | ^~~~~~~ CC testcases/kernel/syscalls/setitimer/setitimer02 CC testcases/kernel/syscalls/setitimer/setitimer01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setpgid02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setpgid03_child.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setpgid03.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setpgid/setpgid01 CC testcases/kernel/syscalls/setpgid/setpgid02 CC testcases/kernel/syscalls/setpgid/setpgid03_child CC testcases/kernel/syscalls/setpgid/setpgid03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from setgid01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/setgid/setgid01_16.o In file included from ../../../../include/tst_test.h:180, from setgid02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setgid03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setgid01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setgid/setgid01.o CC testcases/kernel/syscalls/setgid/setgid02_16.o CC testcases/kernel/syscalls/setgid/setgid02.o In file included from ../../../../include/tst_test.h:180, from setgid02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setgid/setgid03_16.o CC testcases/kernel/syscalls/setgid/setgid03.o LD testcases/kernel/syscalls/setgid/setgid01 In file included from ../../../../include/tst_test.h:180, from setgid03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/setgid/setgid02 LD testcases/kernel/syscalls/setgid/setgid03 LD testcases/kernel/syscalls/setgid/setgid01_16 LD testcases/kernel/syscalls/setgid/setgid02_16 LD testcases/kernel/syscalls/setgid/setgid03_16 rm setgid01.o setgid01_16.o setgid03.o setgid02_16.o setgid03_16.o setgid02.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pathconf01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pathconf02.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pathconf/pathconf01 CC testcases/kernel/syscalls/pathconf/pathconf02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ioctl01.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl03.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl02.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl04.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl03 CC testcases/kernel/syscalls/ioctl/ioctl01 In file included from ../../../../include/tst_test.h:180, from ioctl05.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl06.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl04 CC testcases/kernel/syscalls/ioctl/ioctl05 CC testcases/kernel/syscalls/ioctl/ioctl02 CC testcases/kernel/syscalls/ioctl/ioctl06 In file included from ../../../../include/tst_test.h:180, from ioctl07.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl08.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl_loop01.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ioctl08.c: In function 'verify_ioctl': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ ioctl08.c:82:17: note: in expansion of macro 'tst_res' 82 | tst_res(TFAIL, | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from ioctl09.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl07 CC testcases/kernel/syscalls/ioctl/ioctl09 CC testcases/kernel/syscalls/ioctl/ioctl_loop01 In file included from ../../../../include/tst_test.h:180, from ioctl_loop02.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl08 In file included from ../../../../include/tst_test.h:180, from ioctl_loop03.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl_loop04.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl_loop05.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl_loop04 CC testcases/kernel/syscalls/ioctl/ioctl_loop03 CC testcases/kernel/syscalls/ioctl/ioctl_loop02 In file included from ../../../../include/tst_test.h:180, from ioctl_loop06.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl_ns01.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl_loop07.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl_loop05 In file included from ../../../../include/tst_test.h:180, from ioctl_ns02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl_ns01 CC testcases/kernel/syscalls/ioctl/ioctl_loop06 CC testcases/kernel/syscalls/ioctl/ioctl_ns02 In file included from ../../../../include/tst_test.h:180, from ioctl_ns03.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl_loop07 In file included from ../../../../include/tst_test.h:180, from ioctl_ns04.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl_ns05.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioctl_ns06.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl_ns03 In file included from ../../../../include/tst_test.h:180, from ioctl_ns07.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl_ns04 CC testcases/kernel/syscalls/ioctl/ioctl_ns06 CC testcases/kernel/syscalls/ioctl/ioctl_ns05 CC testcases/kernel/syscalls/ioctl/ioctl_ns07 In file included from ../../../../include/tst_test.h:180, from ioctl_sg01.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioctl/ioctl_sg01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from gethostbyname_r01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/gethostbyname_r/gethostbyname_r01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getpid02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getpid01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getpid/getpid01 CC testcases/kernel/syscalls/getpid/getpid02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pivot_root01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pivot_root/pivot_root01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from nice04.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from nice03.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from nice02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from nice01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/nice/nice03 CC testcases/kernel/syscalls/nice/nice04 CC testcases/kernel/syscalls/nice/nice02 CC testcases/kernel/syscalls/nice/nice01 In file included from ../../../../include/tst_test.h:180, from nice05.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} nice05.c: In function 'verify_nice': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ nice05.c:132:9: note: in expansion of macro 'tst_res' 132 | tst_res(TINFO, "Nice low thread CPU time: %ld.%09ld s", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ nice05.c:134:9: note: in expansion of macro 'tst_res' 134 | tst_res(TINFO, "Nice high thread CPU time: %ld.%09ld s", | ^~~~~~~ nice05.c: In function 'setup': nice05.c:78:13: warning: 'some_cpu' may be used uninitialized [-Wmaybe-uninitialized] 78 | int some_cpu; | ^~~~~~~~ CC testcases/kernel/syscalls/nice/nice05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnuma.a make[6]: Nothing to be done for 'all'. GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from set_mempolicy01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from set_mempolicy03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from set_mempolicy02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from set_mempolicy04.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy03 CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy01 In file included from ../../../../include/tst_test.h:180, from set_mempolicy05.c:38: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} set_mempolicy05.c: In function 'run': set_mempolicy05.c:57:19: warning: unused variable 'node_mask_sz' [-Wunused-variable] 57 | const int node_mask_sz = UINT_MAX; | ^~~~~~~~~~~~ set_mempolicy05.c:56:19: warning: unused variable 'node_mask_ptr' [-Wunused-variable] 56 | const int node_mask_ptr = UINT_MAX; | ^~~~~~~~~~~~~ set_mempolicy05.c:55:19: warning: unused variable 'mode' [-Wunused-variable] 55 | const int mode; | ^~~~ set_mempolicy05.c:54:19: warning: unused variable 'sys_num' [-Wunused-variable] 54 | const int sys_num = 276; | ^~~~~~~ CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy02 CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy04 CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/renameat/renameat01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from futex_cmp_requeue01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from futextest.h:20, from futex_wait01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from futextest.h:20, from futex_wait02.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from futex_cmp_requeue02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/futex/futex_wait02 CC testcases/kernel/syscalls/futex/futex_wait01 CC testcases/kernel/syscalls/futex/futex_cmp_requeue02 In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from futex_wait05.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from futextest.h:20, from futex_wait04.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/futex/futex_cmp_requeue01 In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from futextest.h:20, from futex_wait03.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from futex_wait_bitset01.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/futex/futex_wait05 CC testcases/kernel/syscalls/futex/futex_wait03 In file included from ../../../../include/tst_test.h:180, from futex_waitv01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from futex_waitv02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/futex/futex_wait04 In file included from ../../../../include/tst_test.h:180, from futex_waitv03.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/futex/futex_wait_bitset01 CC testcases/kernel/syscalls/futex/futex_waitv02 In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from futextest.h:20, from futex_wake01.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from futextest.h:20, from futex_wake02.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/futex/futex_waitv03 CC testcases/kernel/syscalls/futex/futex_waitv01 CC testcases/kernel/syscalls/futex/futex_wake01 In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from futextest.h:20, from futex_wake03.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from futextest.h:20, from futex_wake04.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/futex/futex_wake02 CC testcases/kernel/syscalls/futex/futex_wake03 CC testcases/kernel/syscalls/futex/futex_wake04 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from time01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/time/time01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from exit02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/exit/exit01 CC testcases/kernel/syscalls/exit/exit02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from eventfd2_01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from eventfd2_03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from eventfd2_02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/eventfd2/eventfd2_03 CC testcases/kernel/syscalls/eventfd2/eventfd2_01 CC testcases/kernel/syscalls/eventfd2/eventfd2_02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from llistxattr02.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from llistxattr03.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from llistxattr01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/llistxattr/llistxattr03 CC testcases/kernel/syscalls/llistxattr/llistxattr02 CC testcases/kernel/syscalls/llistxattr/llistxattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from lgetxattr02.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from lgetxattr01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/lgetxattr/lgetxattr02 CC testcases/kernel/syscalls/lgetxattr/lgetxattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnuma.a make[6]: Nothing to be done for 'all'. GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from get_mempolicy02.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from get_mempolicy01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/get_mempolicy/get_mempolicy02 CC testcases/kernel/syscalls/get_mempolicy/get_mempolicy01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from personality01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from personality02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/personality/personality01 CC testcases/kernel/syscalls/personality/personality02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getppid02.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getppid01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getppid/getppid01 CC testcases/kernel/syscalls/getppid/getppid02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/set_thread_area/set_thread_area01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sched_getparam03.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_getparam01.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_getparam/sched_getparam01 CC testcases/kernel/syscalls/sched_getparam/sched_getparam03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from faccessat201.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from faccessat202.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/faccessat2/faccessat201 CC testcases/kernel/syscalls/faccessat2/faccessat202 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fsync01.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fsync04.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fsync03.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fsync02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} fsync02.c: In function 'run': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ fsync02.c:93:17: note: in expansion of macro 'tst_res' 93 | tst_res(TFAIL, | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ fsync02.c:93:17: note: in expansion of macro 'tst_res' 93 | tst_res(TFAIL, | ^~~~~~~ CC testcases/kernel/syscalls/fsync/fsync01 CC testcases/kernel/syscalls/fsync/fsync04 CC testcases/kernel/syscalls/fsync/fsync02 CC testcases/kernel/syscalls/fsync/fsync03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ptrace03.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ptrace02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ptrace04.c: In function 'compare_registers': ptrace04.c:48:38: warning: unused parameter 'poison' [-Wunused-parameter] 48 | void compare_registers(unsigned char poison) | ~~~~~~~~~~~~~~^~~~~~ In file included from ../../../../include/tst_test.h:180, from ptrace01.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ptrace/ptrace03 CC testcases/kernel/syscalls/ptrace/ptrace04 CC testcases/kernel/syscalls/ptrace/ptrace02 CC testcases/kernel/syscalls/ptrace/ptrace01 In file included from ../../../../include/tst_test.h:180, from ptrace07.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ptrace08.c:43: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ptrace08.c: In function 'ptrace_try_kern_addr': ptrace08.c:68:23: warning: unused variable 'addr' [-Wunused-variable] 68 | unsigned long addr; | ^~~~ ptrace08.c: In function 'run': ptrace08.c:53:24: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446603336221196288' to '0' [-Woverflow] 53 | # define KERN_ADDR_MIN 0xffff800000000000 | ^~~~~~~~~~~~~~~~~~ ptrace08.c:122:30: note: in expansion of macro 'KERN_ADDR_MIN' 122 | ptrace_try_kern_addr(KERN_ADDR_MIN); | ^~~~~~~~~~~~~ ptrace08.c:54:24: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow] 54 | # define KERN_ADDR_MAX 0xffffffffffffffff | ^~~~~~~~~~~~~~~~~~ ptrace08.c:123:30: note: in expansion of macro 'KERN_ADDR_MAX' 123 | ptrace_try_kern_addr(KERN_ADDR_MAX); | ^~~~~~~~~~~~~ ptrace08.c:53:24: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446673704965373951' to '4294967295' [-Woverflow] 53 | # define KERN_ADDR_MIN 0xffff800000000000 | ^ ptrace08.c:124:30: note: in expansion of macro 'KERN_ADDR_MIN' 124 | ptrace_try_kern_addr(KERN_ADDR_MIN + (KERN_ADDR_MAX - KERN_ADDR_MIN)/2); | ^~~~~~~~~~~~~ CC testcases/kernel/syscalls/ptrace/ptrace07 CC testcases/kernel/syscalls/ptrace/ptrace06 In file included from ../../../../include/tst_test.h:180, from ptrace09.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ptrace/ptrace05 ptrace09.c: At top level: ptrace09.c:28:12: warning: 'child_main' defined but not used [-Wunused-function] 28 | static int child_main(void) | ^~~~~~~~~~ In file included from ../../../../include/tst_test.h:180, from ptrace10.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ptrace10.c: In function 'run': ptrace10.c:57:12: warning: 'addr' is used uninitialized [-Wuninitialized] 57 | if (addr == 2) | ^ ptrace10.c:36:23: note: 'addr' was declared here 36 | unsigned long addr; | ^~~~ In file included from ../../../../include/tst_test.h:180, from ptrace11.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ptrace/ptrace08 CC testcases/kernel/syscalls/ptrace/ptrace11 CC testcases/kernel/syscalls/ptrace/ptrace09 CC testcases/kernel/syscalls/ptrace/ptrace10 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from execvp01_child.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execvp01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execvp/execvp01_child CC testcases/kernel/syscalls/execvp/execvp01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from userfaultfd01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/userfaultfd/userfaultfd01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnewipc.a BUILD libltpipc.a GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from kill05.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from kill06.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from kill03.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} kill02.c: In function 'setup': kill02.c:603:13: warning: variable 'errno_buf' set but not used [-Wunused-but-set-variable] 603 | int errno_buf; /*indicates the errno if pipe set up fails. */ | ^~~~~~~~~ CC testcases/kernel/syscalls/kill/kill05 In function 'parent_rout', inlined from 'parent_rout' at kill02.c:256:6: kill02.c:277:9: warning: 'strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 277 | strncpy(buf_tmp1, pipe_buf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c:283:9: warning: 'strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 283 | strncpy(buf_tmp2, pipe_buf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c:397:17: warning: 'strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 397 | strncpy(buf_tmp1, pipe_buf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/kill/kill06 kill07.c: In function 'main': kill07.c:90:39: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 90 | int exno, status, nsig, asig, ret; | ^~~ kill07.c:90:13: warning: variable 'exno' set but not used [-Wunused-but-set-variable] 90 | int exno, status, nsig, asig, ret; | ^~~~ kill07.c: In function 'sighandler': kill07.c:177:21: warning: unused parameter 'sig' [-Wunused-parameter] 177 | void sighandler(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/kill/kill03 kill09.c: In function 'alarm_handler': kill09.c:195:24: warning: unused parameter 'sig' [-Wunused-parameter] 195 | void alarm_handler(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/kill/kill02 kill10.c: In function 'ack_ready': kill10.c:365:47: warning: unused parameter 'data' [-Wunused-parameter] 365 | void ack_ready(int sig, siginfo_t * si, void *data) | ~~~~~~^~~~ kill10.c: In function 'ack_done': kill10.c:392:46: warning: unused parameter 'data' [-Wunused-parameter] 392 | void ack_done(int sig, siginfo_t * si, void *data) | ~~~~~~^~~~ kill10.c: In function 'set_create_procs': kill10.c:477:27: warning: unused parameter 'sig' [-Wunused-parameter] 477 | void set_create_procs(int sig) | ~~~~^~~ kill10.c: In function 'graceful_exit': kill10.c:608:24: warning: unused parameter 'sig' [-Wunused-parameter] 608 | void graceful_exit(int sig) | ~~~~^~~ kill10.c: In function 'set_signal_parents': kill10.c:613:29: warning: unused parameter 'sig' [-Wunused-parameter] 613 | void set_signal_parents(int sig) | ~~~~^~~ kill10.c: In function 'clear_signal_parents': kill10.c:620:31: warning: unused parameter 'sig' [-Wunused-parameter] 620 | void clear_signal_parents(int sig) | ~~~~^~~ kill10.c: In function 'set_confirmed_ready': kill10.c:627:30: warning: unused parameter 'sig' [-Wunused-parameter] 627 | void set_confirmed_ready(int sig) | ~~~~^~~ kill10.c: In function 'reset_counter': kill10.c:635:24: warning: unused parameter 'sig' [-Wunused-parameter] 635 | void reset_counter(int sig) | ~~~~^~~ kill10.c: In function 'reply_to_child': kill10.c:643:25: warning: unused parameter 'sig' [-Wunused-parameter] 643 | void reply_to_child(int sig, siginfo_t * si, void *data) | ~~~~^~~ kill10.c:643:52: warning: unused parameter 'data' [-Wunused-parameter] 643 | void reply_to_child(int sig, siginfo_t * si, void *data) | ~~~~~~^~~~ kill10.c: In function 'wakeup': kill10.c:670:17: warning: unused parameter 'sig' [-Wunused-parameter] 670 | void wakeup(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/kill/kill07 CC testcases/kernel/syscalls/kill/kill08 In file included from ../../../../include/tst_test.h:180, from kill11.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} kill11.c: In function 'setup': ../../../../include/tst_test.h:120:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ kill11.c:112:25: note: in expansion of macro 'tst_brk' 112 | tst_brk(TCONF, "hard limit(%lu)less than MIN_RLIMT_CORE(%i)", | ^~~~~~~ CC testcases/kernel/syscalls/kill/kill09 kill12.c: In function 'main': kill12.c:168:39: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 168 | } else; | ^ kill12.c:79:13: warning: variable 'core' set but not used [-Wunused-but-set-variable] 79 | int core; | ^~~~ kill12.c:77:19: warning: variable 'exno' set but not used [-Wunused-but-set-variable] 77 | int nsig, exno, nexno, status; | ^~~~ CC testcases/kernel/syscalls/kill/kill11 In file included from ../../../../include/tst_test.h:180, from kill13.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/kill/kill12 CC testcases/kernel/syscalls/kill/kill13 CC testcases/kernel/syscalls/kill/kill10 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sched_get_priority_max02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_get_priority_max01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max02 CC testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sgetmask/sgetmask01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setrlimit04.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setrlimit02.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In function 'test4', inlined from 'main' at setrlimit01.c:77:3: setrlimit01.c:260:17: warning: argument 1 null where non-null expected [-Wnonnull] 260 | strcpy(testbuf, "abcd"); | ^~~~~~~~~~~~~~~~~~~~~~~ setrlimit01.c:260:17: note: in a call to built-in function '__builtin_memcpy' In file included from ../../../../include/tst_test.h:180, from setrlimit03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setrlimit/setrlimit02 CC testcases/kernel/syscalls/setrlimit/setrlimit04 CC testcases/kernel/syscalls/setrlimit/setrlimit01 CC testcases/kernel/syscalls/setrlimit/setrlimit03 In file included from ../../../../include/tst_test.h:180, from setrlimit06.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setrlimit05.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setrlimit/setrlimit06 CC testcases/kernel/syscalls/setrlimit/setrlimit05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from open02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from open01.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from open04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from open03.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/open/open02 CC testcases/kernel/syscalls/open/open03 CC testcases/kernel/syscalls/open/open04 In file included from ../../../../include/tst_test.h:180, from open07.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from open06.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/open/open01 In file included from ../../../../include/tst_test.h:180, from open08.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from open09.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/open/open06 In file included from ../../../../include/tst_test.h:180, from open10.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/open/open07 CC testcases/kernel/syscalls/open/open08 CC testcases/kernel/syscalls/open/open09 In file included from ../../../../include/tst_test.h:180, from open11.c:55: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/open/open10 CC testcases/kernel/syscalls/open/open12_child CC testcases/kernel/syscalls/open/open11 CC testcases/kernel/syscalls/open/open13 CC testcases/kernel/syscalls/open/open12 CC testcases/kernel/syscalls/open/open14 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from quotactl03.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from quotactl01.c:37: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from quotactl03.c:32: quotactl_syscall_var.h: At top level: quotactl_syscall_var.h:24:13: warning: 'quotactl_info' defined but not used [-Wunused-function] 24 | static void quotactl_info(void) | ^~~~~~~~~~~~~ quotactl_syscall_var.h:17:12: warning: 'do_quotactl' defined but not used [-Wunused-function] 17 | static int do_quotactl(int fd, int cmd, const char *special, int id, caddr_t addr) | ^~~~~~~~~~~ quotactl_syscall_var.h:15:12: warning: 'fd' defined but not used [-Wunused-variable] 15 | static int fd = -1; | ^~ In file included from ../../../../include/tst_test.h:180, from quotactl04.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from quotactl02.h:14, from quotactl02.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from quotactl02.h:15: quotactl_syscall_var.h: At top level: quotactl_syscall_var.h:24:13: warning: 'quotactl_info' defined but not used [-Wunused-function] 24 | static void quotactl_info(void) | ^~~~~~~~~~~~~ quotactl_syscall_var.h:17:12: warning: 'do_quotactl' defined but not used [-Wunused-function] 17 | static int do_quotactl(int fd, int cmd, const char *special, int id, caddr_t addr) | ^~~~~~~~~~~ quotactl_syscall_var.h:15:12: warning: 'fd' defined but not used [-Wunused-variable] 15 | static int fd = -1; | ^~ CC testcases/kernel/syscalls/quotactl/quotactl01 CC testcases/kernel/syscalls/quotactl/quotactl02 In file included from ../../../../include/tst_test.h:180, from quotactl02.h:14, from quotactl05.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/quotactl/quotactl03 In file included from quotactl02.h:15: quotactl_syscall_var.h: At top level: quotactl_syscall_var.h:24:13: warning: 'quotactl_info' defined but not used [-Wunused-function] 24 | static void quotactl_info(void) | ^~~~~~~~~~~~~ quotactl_syscall_var.h:17:12: warning: 'do_quotactl' defined but not used [-Wunused-function] 17 | static int do_quotactl(int fd, int cmd, const char *special, int id, caddr_t addr) | ^~~~~~~~~~~ quotactl_syscall_var.h:15:12: warning: 'fd' defined but not used [-Wunused-variable] 15 | static int fd = -1; | ^~ In file included from ../../../../include/tst_test.h:180, from quotactl06.c:42: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from quotactl07.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/quotactl/quotactl05 CC testcases/kernel/syscalls/quotactl/quotactl04 In file included from quotactl07.c:22: quotactl_syscall_var.h: At top level: quotactl_syscall_var.h:24:13: warning: 'quotactl_info' defined but not used [-Wunused-function] 24 | static void quotactl_info(void) | ^~~~~~~~~~~~~ quotactl_syscall_var.h:17:12: warning: 'do_quotactl' defined but not used [-Wunused-function] 17 | static int do_quotactl(int fd, int cmd, const char *special, int id, caddr_t addr) | ^~~~~~~~~~~ quotactl_syscall_var.h:15:12: warning: 'fd' defined but not used [-Wunused-variable] 15 | static int fd = -1; | ^~ In file included from ../../../../include/tst_test.h:180, from quotactl08.c:41: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from quotactl09.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/quotactl/quotactl07 CC testcases/kernel/syscalls/quotactl/quotactl06 CC testcases/kernel/syscalls/quotactl/quotactl08 CC testcases/kernel/syscalls/quotactl/quotactl09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all /usr/bin/make -C /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/lib -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/lib/Makefile" all BUILD libltpnuma.a make[6]: Nothing to be done for 'all'. GEN ltp-version.h In file included from ../../../include/tst_test.h:180, from ksm_helper.c:10: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/lib/ksm_helper.o CC testcases/kernel/lib/numa_helper.o AR libkerntest.a RANLIB libkerntest.a In file included from ../../../../include/tst_test.h:180, from mbind03.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mbind01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mbind04.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mbind02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mbind/mbind03 CC testcases/kernel/syscalls/mbind/mbind02 CC testcases/kernel/syscalls/mbind/mbind01 CC testcases/kernel/syscalls/mbind/mbind04 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. mmap01.c: In function 'setup': mmap01.c:186:39: warning: '%s' directive writing up to 4095 bytes into a region of size 4087 [-Wformat-overflow=] 186 | sprintf(cmd_buffer, "grep XYZ %s/%s > /dev/null", Path_name, TEMPFILE); | ^~ ~~~~~~~~~ mmap01.c:186:9: note: 'sprintf' output between 31 and 4126 bytes into a destination of size 4096 186 | sprintf(cmd_buffer, "grep XYZ %s/%s > /dev/null", Path_name, TEMPFILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../../include/tst_test.h:180, from mmap02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mmap/mmap01 CC testcases/kernel/syscalls/mmap/mmap001 CC testcases/kernel/syscalls/mmap/mmap02 In file included from ../../../../include/tst_test.h:180, from mmap05.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mmap/mmap03 In file included from ../../../../include/tst_test.h:180, from mmap04.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mmap08.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mmap06.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mmap/mmap05 CC testcases/kernel/syscalls/mmap/mmap08 In file included from ../../../../include/tst_test.h:180, from mmap09.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mmap/mmap06 CC testcases/kernel/syscalls/mmap/mmap04 In file included from ../../../../include/tst_test.h:180, from mmap12.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} mmap11.c: In function 'wait_thread': mmap11.c:128:25: warning: unused parameter 'args' [-Wunused-parameter] 128 | void *wait_thread(void *args) | ~~~~~~^~~~ mmap11.c: In function 'wait_thread2': mmap11.c:139:26: warning: unused parameter 'args' [-Wunused-parameter] 139 | void *wait_thread2(void *args) | ~~~~~~^~~~ CC testcases/kernel/syscalls/mmap/mmap09 CC testcases/kernel/syscalls/mmap/mmap10 CC testcases/kernel/syscalls/mmap/mmap11 In file included from ../../../../include/tst_test.h:180, from mmap13.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mmap/mmap12 In file included from ../../../../include/tst_test.h:180, from mmap15.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mmap16.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mmap/mmap13 CC testcases/kernel/syscalls/mmap/mmap15 CC testcases/kernel/syscalls/mmap/mmap14 In file included from ../../../../include/tst_test.h:180, from mmap17.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mmap19.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mmap18.c:56: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} mmap18.c: In function 'allocate_stack': ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'long unsigned int' [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mmap18.c:105:9: note: in expansion of macro 'tst_res' 105 | tst_res(TINFO, "mapped pages %zu, stack pages %zu", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mmap18.c:105:9: note: in expansion of macro 'tst_res' 105 | tst_res(TINFO, "mapped pages %zu, stack pages %zu", | ^~~~~~~ mmap18.c: In function 'check_depth_recursive': mmap18.c:113:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 113 | if ((off_t) &limit < (off_t) limit) { | ^ mmap18.c:113:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 113 | if ((off_t) &limit < (off_t) limit) { | ^ CC testcases/kernel/syscalls/mmap/mmap17 CC testcases/kernel/syscalls/mmap/mmap16 CC testcases/kernel/syscalls/mmap/mmap19 In file included from ../../../../include/tst_test.h:180, from mmap20.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mmap/mmap18 CC testcases/kernel/syscalls/mmap/mmap20 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from remap_file_pages02.c:43: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/remap_file_pages/remap_file_pages02 CC testcases/kernel/syscalls/remap_file_pages/remap_file_pages01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. sigaction02.c:53: warning: "_GNU_SOURCE" redefined 53 | #define _GNU_SOURCE | : note: this is the location of the previous definition sigaction01.c: In function 'handler': sigaction01.c:89:46: warning: unused parameter 'ucp' [-Wunused-parameter] 89 | void handler(int sig, siginfo_t * sip, void *ucp) | ~~~~~~^~~ CC testcases/kernel/syscalls/sigaction/sigaction02 CC testcases/kernel/syscalls/sigaction/sigaction01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from sched_rr_get_interval03.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from sched_rr_get_interval02.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from sched_rr_get_interval01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval02 CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval03 CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from wait401.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from wait403.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from wait402.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/wait4/wait403 CC testcases/kernel/syscalls/wait4/wait401 CC testcases/kernel/syscalls/wait4/wait402 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from settimeofday01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from settimeofday02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/settimeofday/settimeofday01 CC testcases/kernel/syscalls/settimeofday/settimeofday02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sched_get_priority_min01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_get_priority_min02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min01 CC testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from chown01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chown02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chown03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/chown/chown01.o CC testcases/kernel/syscalls/chown/chown03.o CC testcases/kernel/syscalls/chown/chown01_16.o In file included from ../../../../include/tst_test.h:180, from chown04.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/chown/chown02.o CC testcases/kernel/syscalls/chown/chown02_16.o In file included from ../../../../include/tst_test.h:180, from chown01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chown05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/chown/chown04.o CC testcases/kernel/syscalls/chown/chown03_16.o In file included from ../../../../include/tst_test.h:180, from chown02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/chown/chown05.o CC testcases/kernel/syscalls/chown/chown04_16.o In file included from ../../../../include/tst_test.h:180, from chown03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chown04.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/chown/chown05_16.o In file included from ../../../../include/tst_test.h:180, from chown05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/chown/chown01 LD testcases/kernel/syscalls/chown/chown03 LD testcases/kernel/syscalls/chown/chown02 LD testcases/kernel/syscalls/chown/chown05 LD testcases/kernel/syscalls/chown/chown04 LD testcases/kernel/syscalls/chown/chown02_16 LD testcases/kernel/syscalls/chown/chown01_16 LD testcases/kernel/syscalls/chown/chown03_16 LD testcases/kernel/syscalls/chown/chown04_16 LD testcases/kernel/syscalls/chown/chown05_16 rm chown02.o chown03.o chown02_16.o chown05.o chown01_16.o chown03_16.o chown05_16.o chown04.o chown04_16.o chown01.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/fcntl/fcntl03_64.o CC testcases/kernel/syscalls/fcntl/fcntl01_64.o CC testcases/kernel/syscalls/fcntl/fcntl02_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fcntl02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fcntl03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl04_64.o CC testcases/kernel/syscalls/fcntl/fcntl05_64.o CC testcases/kernel/syscalls/fcntl/fcntl07_64.o CC testcases/kernel/syscalls/fcntl/fcntl08_64.o In file included from ../../../../include/tst_test.h:180, from fcntl05.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl08.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl09_64.o CC testcases/kernel/syscalls/fcntl/fcntl10_64.o CC testcases/kernel/syscalls/fcntl/fcntl11_64.o CC testcases/kernel/syscalls/fcntl/fcntl12_64.o CC testcases/kernel/syscalls/fcntl/fcntl14_64.o CC testcases/kernel/syscalls/fcntl/fcntl13_64.o In file included from ../../../../include/tst_test.h:180, from fcntl12.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} fcntl14.c: In function 'catch_alarm': fcntl14.c:881:22: warning: unused parameter 'sig' [-Wunused-parameter] 881 | void catch_alarm(int sig) | ~~~~^~~ fcntl14.c: In function 'catch1': fcntl14.c:896:17: warning: unused parameter 'sig' [-Wunused-parameter] 896 | void catch1(int sig) | ~~~~^~~ In file included from ../../../../include/tst_test.h:180, from fcntl13.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl15_64.o CC testcases/kernel/syscalls/fcntl/fcntl16_64.o In file included from ../../../../include/tst_test.h:180, from fcntl15.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} fcntl16.c: In function 'catch_alarm': fcntl16.c:338:22: warning: unused parameter 'sig' [-Wunused-parameter] 338 | void catch_alarm(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_usr1': fcntl16.c:343:21: warning: unused parameter 'sig' [-Wunused-parameter] 343 | void catch_usr1(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_usr2': fcntl16.c:352:21: warning: unused parameter 'sig' [-Wunused-parameter] 352 | void catch_usr2(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_int': fcntl16.c:361:20: warning: unused parameter 'sig' [-Wunused-parameter] 361 | void catch_int(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/fcntl/fcntl17_64.o CC testcases/kernel/syscalls/fcntl/fcntl18_64.o CC testcases/kernel/syscalls/fcntl/fcntl20_64.o CC testcases/kernel/syscalls/fcntl/fcntl19_64.o CC testcases/kernel/syscalls/fcntl/fcntl21_64.o CC testcases/kernel/syscalls/fcntl/fcntl22_64.o CC testcases/kernel/syscalls/fcntl/fcntl23_64.o CC testcases/kernel/syscalls/fcntl/fcntl24_64.o CC testcases/kernel/syscalls/fcntl/fcntl25_64.o CC testcases/kernel/syscalls/fcntl/fcntl26_64.o CC testcases/kernel/syscalls/fcntl/fcntl27_64.o CC testcases/kernel/syscalls/fcntl/fcntl29_64.o In file included from ../../../../include/tst_test.h:180, from fcntl29.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl27.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl30_64.o CC testcases/kernel/syscalls/fcntl/fcntl31_64.o CC testcases/kernel/syscalls/fcntl/fcntl32_64.o In file included from ../../../../include/tst_test.h:180, from fcntl30.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl33_64.o CC testcases/kernel/syscalls/fcntl/fcntl34_64.o In file included from ../../../../include/tst_test.h:180, from fcntl33.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl_common.h:6, from fcntl34.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl35_64.o fcntl33.c: In function 'do_test': ../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ fcntl33.c:122:25: note: in expansion of macro 'tst_res' 122 | tst_res(TFAIL | TTERRNO, | ^~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl36_64.o In file included from ../../../../include/tst_test.h:180, from fcntl35.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl37_64.o CC testcases/kernel/syscalls/fcntl/fcntl38_64.o In file included from ../../../../include/tst_test.h:180, from fcntl36.c:43: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl37.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl39_64.o In file included from ../../../../include/tst_test.h:180, from fcntl38.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl39.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl02 In file included from ../../../../include/tst_test.h:180, from fcntl04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl05.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl01 CC testcases/kernel/syscalls/fcntl/fcntl04 CC testcases/kernel/syscalls/fcntl/fcntl03 In file included from ../../../../include/tst_test.h:180, from fcntl08.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl05 CC testcases/kernel/syscalls/fcntl/fcntl07 CC testcases/kernel/syscalls/fcntl/fcntl09 CC testcases/kernel/syscalls/fcntl/fcntl08 CC testcases/kernel/syscalls/fcntl/fcntl10 In file included from ../../../../include/tst_test.h:180, from fcntl12.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} fcntl14.c: In function 'catch_alarm': fcntl14.c:881:22: warning: unused parameter 'sig' [-Wunused-parameter] 881 | void catch_alarm(int sig) | ~~~~^~~ fcntl14.c: In function 'catch1': fcntl14.c:896:17: warning: unused parameter 'sig' [-Wunused-parameter] 896 | void catch1(int sig) | ~~~~^~~ In file included from ../../../../include/tst_test.h:180, from fcntl13.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl12 In file included from ../../../../include/tst_test.h:180, from fcntl15.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl13 fcntl16.c: In function 'catch_alarm': fcntl16.c:338:22: warning: unused parameter 'sig' [-Wunused-parameter] 338 | void catch_alarm(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_usr1': fcntl16.c:343:21: warning: unused parameter 'sig' [-Wunused-parameter] 343 | void catch_usr1(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_usr2': fcntl16.c:352:21: warning: unused parameter 'sig' [-Wunused-parameter] 352 | void catch_usr2(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_int': fcntl16.c:361:20: warning: unused parameter 'sig' [-Wunused-parameter] 361 | void catch_int(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/fcntl/fcntl11 CC testcases/kernel/syscalls/fcntl/fcntl15 CC testcases/kernel/syscalls/fcntl/fcntl14 CC testcases/kernel/syscalls/fcntl/fcntl18 CC testcases/kernel/syscalls/fcntl/fcntl16 CC testcases/kernel/syscalls/fcntl/fcntl17 CC testcases/kernel/syscalls/fcntl/fcntl19 CC testcases/kernel/syscalls/fcntl/fcntl20 CC testcases/kernel/syscalls/fcntl/fcntl22 CC testcases/kernel/syscalls/fcntl/fcntl23 CC testcases/kernel/syscalls/fcntl/fcntl25 CC testcases/kernel/syscalls/fcntl/fcntl24 In file included from ../../../../include/tst_test.h:180, from fcntl27.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl29.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl26 In file included from ../../../../include/tst_test.h:180, from fcntl30.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl29 CC testcases/kernel/syscalls/fcntl/fcntl27 CC testcases/kernel/syscalls/fcntl/fcntl30 In file included from ../../../../include/tst_test.h:180, from fcntl33.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl21 CC testcases/kernel/syscalls/fcntl/fcntl32 fcntl33.c: In function 'do_test': ../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ fcntl33.c:122:25: note: in expansion of macro 'tst_res' 122 | tst_res(TFAIL | TTERRNO, | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from fcntl_common.h:6, from fcntl34.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl35.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl34 CC testcases/kernel/syscalls/fcntl/fcntl31 CC testcases/kernel/syscalls/fcntl/fcntl33 In file included from ../../../../include/tst_test.h:180, from fcntl36.c:43: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl35 In file included from ../../../../include/tst_test.h:180, from fcntl37.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl38.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fcntl39.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fcntl/fcntl37 CC testcases/kernel/syscalls/fcntl/fcntl38 LD testcases/kernel/syscalls/fcntl/fcntl01_64 CC testcases/kernel/syscalls/fcntl/fcntl36 CC testcases/kernel/syscalls/fcntl/fcntl39 LD testcases/kernel/syscalls/fcntl/fcntl02_64 LD testcases/kernel/syscalls/fcntl/fcntl03_64 LD testcases/kernel/syscalls/fcntl/fcntl05_64 LD testcases/kernel/syscalls/fcntl/fcntl04_64 LD testcases/kernel/syscalls/fcntl/fcntl07_64 LD testcases/kernel/syscalls/fcntl/fcntl08_64 LD testcases/kernel/syscalls/fcntl/fcntl09_64 LD testcases/kernel/syscalls/fcntl/fcntl11_64 LD testcases/kernel/syscalls/fcntl/fcntl10_64 LD testcases/kernel/syscalls/fcntl/fcntl12_64 LD testcases/kernel/syscalls/fcntl/fcntl14_64 LD testcases/kernel/syscalls/fcntl/fcntl16_64 LD testcases/kernel/syscalls/fcntl/fcntl13_64 LD testcases/kernel/syscalls/fcntl/fcntl17_64 LD testcases/kernel/syscalls/fcntl/fcntl15_64 LD testcases/kernel/syscalls/fcntl/fcntl18_64 LD testcases/kernel/syscalls/fcntl/fcntl19_64 LD testcases/kernel/syscalls/fcntl/fcntl21_64 LD testcases/kernel/syscalls/fcntl/fcntl20_64 LD testcases/kernel/syscalls/fcntl/fcntl22_64 LD testcases/kernel/syscalls/fcntl/fcntl25_64 LD testcases/kernel/syscalls/fcntl/fcntl23_64 LD testcases/kernel/syscalls/fcntl/fcntl24_64 LD testcases/kernel/syscalls/fcntl/fcntl26_64 LD testcases/kernel/syscalls/fcntl/fcntl27_64 LD testcases/kernel/syscalls/fcntl/fcntl29_64 LD testcases/kernel/syscalls/fcntl/fcntl30_64 LD testcases/kernel/syscalls/fcntl/fcntl32_64 LD testcases/kernel/syscalls/fcntl/fcntl31_64 LD testcases/kernel/syscalls/fcntl/fcntl34_64 LD testcases/kernel/syscalls/fcntl/fcntl35_64 LD testcases/kernel/syscalls/fcntl/fcntl33_64 LD testcases/kernel/syscalls/fcntl/fcntl36_64 LD testcases/kernel/syscalls/fcntl/fcntl38_64 LD testcases/kernel/syscalls/fcntl/fcntl37_64 LD testcases/kernel/syscalls/fcntl/fcntl39_64 rm fcntl22_64.o fcntl27_64.o fcntl08_64.o fcntl19_64.o fcntl15_64.o fcntl23_64.o fcntl39_64.o fcntl09_64.o fcntl30_64.o fcntl35_64.o fcntl31_64.o fcntl14_64.o fcntl25_64.o fcntl36_64.o fcntl32_64.o fcntl07_64.o fcntl18_64.o fcntl34_64.o fcntl38_64.o fcntl01_64.o fcntl24_64.o fcntl37_64.o fcntl05_64.o fcntl10_64.o fcntl33_64.o fcntl16_64.o fcntl02_64.o fcntl11_64.o fcntl17_64.o fcntl04_64.o fcntl20_64.o fcntl29_64.o fcntl03_64.o fcntl12_64.o fcntl21_64.o fcntl26_64.o fcntl13_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from clock_adjtime.h:11, from clock_adjtime02.c:58: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from clock_adjtime.h:11, from clock_adjtime01.c:57: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clock_adjtime/clock_adjtime02 CC testcases/kernel/syscalls/clock_adjtime/clock_adjtime01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpsigwait.a GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from rt_sigtimedwait01.c:4: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rt_sigtimedwait/rt_sigtimedwait01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pidfd_send_signal02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidfd_send_signal01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidfd_send_signal03.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal01 CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal02 CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from dup204.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dup202.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dup201.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dup203.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/dup2/dup204 CC testcases/kernel/syscalls/dup2/dup201 In file included from ../../../../include/tst_test.h:180, from dup205.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/dup2/dup202 In file included from ../../../../include/tst_test.h:180, from dup206.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/dup2/dup203 In file included from ../../../../include/tst_test.h:180, from dup207.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/dup2/dup205 CC testcases/kernel/syscalls/dup2/dup206 CC testcases/kernel/syscalls/dup2/dup207 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from waitpid01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitpid_common.h:13, from waitpid06.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitpid04.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitpid03.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/waitpid/waitpid01 CC testcases/kernel/syscalls/waitpid/waitpid04 In file included from ../../../../include/tst_test.h:180, from waitpid_common.h:13, from waitpid07.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/waitpid/waitpid06 CC testcases/kernel/syscalls/waitpid/waitpid03 In file included from ../../../../include/tst_test.h:180, from waitpid_common.h:13, from waitpid08.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitpid09.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitpid_common.h:13, from waitpid10.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/waitpid/waitpid07 CC testcases/kernel/syscalls/waitpid/waitpid09 In file included from ../../../../include/tst_test.h:180, from waitpid_common.h:13, from waitpid11.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitpid_common.h:13, from waitpid12.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/waitpid/waitpid08 CC testcases/kernel/syscalls/waitpid/waitpid10 In file included from ../../../../include/tst_test.h:180, from waitpid_common.h:13, from waitpid13.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/waitpid/waitpid12 CC testcases/kernel/syscalls/waitpid/waitpid11 CC testcases/kernel/syscalls/waitpid/waitpid13 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sched_setattr/sched_setattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mount_setattr01.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mount_setattr/mount_setattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from uname01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from uname04.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from uname02.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/uname/uname04 CC testcases/kernel/syscalls/uname/uname01 CC testcases/kernel/syscalls/uname/uname02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/lapi/init_module.h:11, from finit_module01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/lapi/init_module.h:11, from finit_module02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/finit_module/finit_module01 CC testcases/kernel/syscalls/finit_module/finit_module02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from utimensat01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} utimensat01.c: In function 'reset_time': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utimensat01.c:217:17: note: in expansion of macro 'tst_res' 217 | tst_res(TFAIL, "Failed to reset access and modification time (%lu: %lu)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utimensat01.c:217:17: note: in expansion of macro 'tst_res' 217 | tst_res(TFAIL, "Failed to reset access and modification time (%lu: %lu)", | ^~~~~~~ CC testcases/kernel/syscalls/utimensat/utimensat01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from ppoll01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ppoll/ppoll01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from syscall01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/syscall/syscall01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fsopen01.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fsopen02.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fsopen/fsopen02 CC testcases/kernel/syscalls/fsopen/fsopen01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sched_yield/sched_yield01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from process_vm_writev02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from process_vm_readv02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from process_vm_readv03.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from process_vm01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/cma/process_vm_writev02 CC testcases/kernel/syscalls/cma/process_vm_readv02 CC testcases/kernel/syscalls/cma/process_vm01 CC testcases/kernel/syscalls/cma/process_vm_readv03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from rmdir01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from rmdir03.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from rmdir02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rmdir/rmdir01 CC testcases/kernel/syscalls/rmdir/rmdir03 CC testcases/kernel/syscalls/rmdir/rmdir02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from abort01.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} abort01.c: In function 'setup': ../../../../include/tst_test.h:120:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ abort01.c:81:25: note: in expansion of macro 'tst_brk' 81 | tst_brk(TCONF, "hard limit(%lu)less than MIN_RLIMT_CORE(%i)", | ^~~~~~~ CC testcases/kernel/syscalls/abort/abort01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpsigwait.a GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/libsigwait.h:10, from sigtimedwait01.c:4: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sigtimedwait/sigtimedwait01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from epoll-ltp.c:99: epoll-ltp.c: In function 'main': ../../../../include/old/test.h:106:19: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__suseconds_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ epoll-ltp.c:705:9: note: in expansion of macro 'tst_resm' 705 | tst_resm(TINFO, | ^~~~~~~~ CC testcases/kernel/syscalls/epoll/epoll-ltp /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pipe01.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pipe03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pipe02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pipe/pipe01 CC testcases/kernel/syscalls/pipe/pipe03 CC testcases/kernel/syscalls/pipe/pipe02 In file included from ../../../../include/tst_test.h:180, from pipe06.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pipe/pipe04 CC testcases/kernel/syscalls/pipe/pipe05 In file included from ../../../../include/tst_test.h:180, from pipe08.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pipe07.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pipe/pipe06 CC testcases/kernel/syscalls/pipe/pipe08 In file included from ../../../../include/tst_test.h:180, from pipe10.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pipe11.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pipe/pipe07 CC testcases/kernel/syscalls/pipe/pipe10 CC testcases/kernel/syscalls/pipe/pipe09 In file included from ../../../../include/tst_test.h:180, from pipe12.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} pipe12.c: In function 'verify_pipe': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'ssize_t' {aka 'int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ pipe12.c:71:25: note: in expansion of macro 'tst_res' 71 | tst_res(TFAIL, "write expected %ld bytes, got %d bytes", | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from pipe13.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pipe14.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pipe/pipe11 In file included from ../../../../include/tst_test.h:180, from pipe15.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pipe/pipe13 pipe15.c: In function 'setup': ../../../../include/tst_test.h:120:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ pipe15.c:64:17: note: in expansion of macro 'tst_brk' 64 | tst_brk(TCONF, "NOFILE limit max too low: %lu < %i", nfd.rlim_max, pipe_count); | ^~~~~~~ CC testcases/kernel/syscalls/pipe/pipe12 CC testcases/kernel/syscalls/pipe/pipe14 CC testcases/kernel/syscalls/pipe/pipe15 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pidfd_open02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidfd_open04.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidfd_open01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidfd_open03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pidfd_open/pidfd_open04 CC testcases/kernel/syscalls/pidfd_open/pidfd_open01 CC testcases/kernel/syscalls/pidfd_open/pidfd_open02 CC testcases/kernel/syscalls/pidfd_open/pidfd_open03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from gethostid01.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/gethostid/gethostid01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from lseek11.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from lseek07.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from lseek01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from lseek02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/lseek/lseek01 CC testcases/kernel/syscalls/lseek/lseek02 CC testcases/kernel/syscalls/lseek/lseek07 CC testcases/kernel/syscalls/lseek/lseek11 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from kcmp03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from kcmp01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from kcmp02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/kcmp/kcmp01 CC testcases/kernel/syscalls/kcmp/kcmp02 CC testcases/kernel/syscalls/kcmp/kcmp03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/linkat/linkat01 CC testcases/kernel/syscalls/linkat/linkat02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from bpf_common.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/bpf/bpf_common.o In file included from ../../../../include/tst_test.h:180, from bpf_prog03.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from bpf_map01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from bpf_prog02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from bpf_prog01.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} bpf_prog01.c: In function 'run': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ bpf_prog01.c:91:17: note: in expansion of macro 'tst_res' 91 | tst_res(TFAIL, | ^~~~~~~ CC testcases/kernel/syscalls/bpf/bpf_map01 CC testcases/kernel/syscalls/bpf/bpf_prog01 In file included from ../../../../include/tst_test.h:180, from bpf_prog04.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/bpf/bpf_prog02 CC testcases/kernel/syscalls/bpf/bpf_prog03 In file included from ../../../../include/tst_test.h:180, from bpf_prog06.c:43: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from bpf_prog05.c:50: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/bpf/bpf_prog04 In file included from ../../../../include/tst_test.h:180, from bpf_prog07.c:43: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/bpf/bpf_prog06 CC testcases/kernel/syscalls/bpf/bpf_prog07 CC testcases/kernel/syscalls/bpf/bpf_prog05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from realpath01.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/realpath/realpath01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mkdir05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mkdir03.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mkdir02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mkdir04.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mkdir/mkdir04 CC testcases/kernel/syscalls/mkdir/mkdir03 CC testcases/kernel/syscalls/mkdir/mkdir05 CC testcases/kernel/syscalls/mkdir/mkdir02 In file included from ../../../../include/tst_test.h:180, from mkdir09.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mkdir/mkdir09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/mq_timedsend/../utils/mq.h:9, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/syscalls/mq_timedsend/../utils/mq_timed.h:9, from mq_timedsend01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} mq_timedsend01.c: In function 'do_test': mq_timedsend01.c:238:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare] 238 | if (tc->len != TST_RET) { | ^~ CC testcases/kernel/syscalls/mq_timedsend/mq_timedsend01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/fstatat/fstatat01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/newuname/newuname01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from capget01.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from capget02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/capget/capget01 CC testcases/kernel/syscalls/capget/capget02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from clock_nanosleep02.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_nanosleep03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_nanosleep04.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_nanosleep01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep02 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep04 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep03 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../mallinfo/mallinfo_common.h:12, from mallopt01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mallopt/mallopt01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h move_pages_support.c: In function 'free_pages': move_pages_support.c:43:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 43 | for (i = 0; i < num; i++) { | ^ move_pages_support.c: In function 'alloc_pages_linear': move_pages_support.c:129:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 129 | if (n >= num_allowed_nodes) | ^~ move_pages_support.c: In function 'verify_pages_linear': move_pages_support.c:233:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 233 | if (n >= num_allowed_nodes) | ^~ move_pages_support.c: In function 'alloc_shared_pages_on_node': move_pages_support.c:275:13: warning: variable 'nodes' set but not used [-Wunused-but-set-variable] 275 | int nodes[num]; | ^~~~~ move_pages_support.c: In function 'check_config': move_pages_support.c:406:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 406 | if (num_allowed_nodes < min_nodes) { | ^ make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/move_pages/move_pages_support.o CC testcases/kernel/syscalls/move_pages/move_pages02 CC testcases/kernel/syscalls/move_pages/move_pages04 CC testcases/kernel/syscalls/move_pages/move_pages01 CC testcases/kernel/syscalls/move_pages/move_pages03 CC testcases/kernel/syscalls/move_pages/move_pages06 CC testcases/kernel/syscalls/move_pages/move_pages07 CC testcases/kernel/syscalls/move_pages/move_pages05 CC testcases/kernel/syscalls/move_pages/move_pages09 In file included from ../../../../include/tst_test.h:180, from move_pages12.c:73: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/move_pages/move_pages10 CC testcases/kernel/syscalls/move_pages/move_pages11 CC testcases/kernel/syscalls/move_pages/move_pages12 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from gethostname02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from gethostname01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/gethostname/gethostname02 CC testcases/kernel/syscalls/gethostname/gethostname01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_safe_clocks.h:13, from timer_getoverrun01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/timer_getoverrun/timer_getoverrun01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sched_setaffinity01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from epoll_ctl01.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from epoll_ctl02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from epoll_ctl03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from epoll_ctl04.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl02 CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl03 In file included from ../../../../include/tst_test.h:180, from epoll_ctl05.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl01 CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl04 CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fgetxattr03.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fgetxattr01.c:34: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fgetxattr02.c:50: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fgetxattr/fgetxattr03 CC testcases/kernel/syscalls/fgetxattr/fgetxattr02 CC testcases/kernel/syscalls/fgetxattr/fgetxattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from io_cancel02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from io_cancel01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/io_cancel/io_cancel02 CC testcases/kernel/syscalls/io_cancel/io_cancel01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mq_open01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mq_open/mq_open01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from epoll_create1_01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from epoll_create1_02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_create1/epoll_create1_02 CC testcases/kernel/syscalls/epoll_create1/epoll_create1_01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from execveat01.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execveat02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execveat_child.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execveat03.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} execveat01.c: In function 'setup': execveat01.c:72:35: warning: '%s' directive writing 22 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 72 | sprintf(app_abs_path, "%s/%s", cur_dir_path, TEST_REL_APP); | ^~ execveat01.c:72:9: note: 'sprintf' output between 24 and 535 bytes into a destination of size 512 72 | sprintf(app_abs_path, "%s/%s", cur_dir_path, TEST_REL_APP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execveat02.c: In function 'setup': execveat02.c:80:35: warning: '%s' directive writing 22 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 80 | sprintf(app_abs_path, "%s/%s", cur_dir_path, TEST_REL_APP); | ^~ execveat02.c:80:9: note: 'sprintf' output between 24 and 535 bytes into a destination of size 512 80 | sprintf(app_abs_path, "%s/%s", cur_dir_path, TEST_REL_APP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execveat02.c:81:35: warning: '%s' directive writing 24 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 81 | sprintf(app_sym_path, "%s/%s", cur_dir_path, TEST_ERL_SYMLINK); | ^~ execveat02.c:81:9: note: 'sprintf' output between 26 and 537 bytes into a destination of size 512 81 | sprintf(app_sym_path, "%s/%s", cur_dir_path, TEST_ERL_SYMLINK); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/execveat/execveat_child CC testcases/kernel/syscalls/execveat/execveat01 CC testcases/kernel/syscalls/execveat/execveat02 In file included from ../../../../include/tst_test.h:180, from execveat_errno.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execveat/execveat03 CC testcases/kernel/syscalls/execveat/execveat_errno /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpsigwait.a make[6]: Nothing to be done for 'all'. GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/libsigwait.h:10, from sigwaitinfo01.c:4: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from dup3_02.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dup3_01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/dup3/dup3_02 CC testcases/kernel/syscalls/dup3/dup3_01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from wait01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from wait02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/wait/wait01 CC testcases/kernel/syscalls/wait/wait02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/getuid/getuid01_16.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from getuid01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getuid03.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getuid01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/getuid/getuid03_16.o CC testcases/kernel/syscalls/getuid/getuid03.o CC testcases/kernel/syscalls/getuid/getuid01.o In file included from ../../../../include/tst_test.h:180, from getuid03.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/getuid/getuid03 LD testcases/kernel/syscalls/getuid/getuid01_16 LD testcases/kernel/syscalls/getuid/getuid01 LD testcases/kernel/syscalls/getuid/getuid03_16 rm getuid01_16.o getuid03.o getuid03_16.o getuid01.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from readahead01.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from readahead02.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} readahead02.c: In function 'read_testfile': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ readahead02.c:185:25: note: in expansion of macro 'tst_res' 185 | tst_res(TFAIL, "offset has changed to: %lu", offset); | ^~~~~~~ CC testcases/kernel/syscalls/readahead/readahead01 CC testcases/kernel/syscalls/readahead/readahead02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/pwritev/pwritev03_64.o CC testcases/kernel/syscalls/pwritev/pwritev02_64.o CC testcases/kernel/syscalls/pwritev/pwritev01_64.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from pwritev03.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pwritev02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pwritev01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pwritev01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pwritev02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/pwritev/pwritev02_64 In file included from ../../../../include/tst_test.h:180, from pwritev03.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/pwritev/pwritev03_64 CC testcases/kernel/syscalls/pwritev/pwritev01 CC testcases/kernel/syscalls/pwritev/pwritev02 LD testcases/kernel/syscalls/pwritev/pwritev01_64 CC testcases/kernel/syscalls/pwritev/pwritev03 rm pwritev01_64.o pwritev02_64.o pwritev03_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/get_robust_list/get_robust_list01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from statx04.c:56: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statx03.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statx01.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statx02.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/statx/statx02 CC testcases/kernel/syscalls/statx/statx04 CC testcases/kernel/syscalls/statx/statx03 In file included from ../../../../include/tst_test.h:180, from statx05.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statx06.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/statx/statx01 In file included from ../../../../include/tst_test.h:180, from statx08.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statx07.c:40: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/statx/statx05 CC testcases/kernel/syscalls/statx/statx07 In file included from ../../../../include/tst_test.h:180, from statx09.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/statx/statx06 In file included from ../../../../include/tst_test.h:180, from statx10.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statx11.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/statx/statx08 In file included from ../../../../include/tst_test.h:180, from statx12.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/statx/statx10 CC testcases/kernel/syscalls/statx/statx09 CC testcases/kernel/syscalls/statx/statx11 CC testcases/kernel/syscalls/statx/statx12 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from tkill02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from tkill01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/tkill/tkill02 CC testcases/kernel/syscalls/tkill/tkill01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ioprio_set03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioprio_set02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioprio_get01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioprio_set01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioprio/ioprio_set03 CC testcases/kernel/syscalls/ioprio/ioprio_get01 CC testcases/kernel/syscalls/ioprio/ioprio_set01 CC testcases/kernel/syscalls/ioprio/ioprio_set02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/stat/stat02_64.o CC testcases/kernel/syscalls/stat/stat01_64.o CC testcases/kernel/syscalls/stat/stat03_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from stat03.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from stat01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from stat02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} stat02.c: In function 'verify': ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ stat02.c:62:17: note: in expansion of macro 'tst_res' 62 | tst_res(TFAIL, "file size (%zu) not as expected (%zu) bytes", | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from stat01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from stat02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} stat02.c: In function 'verify': ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ stat02.c:62:17: note: in expansion of macro 'tst_res' 62 | tst_res(TFAIL, "file size (%zu) not as expected (%zu) bytes", | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from stat03.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/stat/stat02_64 CC testcases/kernel/syscalls/stat/stat01 LD testcases/kernel/syscalls/stat/stat03_64 CC testcases/kernel/syscalls/stat/stat03 CC testcases/kernel/syscalls/stat/stat02 LD testcases/kernel/syscalls/stat/stat01_64 rm stat01_64.o stat02_64.o stat03_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getpgid02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getpgid01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getpgid/getpgid01 CC testcases/kernel/syscalls/getpgid/getpgid02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from openat203.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from openat202.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from openat201.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/openat2/openat203 CC testcases/kernel/syscalls/openat2/openat202 CC testcases/kernel/syscalls/openat2/openat201 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/lapi/init_module.h:11, from init_module01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/lapi/init_module.h:11, from init_module02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/init_module/init_module01 CC testcases/kernel/syscalls/init_module/init_module02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ssetmask/ssetmask01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from setgroups03.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setgroups01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setgroups02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/setgroups/setgroups03.o CC testcases/kernel/syscalls/setgroups/setgroups01_16.o CC testcases/kernel/syscalls/setgroups/setgroups01.o CC testcases/kernel/syscalls/setgroups/setgroups02_16.o CC testcases/kernel/syscalls/setgroups/setgroups02.o CC testcases/kernel/syscalls/setgroups/setgroups03_16.o CC testcases/kernel/syscalls/setgroups/setgroups04.o CC testcases/kernel/syscalls/setgroups/setgroups04_16.o In file included from ../../../../include/tst_test.h:180, from setgroups01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setgroups02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setgroups03.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/setgroups/setgroups01 LD testcases/kernel/syscalls/setgroups/setgroups02 LD testcases/kernel/syscalls/setgroups/setgroups04 LD testcases/kernel/syscalls/setgroups/setgroups03 LD testcases/kernel/syscalls/setgroups/setgroups01_16 LD testcases/kernel/syscalls/setgroups/setgroups03_16 LD testcases/kernel/syscalls/setgroups/setgroups02_16 LD testcases/kernel/syscalls/setgroups/setgroups04_16 rm setgroups01_16.o setgroups03.o setgroups02_16.o setgroups03_16.o setgroups04.o setgroups04_16.o setgroups01.o setgroups02.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setns02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setns01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setns/setns01 CC testcases/kernel/syscalls/setns/setns02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from socketpair02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from socketpair01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/socketpair/socketpair02 CC testcases/kernel/syscalls/socketpair/socketpair01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from unlink05.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from unlink08.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from unlink09.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from unlink07.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/unlink/unlink05 CC testcases/kernel/syscalls/unlink/unlink09 CC testcases/kernel/syscalls/unlink/unlink07 CC testcases/kernel/syscalls/unlink/unlink08 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from readv02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from readv01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/readv/readv02 CC testcases/kernel/syscalls/readv/readv01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sendmsg03.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sendmsg/sendmsg02 CC testcases/kernel/syscalls/sendmsg/sendmsg01 CC testcases/kernel/syscalls/sendmsg/sendmsg03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from adjtimex02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from adjtimex03.c:36: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from adjtimex01.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/adjtimex/adjtimex01 CC testcases/kernel/syscalls/adjtimex/adjtimex03 CC testcases/kernel/syscalls/adjtimex/adjtimex02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from utimes01.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/utimes/utimes01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from membarrier01.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/membarrier/membarrier01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from poll01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from poll02.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/poll/poll01 CC testcases/kernel/syscalls/poll/poll02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/getresgid/getresgid01.o make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/getresgid/getresgid01_16.o CC testcases/kernel/syscalls/getresgid/getresgid02_16.o CC testcases/kernel/syscalls/getresgid/getresgid03.o CC testcases/kernel/syscalls/getresgid/getresgid03_16.o CC testcases/kernel/syscalls/getresgid/getresgid02.o LD testcases/kernel/syscalls/getresgid/getresgid01 LD testcases/kernel/syscalls/getresgid/getresgid03 LD testcases/kernel/syscalls/getresgid/getresgid02 LD testcases/kernel/syscalls/getresgid/getresgid02_16 LD testcases/kernel/syscalls/getresgid/getresgid01_16 LD testcases/kernel/syscalls/getresgid/getresgid03_16 rm getresgid01_16.o getresgid01.o getresgid02.o getresgid03.o getresgid02_16.o getresgid03_16.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sighold02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sighold/sighold02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. rt_sigprocmask01.c: In function 'sig_handler': rt_sigprocmask01.c:69:22: warning: unused parameter 'sig' [-Wunused-parameter] 69 | void sig_handler(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask02 CC testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mq_notify03.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mq_notify01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mq_notify02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mq_notify/mq_notify03 CC testcases/kernel/syscalls/mq_notify/mq_notify02 CC testcases/kernel/syscalls/mq_notify/mq_notify01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setpriority02.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setpriority01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setpriority/setpriority02 CC testcases/kernel/syscalls/setpriority/setpriority01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. sigrelse01.c: In function 'timeout': sigrelse01.c:669:25: warning: unused parameter 'sig' [-Wunused-parameter] 669 | static void timeout(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/sigrelse/sigrelse01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from splice03.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from splice02.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from splice01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from splice04.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} splice02.c: In function 'do_child': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ splice02.c:77:17: note: in expansion of macro 'tst_res' 77 | tst_res(TFAIL, "file size is different from expected: %ld (%d)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ splice02.c:107:17: note: in expansion of macro 'tst_res' 107 | tst_res(TFAIL, "%ld unexpected bytes found", fail); | ^~~~~~~ CC testcases/kernel/syscalls/splice/splice01 CC testcases/kernel/syscalls/splice/splice03 CC testcases/kernel/syscalls/splice/splice04 In file included from ../../../../include/tst_test.h:180, from splice05.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from splice06.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/splice/splice02 In file included from ../../../../include/tst_test.h:180, from splice07.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/splice/splice05 In file included from ../../../../include/tst_test.h:180, from splice08.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/splice/splice07 In file included from ../../../../include/tst_test.h:180, from splice09.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/splice/splice06 CC testcases/kernel/syscalls/splice/splice08 CC testcases/kernel/syscalls/splice/splice09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from times01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from times03.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/times/times01 CC testcases/kernel/syscalls/times/times03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/pread/pread01_64.o CC testcases/kernel/syscalls/pread/pread02_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pread01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pread02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pread02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pread01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pread/pread02 LD testcases/kernel/syscalls/pread/pread02_64 LD testcases/kernel/syscalls/pread/pread01_64 CC testcases/kernel/syscalls/pread/pread01 rm pread01_64.o pread02_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fpathconf01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fpathconf/fpathconf01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mallinfo_common.h:12, from mallinfo02.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mallinfo_common.h:12, from mallinfo01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mallinfo/mallinfo02 CC testcases/kernel/syscalls/mallinfo/mallinfo01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from timerfd02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from timerfd_create01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timerfd04.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timerfd01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/timerfd/timerfd02 CC testcases/kernel/syscalls/timerfd/timerfd_create01 In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timerfd_gettime01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timerfd_settime01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/timerfd/timerfd04 CC testcases/kernel/syscalls/timerfd/timerfd01 CC testcases/kernel/syscalls/timerfd/timerfd_gettime01 In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timerfd_settime02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/timerfd/timerfd_settime01 CC testcases/kernel/syscalls/timerfd/timerfd_settime02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/ftruncate/ftruncate01_64.o CC testcases/kernel/syscalls/ftruncate/ftruncate03_64.o CC testcases/kernel/syscalls/ftruncate/ftruncate04_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ftruncate04.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ftruncate01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ftruncate03.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ftruncate01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ftruncate04.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ftruncate03.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/ftruncate/ftruncate03_64 CC testcases/kernel/syscalls/ftruncate/ftruncate03 CC testcases/kernel/syscalls/ftruncate/ftruncate01 CC testcases/kernel/syscalls/ftruncate/ftruncate04 LD testcases/kernel/syscalls/ftruncate/ftruncate04_64 LD testcases/kernel/syscalls/ftruncate/ftruncate01_64 rm ftruncate03_64.o ftruncate04_64.o ftruncate01_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fanotify03.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify03.c:29: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify01.c:25: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify02.c:25: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify04.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify04.c:25: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} CC testcases/kernel/syscalls/fanotify/fanotify02 CC testcases/kernel/syscalls/fanotify/fanotify03 CC testcases/kernel/syscalls/fanotify/fanotify04 In file included from ../../../../include/tst_test.h:180, from fanotify05.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fanotify06.c:41: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify06.c:44: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from fanotify05.c:32: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify07.c:34: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fanotify/fanotify01 In file included from fanotify07.c:38: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify08.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify08.c:25: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} CC testcases/kernel/syscalls/fanotify/fanotify06 CC testcases/kernel/syscalls/fanotify/fanotify05 CC testcases/kernel/syscalls/fanotify/fanotify08 In file included from ../../../../include/tst_test.h:180, from fanotify09.c:48: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fanotify/fanotify07 In file included from fanotify09.c:51: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify10.c:45: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fanotify11.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify10.c:49: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from fanotify11.c:34: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify12.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify12.c:28: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} CC testcases/kernel/syscalls/fanotify/fanotify11 CC testcases/kernel/syscalls/fanotify/fanotify12 In file included from ../../../../include/tst_test.h:180, from fanotify13.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fanotify/fanotify09 In file included from fanotify13.c:34: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify14.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fanotify15.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify14.c:32: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from fanotify15.c:30: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} CC testcases/kernel/syscalls/fanotify/fanotify10 CC testcases/kernel/syscalls/fanotify/fanotify14 CC testcases/kernel/syscalls/fanotify/fanotify15 In file included from ../../../../include/tst_test.h:180, from fanotify16.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify16.c:33: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} fanotify16.c: In function 'do_test': fanotify16.c:571:57: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 571 | if (((char *)child_fid - (char *)event) >= event->event_len) | ^~ In file included from ../../../../include/tst_test.h:180, from fanotify17.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify17.c:29: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} CC testcases/kernel/syscalls/fanotify/fanotify13 In file included from ../../../../include/tst_test.h:180, from fanotify18.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify18.c:25: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify19.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify19.c:29: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} CC testcases/kernel/syscalls/fanotify/fanotify18 CC testcases/kernel/syscalls/fanotify/fanotify17 In file included from ../../../../include/tst_test.h:180, from fanotify21.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fanotify20.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify21.c:30: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from fanotify20.c:26: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} fanotify21.c: In function 'do_test': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ fanotify21.c:183:25: note: in expansion of macro 'tst_res' 183 | tst_res(TFAIL, | ^~~~~~~ CC testcases/kernel/syscalls/fanotify/fanotify19 CC testcases/kernel/syscalls/fanotify/fanotify20 In file included from ../../../../include/tst_test.h:180, from fanotify22.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify22.c:34: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} In file included from ../../../../include/tst_test.h:180, from fanotify23.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from fanotify23.c:25: fanotify.h: In function 'safe_fanotify_mark': fanotify.h:51:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 51 | "fanotify_mark(%d, 0x%x, 0x%lx, ..., %s) failed", | ~~^ | | | long unsigned int | %llx 52 | fd, flags, mask, pathname); | ~~~~ | | | uint64_t {aka long long unsigned int} CC testcases/kernel/syscalls/fanotify/fanotify21 CC testcases/kernel/syscalls/fanotify/fanotify16 CC testcases/kernel/syscalls/fanotify/fanotify_child CC testcases/kernel/syscalls/fanotify/fanotify22 CC testcases/kernel/syscalls/fanotify/fanotify23 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from readlinkat01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: readlinkat01.c: In function 'verify_readlinkat': readlinkat01.c:58:22: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'unsigned int' [-Wformat=] 58 | "readlinkat(%d, %s, %s, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:63:25: note: in expansion of macro 'TST_MSG_' 63 | TST_MSG_(TFAIL | TTERRNO, " failed", \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:86:17: note: in expansion of macro 'TST_EXP_POSITIVE__' 86 | TST_EXP_POSITIVE__(SCALL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~ readlinkat01.c:57:9: note: in expansion of macro 'TST_EXP_POSITIVE' 57 | TST_EXP_POSITIVE(readlinkat(*tc->fd, *tc->path, buf, sizeof(buf)), | ^~~~~~~~~~~~~~~~ readlinkat01.c:58:48: note: format string is defined here 58 | "readlinkat(%d, %s, %s, %ld)", | ~~^ | | | long int | %d readlinkat01.c:58:22: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'unsigned int' [-Wformat=] 58 | "readlinkat(%d, %s, %s, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:69:25: note: in expansion of macro 'TST_MSGP_' 69 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:86:17: note: in expansion of macro 'TST_EXP_POSITIVE__' 86 | TST_EXP_POSITIVE__(SCALL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~ readlinkat01.c:57:9: note: in expansion of macro 'TST_EXP_POSITIVE' 57 | TST_EXP_POSITIVE(readlinkat(*tc->fd, *tc->path, buf, sizeof(buf)), | ^~~~~~~~~~~~~~~~ readlinkat01.c:58:48: note: format string is defined here 58 | "readlinkat(%d, %s, %s, %ld)", | ~~^ | | | long int | %d readlinkat01.c:58:22: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'unsigned int' [-Wformat=] 58 | "readlinkat(%d, %s, %s, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:89:25: note: in expansion of macro 'TST_MSGP_' 89 | TST_MSGP_(TPASS, " returned %ld", \ | ^~~~~~~~~ readlinkat01.c:57:9: note: in expansion of macro 'TST_EXP_POSITIVE' 57 | TST_EXP_POSITIVE(readlinkat(*tc->fd, *tc->path, buf, sizeof(buf)), | ^~~~~~~~~~~~~~~~ readlinkat01.c:58:48: note: format string is defined here 58 | "readlinkat(%d, %s, %s, %ld)", | ~~^ | | | long int | %d In file included from ../../../../include/tst_test.h:180, from readlinkat02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: readlinkat02.c: In function 'verify_readlinkat': readlinkat02.c:57:37: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 57 | tc->exp_errno, "readlinkat(%d, %s, NULL, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:209:25: note: in expansion of macro 'TST_MSG_' 209 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ readlinkat02.c:56:9: note: in expansion of macro 'TST_EXP_FAIL' 56 | TST_EXP_FAIL(readlinkat(*tc->fd, tc->pathname, buf, tc->bufsiz), | ^~~~~~~~~~~~ readlinkat02.c:57:65: note: format string is defined here 57 | tc->exp_errno, "readlinkat(%d, %s, NULL, %ld)", | ~~^ | | | long int | %d readlinkat02.c:57:37: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 57 | tc->exp_errno, "readlinkat(%d, %s, NULL, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:214:25: note: in expansion of macro 'TST_MSGP_' 214 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ readlinkat02.c:56:9: note: in expansion of macro 'TST_EXP_FAIL' 56 | TST_EXP_FAIL(readlinkat(*tc->fd, tc->pathname, buf, tc->bufsiz), | ^~~~~~~~~~~~ readlinkat02.c:57:65: note: format string is defined here 57 | tc->exp_errno, "readlinkat(%d, %s, NULL, %ld)", | ~~^ | | | long int | %d readlinkat02.c:57:37: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 57 | tc->exp_errno, "readlinkat(%d, %s, NULL, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:223:25: note: in expansion of macro 'TST_MSGP_' 223 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ readlinkat02.c:56:9: note: in expansion of macro 'TST_EXP_FAIL' 56 | TST_EXP_FAIL(readlinkat(*tc->fd, tc->pathname, buf, tc->bufsiz), | ^~~~~~~~~~~~ readlinkat02.c:57:65: note: format string is defined here 57 | tc->exp_errno, "readlinkat(%d, %s, NULL, %ld)", | ~~^ | | | long int | %d readlinkat02.c:57:37: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 57 | tc->exp_errno, "readlinkat(%d, %s, NULL, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:270:25: note: in expansion of macro 'TST_MSG_' 270 | TST_MSG_(TPASS | TTERRNO, " ", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ readlinkat02.c:56:9: note: in expansion of macro 'TST_EXP_FAIL' 56 | TST_EXP_FAIL(readlinkat(*tc->fd, tc->pathname, buf, tc->bufsiz), | ^~~~~~~~~~~~ readlinkat02.c:57:65: note: format string is defined here 57 | tc->exp_errno, "readlinkat(%d, %s, NULL, %ld)", | ~~^ | | | long int | %d CC testcases/kernel/syscalls/readlinkat/readlinkat01 CC testcases/kernel/syscalls/readlinkat/readlinkat02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from waitid04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitid02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitid01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitid03.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/waitid/waitid04 CC testcases/kernel/syscalls/waitid/waitid02 CC testcases/kernel/syscalls/waitid/waitid03 CC testcases/kernel/syscalls/waitid/waitid01 In file included from ../../../../include/tst_test.h:180, from waitid06.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitid05.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitid08.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitid07.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/waitid/waitid06 CC testcases/kernel/syscalls/waitid/waitid08 CC testcases/kernel/syscalls/waitid/waitid07 CC testcases/kernel/syscalls/waitid/waitid05 In file included from ../../../../include/tst_test.h:180, from waitid10.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} waitid10.c: In function 'setup': ../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ waitid10.c:64:9: note: in expansion of macro 'tst_res' 64 | tst_res(TINFO, "Raising RLIMIT_CORE rlim_cur=%li -> %li", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 6 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ waitid10.c:64:9: note: in expansion of macro 'tst_res' 64 | tst_res(TINFO, "Raising RLIMIT_CORE rlim_cur=%li -> %li", | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from waitid11.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from waitid09.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/waitid/waitid10 CC testcases/kernel/syscalls/waitid/waitid11 CC testcases/kernel/syscalls/waitid/waitid09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from umount2_02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/umount2/umount2_01 CC testcases/kernel/syscalls/umount2/umount2_02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ioperm01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ioperm02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/ioperm/ioperm01 CC testcases/kernel/syscalls/ioperm/ioperm02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from rt_tgsigqueueinfo01.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getsockopt02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getsockopt01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getsockopt/getsockopt01 CC testcases/kernel/syscalls/getsockopt/getsockopt02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from sendmmsg.h:12, from sendmmsg02.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from sendmmsg.h:12, from sendmmsg01.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sendmmsg/sendmmsg02 CC testcases/kernel/syscalls/sendmmsg/sendmmsg01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. sigprocmask01.c: In function 'sig_handler': sigprocmask01.c:254:22: warning: unused parameter 'sig' [-Wunused-parameter] 254 | void sig_handler(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/sigprocmask/sigprocmask01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from link05.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from link04.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from link08.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from link02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/link/link05 CC testcases/kernel/syscalls/link/link04 CC testcases/kernel/syscalls/link/link08 CC testcases/kernel/syscalls/link/link02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from lremovexattr01.c:36: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/lremovexattr/lremovexattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/sendfile/sendfile04_64.o CC testcases/kernel/syscalls/sendfile/sendfile02_64.o CC testcases/kernel/syscalls/sendfile/sendfile03_64.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from sendfile04.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sendfile02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sendfile/sendfile05_64.o make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sendfile03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sendfile/sendfile06_64.o In file included from ../../../../include/tst_test.h:180, from sendfile05.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sendfile/sendfile07_64.o CC testcases/kernel/syscalls/sendfile/sendfile08_64.o In file included from ../../../../include/tst_test.h:180, from sendfile06.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sendfile/sendfile09_64.o In file included from ../../../../include/tst_test.h:180, from sendfile07.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sendfile08.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sendfile09.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sendfile03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sendfile02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sendfile04.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sendfile/sendfile03 In file included from ../../../../include/tst_test.h:180, from sendfile06.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sendfile05.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sendfile/sendfile02 CC testcases/kernel/syscalls/sendfile/sendfile04 In file included from ../../../../include/tst_test.h:180, from sendfile08.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sendfile07.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sendfile/sendfile05 CC testcases/kernel/syscalls/sendfile/sendfile06 CC testcases/kernel/syscalls/sendfile/sendfile07 In file included from ../../../../include/tst_test.h:180, from sendfile09.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/sendfile/sendfile02_64 LD testcases/kernel/syscalls/sendfile/sendfile03_64 CC testcases/kernel/syscalls/sendfile/sendfile08 LD testcases/kernel/syscalls/sendfile/sendfile05_64 LD testcases/kernel/syscalls/sendfile/sendfile04_64 CC testcases/kernel/syscalls/sendfile/sendfile09 LD testcases/kernel/syscalls/sendfile/sendfile06_64 LD testcases/kernel/syscalls/sendfile/sendfile07_64 LD testcases/kernel/syscalls/sendfile/sendfile09_64 LD testcases/kernel/syscalls/sendfile/sendfile08_64 rm sendfile02_64.o sendfile08_64.o sendfile09_64.o sendfile03_64.o sendfile05_64.o sendfile04_64.o sendfile07_64.o sendfile06_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/string/string01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_settime02.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_settime01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_settime03.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clock_settime/clock_settime02 CC testcases/kernel/syscalls/clock_settime/clock_settime03 CC testcases/kernel/syscalls/clock_settime/clock_settime01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fsmount02.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fsmount01.c:9: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fsmount/fsmount02 CC testcases/kernel/syscalls/fsmount/fsmount01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sched_getscheduler01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_getscheduler02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler01 CC testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fsetxattr01.c:46: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fsetxattr02.c:50: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fsetxattr/fsetxattr02 CC testcases/kernel/syscalls/fsetxattr/fsetxattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/statfs/statfs02_64.o CC testcases/kernel/syscalls/statfs/statfs03_64.o CC testcases/kernel/syscalls/statfs/statfs01_64.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from statfs03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statfs01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statfs02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from statfs02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statfs03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from statfs01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/statfs/statfs01_64 CC testcases/kernel/syscalls/statfs/statfs01 CC testcases/kernel/syscalls/statfs/statfs02 CC testcases/kernel/syscalls/statfs/statfs03 LD testcases/kernel/syscalls/statfs/statfs03_64 LD testcases/kernel/syscalls/statfs/statfs02_64 rm statfs01_64.o statfs02_64.o statfs03_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from arch_prctl01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/arch_prctl/arch_prctl01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from execv01_child.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execv01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execv/execv01 CC testcases/kernel/syscalls/execv/execv01_child /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fallocate03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: fallocate03.c: In function 'verify_fallocate': fallocate03.c:84:17: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'loff_t' {aka 'long long int'} [-Wformat=] 84 | "fallocate(fd, %s, %ld, %d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:166:25: note: in expansion of macro 'TST_MSG_' 166 | TST_MSG_(TFAIL | TTERRNO, " failed", \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:185:17: note: in expansion of macro 'TST_EXP_PASS_SILENT_' 185 | TST_EXP_PASS_SILENT_(SCALL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~ fallocate03.c:82:9: note: in expansion of macro 'TST_EXP_PASS' 82 | TST_EXP_PASS( | ^~~~~~~~~~~~ fallocate03.c:84:38: note: format string is defined here 84 | "fallocate(fd, %s, %ld, %d)", | ~~^ | | | long int | %lld fallocate03.c:84:17: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'loff_t' {aka 'long long int'} [-Wformat=] 84 | "fallocate(fd, %s, %ld, %d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:172:25: note: in expansion of macro 'TST_MSGP_' 172 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:185:17: note: in expansion of macro 'TST_EXP_PASS_SILENT_' 185 | TST_EXP_PASS_SILENT_(SCALL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~ fallocate03.c:82:9: note: in expansion of macro 'TST_EXP_PASS' 82 | TST_EXP_PASS( | ^~~~~~~~~~~~ fallocate03.c:84:38: note: format string is defined here 84 | "fallocate(fd, %s, %ld, %d)", | ~~^ | | | long int | %lld fallocate03.c:84:17: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'loff_t' {aka 'long long int'} [-Wformat=] 84 | "fallocate(fd, %s, %ld, %d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:188:25: note: in expansion of macro 'TST_MSG_' 188 | TST_MSG_(TPASS, " passed", #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~ fallocate03.c:82:9: note: in expansion of macro 'TST_EXP_PASS' 82 | TST_EXP_PASS( | ^~~~~~~~~~~~ fallocate03.c:84:38: note: format string is defined here 84 | "fallocate(fd, %s, %ld, %d)", | ~~^ | | | long int | %lld In file included from ../../../../include/tst_test.h:180, from fallocate04.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} fallocate04.c: In function 'test02': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ fallocate04.c:127:17: note: in expansion of macro 'tst_res' 127 | tst_res(TINFO, "found a hole at '%ld' offset", ret); | ^~~~~~~ CC testcases/kernel/syscalls/fallocate/fallocate03 CC testcases/kernel/syscalls/fallocate/fallocate04 CC testcases/kernel/syscalls/fallocate/fallocate02 In file included from ../../../../include/tst_test.h:180, from fallocate05.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fallocate06.c:41: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} fallocate05.c: In function 'run': ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long int' [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ fallocate05.c:78:17: note: in expansion of macro 'tst_res' 78 | tst_res(TFAIL, "Short write(): %ld bytes (expected %zu)", | ^~~~~~~ CC testcases/kernel/syscalls/fallocate/fallocate01 CC testcases/kernel/syscalls/fallocate/fallocate05 CC testcases/kernel/syscalls/fallocate/fallocate06 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. symlink01.c: In function 'creat_symlink': symlink01.c:650:51: warning: unused parameter '_path3' [-Wunused-parameter] 650 | int creat_symlink(char *path1, char *path2, char *_path3) | ~~~~~~^~~~~~ symlink01.c: In function 'creat_object': symlink01.c:678:37: warning: unused parameter '_path2' [-Wunused-parameter] 678 | int creat_object(char *path1, char *_path2, char *_path3) | ~~~~~~^~~~~~ symlink01.c:678:51: warning: unused parameter '_path3' [-Wunused-parameter] 678 | int creat_object(char *path1, char *_path2, char *_path3) | ~~~~~~^~~~~~ symlink01.c: In function 'ck_object': symlink01.c:859:34: warning: unused parameter 'path2' [-Wunused-parameter] 859 | int ck_object(char *path1, char *path2, char *path3) | ~~~~~~^~~~~ symlink01.c:859:47: warning: unused parameter 'path3' [-Wunused-parameter] 859 | int ck_object(char *path1, char *path2, char *path3) | ~~~~~~^~~~~ In file included from ../../../../include/tst_test.h:180, from symlink02.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from symlink01.c:219: symlink01.c: In function 'do_stat': ../../../../include/old/test.h:106:19: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1448:17: note: in expansion of macro 'tst_resm' 1448 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:106:19: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__off64_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1448:17: note: in expansion of macro 'tst_resm' 1448 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:106:19: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1453:17: note: in expansion of macro 'tst_resm' 1453 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:106:19: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__time_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1453:17: note: in expansion of macro 'tst_resm' 1453 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:106:19: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1458:17: note: in expansion of macro 'tst_resm' 1458 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:106:19: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__time_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1458:17: note: in expansion of macro 'tst_resm' 1458 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:106:19: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1463:17: note: in expansion of macro 'tst_resm' 1463 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:106:19: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__time_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1463:17: note: in expansion of macro 'tst_resm' 1463 | tst_resm(TFAIL, | ^~~~~~~~ In file included from ../../../../include/tst_test.h:180, from symlink04.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/symlink/symlink02 CC testcases/kernel/syscalls/symlink/symlink04 CC testcases/kernel/syscalls/symlink/symlink03 In function 'delete_files', inlined from 'do_ENOENT' at symlink01.c:1107:4: symlink01.c:639:9: warning: argument 1 null where non-null expected [-Wnonnull] 639 | unlink(path2); | ^~~~~~~~~~~~~ In file included from symlink01.c:217: /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/unistd.h: In function 'do_ENOENT': /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:821:12: note: in a call to function 'unlink' declared 'nonnull' 821 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ In function 'delete_files', inlined from 'do_EXDEV' at symlink01.c:1290:4, inlined from 'do_EXDEV' at symlink01.c:1269:6: symlink01.c:639:9: warning: argument 1 null where non-null expected [-Wnonnull] 639 | unlink(path2); | ^~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/unistd.h: In function 'do_EXDEV': /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:821:12: note: in a call to function 'unlink' declared 'nonnull' 821 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ In function 'delete_files', inlined from 'do_link' at symlink01.c:1576:3, inlined from 'do_link' at symlink01.c:1530:6: symlink01.c:639:9: warning: argument 1 null where non-null expected [-Wnonnull] 639 | unlink(path2); | ^~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/unistd.h: In function 'do_link': /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:821:12: note: in a call to function 'unlink' declared 'nonnull' 821 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ CC testcases/kernel/syscalls/symlink/symlink01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sysctl03.c:39: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sysctl04.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sysctl01.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sysctl/sysctl03 CC testcases/kernel/syscalls/sysctl/sysctl04 CC testcases/kernel/syscalls/sysctl/sysctl01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getrlimit03.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getrlimit01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getrlimit02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getrlimit/getrlimit01 CC testcases/kernel/syscalls/getrlimit/getrlimit03 CC testcases/kernel/syscalls/getrlimit/getrlimit02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from socketcall01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from socketcall03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from socketcall02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/socketcall/socketcall03 CC testcases/kernel/syscalls/socketcall/socketcall01 CC testcases/kernel/syscalls/socketcall/socketcall02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/lstat/lstat02_64.o CC testcases/kernel/syscalls/lstat/lstat01_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from lstat01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from lstat02.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from lstat02.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from lstat01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/lstat/lstat02 LD testcases/kernel/syscalls/lstat/lstat02_64 CC testcases/kernel/syscalls/lstat/lstat01 LD testcases/kernel/syscalls/lstat/lstat01_64 rm lstat01_64.o lstat02_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from madvise05.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from madvise03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from madvise01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from madvise02.c:43: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/madvise/madvise05 CC testcases/kernel/syscalls/madvise/madvise03 In file included from ../../../../include/tst_test.h:180, from madvise06.c:50: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/madvise/madvise02 CC testcases/kernel/syscalls/madvise/madvise01 In file included from ../../../../include/tst_test.h:180, from madvise07.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from madvise09.c:45: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} madvise09.c: In function 'setup_cgroup_paths': madvise09.c:97:53: warning: '/tasks' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 97 | snprintf(tasks_path, sizeof(tasks_path), "%s/tasks", cgroup_path); | ^~~~~~ madvise09.c:97:9: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 97 | snprintf(tasks_path, sizeof(tasks_path), "%s/tasks", cgroup_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ madvise09.c:99:21: warning: '/memory.limit_in_bytes' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 99 | "%s/memory.limit_in_bytes", cgroup_path); | ^~~~~~~~~~~~~~~~~~~~~~ madvise09.c:98:9: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4096 98 | snprintf(limit_in_bytes_path, sizeof(limit_in_bytes_path), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 99 | "%s/memory.limit_in_bytes", cgroup_path); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ madvise09.c:101:21: warning: '/memory.memsw.limit_in_bytes' directive output may be truncated writing 28 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 101 | "%s/memory.memsw.limit_in_bytes", cgroup_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ madvise09.c:100:9: note: 'snprintf' output between 29 and 4124 bytes into a destination of size 4096 100 | snprintf(memsw_limit_in_bytes_path, sizeof(memsw_limit_in_bytes_path), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | "%s/memory.memsw.limit_in_bytes", cgroup_path); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../../include/tst_test.h:180, from madvise08.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} madvise08.c: In function 'find_sequence': madvise08.c:136:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 136 | if (expectc == 'z') { | ^ madvise08.c:140:17: note: here 140 | default: | ^~~~~~~ CC testcases/kernel/syscalls/madvise/madvise06 In file included from ../../../../include/tst_test.h:180, from madvise10.c:49: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/madvise/madvise08 CC testcases/kernel/syscalls/madvise/madvise07 CC testcases/kernel/syscalls/madvise/madvise09 In file included from ../../../../include/tst_test.h:180, from madvise11.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/madvise/madvise10 CC testcases/kernel/syscalls/madvise/madvise11 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/fstatfs/fstatfs02_64.o CC testcases/kernel/syscalls/fstatfs/fstatfs01_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fstatfs02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fstatfs02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fstatfs01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fstatfs01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/fstatfs/fstatfs02_64 CC testcases/kernel/syscalls/fstatfs/fstatfs02 LD testcases/kernel/syscalls/fstatfs/fstatfs01_64 CC testcases/kernel/syscalls/fstatfs/fstatfs01 rm fstatfs01_64.o fstatfs02_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from timer_create03.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from timer_create01.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from timer_create02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/timer_create/timer_create03 CC testcases/kernel/syscalls/timer_create/timer_create01 CC testcases/kernel/syscalls/timer_create/timer_create02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from brk02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from brk01.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/brk/brk01 CC testcases/kernel/syscalls/brk/brk02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpsigwait.a make[6]: Nothing to be done for 'all'. GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/libsigwait.h:10, from sigwait01.c:4: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sigwait/sigwait01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sendto02.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sendto03.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sendto/sendto02 CC testcases/kernel/syscalls/sendto/sendto03 CC testcases/kernel/syscalls/sendto/sendto01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/set_robust_list/set_robust_list01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from chroot02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chroot01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chroot04.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chroot03.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/chroot/chroot01 CC testcases/kernel/syscalls/chroot/chroot04 CC testcases/kernel/syscalls/chroot/chroot02 CC testcases/kernel/syscalls/chroot/chroot03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from add_key04.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from add_key01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from add_key02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from add_key03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/add_key/add_key02 CC testcases/kernel/syscalls/add_key/add_key04 CC testcases/kernel/syscalls/add_key/add_key01 In file included from ../../../../include/tst_test.h:180, from add_key05.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/add_key/add_key03 add_key05.c: In function 'do_test': add_key05.c:153:35: warning: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 153 | sprintf(desc, "abc%d", i); | ^~ In function 'verify_max_keys', inlined from 'do_test' at add_key05.c:199:4: add_key05.c:153:31: note: directive argument in the range [-2147483647, 2147483647] 153 | sprintf(desc, "abc%d", i); | ^~~~~~~ add_key05.c:153:17: note: 'sprintf' output between 5 and 15 bytes into a destination of size 10 153 | sprintf(desc, "abc%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/add_key/add_key05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/fadvise/posix_fadvise03_64.o CC testcases/kernel/syscalls/fadvise/posix_fadvise02_64.o CC testcases/kernel/syscalls/fadvise/posix_fadvise01_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from posix_fadvise03.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/fadvise/posix_fadvise04_64.o In file included from ../../../../include/tst_test.h:180, from posix_fadvise01.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from posix_fadvise02.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from posix_fadvise04.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from posix_fadvise01.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from posix_fadvise02.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from posix_fadvise04.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from posix_fadvise03.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fadvise/posix_fadvise02 CC testcases/kernel/syscalls/fadvise/posix_fadvise04 LD testcases/kernel/syscalls/fadvise/posix_fadvise01_64 CC testcases/kernel/syscalls/fadvise/posix_fadvise01 CC testcases/kernel/syscalls/fadvise/posix_fadvise03 LD testcases/kernel/syscalls/fadvise/posix_fadvise02_64 LD testcases/kernel/syscalls/fadvise/posix_fadvise03_64 LD testcases/kernel/syscalls/fadvise/posix_fadvise04_64 rm posix_fadvise01_64.o posix_fadvise02_64.o posix_fadvise03_64.o posix_fadvise04_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from vmsplice04.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from vmsplice03.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from vmsplice02.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from vmsplice01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/vmsplice/vmsplice03 CC testcases/kernel/syscalls/vmsplice/vmsplice02 CC testcases/kernel/syscalls/vmsplice/vmsplice04 CC testcases/kernel/syscalls/vmsplice/vmsplice01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sysinfo03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sysinfo/sysinfo03 CC testcases/kernel/syscalls/sysinfo/sysinfo01 CC testcases/kernel/syscalls/sysinfo/sysinfo02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from memcmp01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/memcmp/memcmp01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from memcpy01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/memcpy/memcpy01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getdents01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getdents02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getdents/getdents02 CC testcases/kernel/syscalls/getdents/getdents01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from alarm05.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from alarm02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from alarm03.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from alarm06.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: alarm02.c: In function 'verify_alarm': ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ alarm02.c:38:9: note: in expansion of macro 'TST_EXP_VAL' 38 | TST_EXP_VAL(alarm(0), tc->sec); | ^~~~~~~~~~~ CC testcases/kernel/syscalls/alarm/alarm03 CC testcases/kernel/syscalls/alarm/alarm02 CC testcases/kernel/syscalls/alarm/alarm05 CC testcases/kernel/syscalls/alarm/alarm06 In file included from ../../../../include/tst_test.h:180, from alarm07.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/alarm/alarm07 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from epoll_pwait01.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from epoll_pwait03.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from epoll_pwait04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from epoll_pwait02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait03 CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait01 CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait04 In file included from ../../../../include/tst_test.h:180, from epoll_pwait05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait02 CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/lapi/name_to_handle_at.h:12, from name_to_handle_at02.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/lapi/name_to_handle_at.h:12, from name_to_handle_at01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/name_to_handle_at/name_to_handle_at02 CC testcases/kernel/syscalls/name_to_handle_at/name_to_handle_at01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/recv/recv01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fremovexattr02.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fremovexattr01.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fremovexattr/fremovexattr02 CC testcases/kernel/syscalls/fremovexattr/fremovexattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from connect02.c:36: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/connect/connect02 CC testcases/kernel/syscalls/connect/connect01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setdomainname.h:10, from setdomainname01.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setdomainname.h:10, from setdomainname02.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setdomainname.h:10, from setdomainname03.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setdomainname/setdomainname01 CC testcases/kernel/syscalls/setdomainname/setdomainname02 CC testcases/kernel/syscalls/setdomainname/setdomainname03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from epoll_wait03.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from epoll_wait02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from epoll_wait01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from epoll_wait04.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_wait/epoll_wait03 In file included from ../../../../include/tst_test.h:180, from epoll_wait05.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_wait/epoll_wait02 CC testcases/kernel/syscalls/epoll_wait/epoll_wait01 In file included from ../../../../include/tst_test.h:180, from epoll_wait06.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_wait/epoll_wait04 In file included from ../../../../include/tst_test.h:180, from epoll_wait07.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_wait/epoll_wait05 CC testcases/kernel/syscalls/epoll_wait/epoll_wait07 CC testcases/kernel/syscalls/epoll_wait/epoll_wait06 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mlock201.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mlock203.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:181: mlock201.c: In function 'verify_mlock2': ../../../../include/tst_safe_file_ops.h:23:33: warning: format '%ld' expects argument of type 'long int *', but argument 7 has type 'size_t *' {aka 'unsigned int *'} [-Wformat=] 23 | (path), (fmt), ## __VA_ARGS__) | ^~~~~ mlock201.c:101:9: note: in expansion of macro 'SAFE_FILE_LINES_SCANF' 101 | SAFE_FILE_LINES_SCANF("/proc/self/status", "VmLck: %ld", &bsize); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_safe_file_ops.h:23:33: warning: format '%ld' expects argument of type 'long int *', but argument 7 has type 'size_t *' {aka 'unsigned int *'} [-Wformat=] 23 | (path), (fmt), ## __VA_ARGS__) | ^~~~~ mlock201.c:105:9: note: in expansion of macro 'SAFE_FILE_LINES_SCANF' 105 | SAFE_FILE_LINES_SCANF("/proc/self/status", "VmLck: %ld", &asize); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mlock201.c:117:17: note: in expansion of macro 'tst_res' 117 | tst_res(TFAIL, "VmLck showed wrong %ld pages, expected %ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mlock201.c:117:17: note: in expansion of macro 'tst_res' 117 | tst_res(TFAIL, "VmLck showed wrong %ld pages, expected %ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mlock201.c:124:17: note: in expansion of macro 'tst_res' 124 | tst_res(TFAIL, "mlock2(%d) locked %ld pages, expected %ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mlock201.c:124:17: note: in expansion of macro 'tst_res' 124 | tst_res(TFAIL, "mlock2(%d) locked %ld pages, expected %ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mlock201.c:127:17: note: in expansion of macro 'tst_res' 127 | tst_res(TPASS, "mlock2(%d) succeeded in locking %ld pages", | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from mlock202.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mlock2/mlock201 CC testcases/kernel/syscalls/mlock2/mlock203 CC testcases/kernel/syscalls/mlock2/mlock202 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sync01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sync/sync01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from readlink01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from readlink03.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/readlink/readlink03 CC testcases/kernel/syscalls/readlink/readlink01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from socket02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from socket01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/socket/socket01 CC testcases/kernel/syscalls/socket/socket02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/removexattr/removexattr02 CC testcases/kernel/syscalls/removexattr/removexattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from openat01.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/openat/openat02_child openat01.c: In function 'setup': openat01.c:87:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] 87 | snprintf(glob_path, sizeof(glob_path), "%s/" TEST_DIR TEST_FILE, buf); | ^~ ~~~ openat01.c:87:9: note: 'snprintf' output between 20 and 4115 bytes into a destination of size 256 87 | snprintf(glob_path, sizeof(glob_path), "%s/" TEST_DIR TEST_FILE, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../../include/tst_test.h:180, from openat04.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/openat/openat01 CC testcases/kernel/syscalls/openat/openat03 CC testcases/kernel/syscalls/openat/openat02 CC testcases/kernel/syscalls/openat/openat04 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/modify_ldt/modify_ldt03 CC testcases/kernel/syscalls/modify_ldt/modify_ldt02 CC testcases/kernel/syscalls/modify_ldt/modify_ldt01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/fstat/fstat02_64.o CC testcases/kernel/syscalls/fstat/fstat03_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fstat02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fstat03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fstat02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fstat03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/fstat/fstat03_64 LD testcases/kernel/syscalls/fstat/fstat02_64 CC testcases/kernel/syscalls/fstat/fstat03 CC testcases/kernel/syscalls/fstat/fstat02 rm fstat02_64.o fstat03_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from capset01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from capset03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from capset04.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from capset02.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/capset/capset01 CC testcases/kernel/syscalls/capset/capset04 CC testcases/kernel/syscalls/capset/capset02 CC testcases/kernel/syscalls/capset/capset03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/migrate_pages/migrate_pages_common.o In file included from ../../../../include/tst_test.h:180, from migrate_pages03.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from migrate_pages02.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/migrate_pages/migrate_pages03 CC testcases/kernel/syscalls/migrate_pages/migrate_pages01 CC testcases/kernel/syscalls/migrate_pages/migrate_pages02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/preadv2/preadv201_64.o CC testcases/kernel/syscalls/preadv2/preadv202_64.o CC testcases/kernel/syscalls/preadv2/preadv203_64.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from preadv202.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from preadv201.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from preadv203.c:46: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from preadv202.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from preadv201.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from preadv203.c:46: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/preadv2/preadv202 LD testcases/kernel/syscalls/preadv2/preadv201_64 CC testcases/kernel/syscalls/preadv2/preadv201 LD testcases/kernel/syscalls/preadv2/preadv202_64 LD testcases/kernel/syscalls/preadv2/preadv203_64 CC testcases/kernel/syscalls/preadv2/preadv203 rm preadv201_64.o preadv202_64.o preadv203_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from signal03.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from signal01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from signal02.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from signal04.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/signal/signal03 CC testcases/kernel/syscalls/signal/signal02 CC testcases/kernel/syscalls/signal/signal04 CC testcases/kernel/syscalls/signal/signal01 In file included from ../../../../include/tst_test.h:180, from signal05.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/signal/signal05 CC testcases/kernel/syscalls/signal/signal06 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getsid01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getsid02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getsid/getsid02 CC testcases/kernel/syscalls/getsid/getsid01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from syncfs01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/syncfs/syncfs01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from keyctl01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from keyctl02.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from keyctl03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from keyctl04.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/keyctl/keyctl01 CC testcases/kernel/syscalls/keyctl/keyctl03 CC testcases/kernel/syscalls/keyctl/keyctl04 CC testcases/kernel/syscalls/keyctl/keyctl02 In file included from ../../../../include/tst_test.h:180, from keyctl05.c:34: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from keyctl06.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from keyctl07.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from keyctl08.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/keyctl/keyctl06 CC testcases/kernel/syscalls/keyctl/keyctl05 In file included from ../../../../include/tst_test.h:180, from keyctl09.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/keyctl/keyctl07 CC testcases/kernel/syscalls/keyctl/keyctl08 CC testcases/kernel/syscalls/keyctl/keyctl09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from memfd_create_common.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} memfd_create_common.c: In function 'check_fallocate': memfd_create_common.c:40:46: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 40 | "fallocate(%d, %d, %ld, %ld) failed", fd, mode, | ~~^ | | | long int | %lld 41 | offset, len); | ~~~~~~ | | | off_t {aka long long int} memfd_create_common.c:40:51: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=] 40 | "fallocate(%d, %d, %ld, %ld) failed", fd, mode, | ~~^ | | | long int | %lld 41 | offset, len); | ~~~ | | | off_t {aka long long int} memfd_create_common.c:45:38: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 45 | "fallocate(%d, %d, %ld, %ld) succeeded", fd, mode, | ~~^ | | | long int | %lld 46 | offset, len); | ~~~~~~ | | | off_t {aka long long int} memfd_create_common.c:45:43: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=] 45 | "fallocate(%d, %d, %ld, %ld) succeeded", fd, mode, | ~~^ | | | long int | %lld 46 | offset, len); | ~~~ | | | off_t {aka long long int} memfd_create_common.c: In function 'check_fallocate_fail': memfd_create_common.c:59:46: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 59 | "fallocate(%d, %d, %ld, %ld) succeeded unexpectedly", | ~~^ | | | long int | %lld 60 | fd, mode, offset, len); | ~~~~~~ | | | off_t {aka long long int} memfd_create_common.c:59:51: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=] 59 | "fallocate(%d, %d, %ld, %ld) succeeded unexpectedly", | ~~^ | | | long int | %lld 60 | fd, mode, offset, len); | ~~~ | | | off_t {aka long long int} memfd_create_common.c:66:38: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 66 | "fallocate(%d, %d, %ld, %ld) failed as expected", fd, | ~~^ | | | long int | %lld 67 | mode, offset, len); | ~~~~~~ | | | off_t {aka long long int} memfd_create_common.c:66:43: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=] 66 | "fallocate(%d, %d, %ld, %ld) failed as expected", fd, | ~~^ | | | long int | %lld 67 | mode, offset, len); | ~~~ | | | off_t {aka long long int} memfd_create_common.c: In function 'check_ftruncate': memfd_create_common.c:77:60: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 77 | tst_res_(filename, lineno, TPASS, "ftruncate(%d, %ld) succeeded", fd, | ~~^ | | | long int | %lld 78 | length); | ~~~~~~ | | | off_t {aka long long int} memfd_create_common.c: In function 'check_ftruncate_fail': memfd_create_common.c:86:42: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 86 | "ftruncate(%d, %ld) succeeded unexpectedly", | ~~^ | | | long int | %lld 87 | fd, length); | ~~~~~~ | | | off_t {aka long long int} memfd_create_common.c:93:34: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 93 | "ftruncate(%d, %ld) failed as expected", fd, length); | ~~^ ~~~~~~ | | | | long int off_t {aka long long int} | %lld memfd_create_common.c: In function 'check_mfd_growable_by_write': memfd_create_common.c:446:13: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 446 | if (pwrite(fd, buf, sizeof(buf), 0) != sizeof(buf)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/features.h:397, from /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/sys/types.h:26, from memfd_create_common.c:8: /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:391:16: note: by argument 2 of type 'const void *' to 'pwrite' declared here 391 | extern ssize_t __REDIRECT (pwrite, (int __fd, const void *__buf, | ^~~~~~~~~~ memfd_create_common.c:444:14: note: 'buf' declared here 444 | char buf[MFD_DEF_SIZE * 8]; | ^~~ memfd_create_common.c: In function 'check_mfd_non_growable_by_write': memfd_create_common.c:465:13: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 465 | if (pwrite(fd, buf, sizeof(buf), 0) == sizeof(buf)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:391:16: note: by argument 2 of type 'const void *' to 'pwrite' declared here 391 | extern ssize_t __REDIRECT (pwrite, (int __fd, const void *__buf, | ^~~~~~~~~~ memfd_create_common.c:463:14: note: 'buf' declared here 463 | char buf[MFD_DEF_SIZE * 8]; | ^~~ CC testcases/kernel/syscalls/memfd_create/memfd_create_common.o In file included from ../../../../include/tst_test.h:180, from memfd_create02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from memfd_create01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from memfd_create03.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} memfd_create03.c: In function 'test_def_pagesize': memfd_create03.c:88:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare] 88 | for (i = unmap_size; i < hps; i += unmap_size) { | ^ In file included from ../../../../include/tst_test.h:180, from memfd_create04.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/memfd_create/memfd_create02 CC testcases/kernel/syscalls/memfd_create/memfd_create03 CC testcases/kernel/syscalls/memfd_create/memfd_create04 CC testcases/kernel/syscalls/memfd_create/memfd_create01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from rt_sigqueueinfo01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sbrk02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sbrk03.c:38: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sbrk01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sbrk/sbrk02 CC testcases/kernel/syscalls/sbrk/sbrk01 CC testcases/kernel/syscalls/sbrk/sbrk03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getitimer01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getitimer02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} getitimer01.c: In function 'verify_getitimer': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ getitimer01.c:51:25: note: in expansion of macro 'tst_res' 51 | tst_res(TINFO, "Test begin time: %ld.%lds", tv.tv_sec, tv.tv_usec); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__suseconds_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ getitimer01.c:51:25: note: in expansion of macro 'tst_res' 51 | tst_res(TINFO, "Test begin time: %ld.%lds", tv.tv_sec, tv.tv_usec); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ getitimer01.c:69:9: note: in expansion of macro 'tst_res' 69 | tst_res(TINFO, "value->it_value.tv_sec=%ld, value->it_value.tv_usec=%ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__suseconds_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ getitimer01.c:69:9: note: in expansion of macro 'tst_res' 69 | tst_res(TINFO, "value->it_value.tv_sec=%ld, value->it_value.tv_usec=%ld", | ^~~~~~~ ../../../../include/tst_test.h:120:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__suseconds_t' {aka 'long long int'} [-Wformat=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ getitimer01.c:82:25: note: in expansion of macro 'tst_brk' 82 | tst_brk(TFAIL, "value->it_value.tv_usec is out of range: %ld", | ^~~~~~~ ../../../../include/tst_test.h:120:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ getitimer01.c:87:25: note: in expansion of macro 'tst_brk' 87 | tst_brk(TFAIL, "value->it_value.tv_sec is out of range: %ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ getitimer01.c:97:25: note: in expansion of macro 'tst_res' 97 | tst_res(TINFO, "Test end time: %ld.%lds", tv.tv_sec, tv.tv_usec); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__suseconds_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ getitimer01.c:97:25: note: in expansion of macro 'tst_res' 97 | tst_res(TINFO, "Test end time: %ld.%lds", tv.tv_sec, tv.tv_usec); | ^~~~~~~ CC testcases/kernel/syscalls/getitimer/getitimer02 CC testcases/kernel/syscalls/getitimer/getitimer01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/getresuid/getresuid01_16.o CC testcases/kernel/syscalls/getresuid/getresuid03.o CC testcases/kernel/syscalls/getresuid/getresuid02_16.o CC testcases/kernel/syscalls/getresuid/getresuid01.o CC testcases/kernel/syscalls/getresuid/getresuid03_16.o CC testcases/kernel/syscalls/getresuid/getresuid02.o LD testcases/kernel/syscalls/getresuid/getresuid01 LD testcases/kernel/syscalls/getresuid/getresuid01_16 LD testcases/kernel/syscalls/getresuid/getresuid02 LD testcases/kernel/syscalls/getresuid/getresuid02_16 LD testcases/kernel/syscalls/getresuid/getresuid03 LD testcases/kernel/syscalls/getresuid/getresuid03_16 rm getresuid02_16.o getresuid03_16.o getresuid01.o getresuid02.o getresuid01_16.o getresuid03.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fchmodat02.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchmodat01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fchmodat/fchmodat02 CC testcases/kernel/syscalls/fchmodat/fchmodat01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sched_setparam02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_setparam03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_setparam01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_setparam04.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_setparam/sched_setparam03 CC testcases/kernel/syscalls/sched_setparam/sched_setparam02 CC testcases/kernel/syscalls/sched_setparam/sched_setparam01 In file included from ../../../../include/tst_test.h:180, from sched_setparam05.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_setparam/sched_setparam04 CC testcases/kernel/syscalls/sched_setparam/sched_setparam05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from request_key01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from request_key04.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from request_key03.c:37: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from request_key02.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/request_key/request_key01 CC testcases/kernel/syscalls/request_key/request_key04 In file included from ../../../../include/tst_test.h:180, from request_key05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/request_key/request_key03 CC testcases/kernel/syscalls/request_key/request_key02 CC testcases/kernel/syscalls/request_key/request_key05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from inotify_init1_02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from inotify_init1_01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/inotify_init/inotify_init1_02 CC testcases/kernel/syscalls/inotify_init/inotify_init1_01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from move_mount01.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from move_mount02.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/move_mount/move_mount01 CC testcases/kernel/syscalls/move_mount/move_mount02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from access01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from access04.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from access02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from access03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/access/access04 CC testcases/kernel/syscalls/access/access01 CC testcases/kernel/syscalls/access/access03 CC testcases/kernel/syscalls/access/access02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getxattr02.c:34: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getxattr03.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getxattr04.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getxattr01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getxattr/getxattr02 CC testcases/kernel/syscalls/getxattr/getxattr03 CC testcases/kernel/syscalls/getxattr/getxattr04 In file included from ../../../../include/tst_test.h:180, from getxattr05.c:36: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getxattr/getxattr01 CC testcases/kernel/syscalls/getxattr/getxattr05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from perf_event_open03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from perf_event_open02.c:44: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/perf_event_open/perf_event_open01 CC testcases/kernel/syscalls/perf_event_open/perf_event_open03 CC testcases/kernel/syscalls/perf_event_open/perf_event_open02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from writev03.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from writev01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/writev/writev05 CC testcases/kernel/syscalls/writev/writev02 CC testcases/kernel/syscalls/writev/writev01 In file included from ../../../../include/tst_test.h:180, from writev07.c:36: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/writev/writev06 CC testcases/kernel/syscalls/writev/writev07 CC testcases/kernel/syscalls/writev/writev03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from syslog12.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from syslog11.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/syslog/syslog11 CC testcases/kernel/syscalls/syslog/syslog12 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mlock02.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mlock04.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mlock03.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: mlock02.c: In function 'test_enomem1': mlock02.c:43:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:209:25: note: in expansion of macro 'TST_MSG_' 209 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:43:9: note: in expansion of macro 'TST_EXP_FAIL' 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:43:61: note: format string is defined here 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c:43:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:214:25: note: in expansion of macro 'TST_MSGP_' 214 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:43:9: note: in expansion of macro 'TST_EXP_FAIL' 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:43:61: note: format string is defined here 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c:43:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:223:25: note: in expansion of macro 'TST_MSGP_' 223 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:43:9: note: in expansion of macro 'TST_EXP_FAIL' 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:43:61: note: format string is defined here 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c:43:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:270:25: note: in expansion of macro 'TST_MSG_' 270 | TST_MSG_(TPASS | TTERRNO, " ", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:43:9: note: in expansion of macro 'TST_EXP_FAIL' 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:43:61: note: format string is defined here 43 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c: In function 'test_enomem2': mlock02.c:57:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:209:25: note: in expansion of macro 'TST_MSG_' 209 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:57:9: note: in expansion of macro 'TST_EXP_FAIL' 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:57:61: note: format string is defined here 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c:57:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:214:25: note: in expansion of macro 'TST_MSGP_' 214 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:57:9: note: in expansion of macro 'TST_EXP_FAIL' 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:57:61: note: format string is defined here 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c:57:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:223:25: note: in expansion of macro 'TST_MSGP_' 223 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:57:9: note: in expansion of macro 'TST_EXP_FAIL' 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:57:61: note: format string is defined here 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c:57:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:270:25: note: in expansion of macro 'TST_MSG_' 270 | TST_MSG_(TPASS | TTERRNO, " ", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:57:9: note: in expansion of macro 'TST_EXP_FAIL' 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:57:61: note: format string is defined here 57 | TST_EXP_FAIL(mlock(addr, len), ENOMEM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c: In function 'test_eperm': mlock02.c:74:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:209:25: note: in expansion of macro 'TST_MSG_' 209 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:74:9: note: in expansion of macro 'TST_EXP_FAIL' 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:74:60: note: format string is defined here 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c:74:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:214:25: note: in expansion of macro 'TST_MSGP_' 214 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:74:9: note: in expansion of macro 'TST_EXP_FAIL' 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:74:60: note: format string is defined here 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c:74:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:223:25: note: in expansion of macro 'TST_MSGP_' 223 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:74:9: note: in expansion of macro 'TST_EXP_FAIL' 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:74:60: note: format string is defined here 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u mlock02.c:74:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:270:25: note: in expansion of macro 'TST_MSG_' 270 | TST_MSG_(TPASS | TTERRNO, " ", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ mlock02.c:74:9: note: in expansion of macro 'TST_EXP_FAIL' 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ^~~~~~~~~~~~ mlock02.c:74:60: note: format string is defined here 74 | TST_EXP_FAIL(mlock(addr, len), EPERM, "mlock(%p, %lu)", addr, len); | ~~^ | | | long unsigned int | %u In file included from ../../../../include/tst_test.h:180, from mlock01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mlock/mlock04 CC testcases/kernel/syscalls/mlock/mlock03 CC testcases/kernel/syscalls/mlock/mlock01 CC testcases/kernel/syscalls/mlock/mlock02 In file included from ../../../../include/tst_test.h:180, from mlock05.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mlock/mlock05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/recvfrom/recvfrom01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from select_var.h:8, from select01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from select_var.h:8, from select04.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from select_var.h:8, from select03.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from select02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} select01.c: In function 'run': ../../../../include/tst_safe_macros.h:195:9: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 195 | safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select01.c:48:17: note: in expansion of macro 'SAFE_WRITE' 48 | SAFE_WRITE(SAFE_WRITE_ANY, *tc->writefd, &buf, sizeof(buf)); | ^~~~~~~~~~ In file included from ../../../../include/tst_safe_macros.h:26: ../../../../include/safe_macros_fn.h:125:9: note: by argument 6 of type 'const void *' to 'safe_write' declared here 125 | ssize_t safe_write(const char *file, const int lineno, | ^~~~~~~~~~ select01.c:41:14: note: 'buf' declared here 41 | char buf; | ^~~ CC testcases/kernel/syscalls/select/select04 CC testcases/kernel/syscalls/select/select01 CC testcases/kernel/syscalls/select/select02 CC testcases/kernel/syscalls/select/select03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setsockopt04.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setsockopt01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setsockopt03.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setsockopt02.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setsockopt/setsockopt04 CC testcases/kernel/syscalls/setsockopt/setsockopt01 CC testcases/kernel/syscalls/setsockopt/setsockopt03 CC testcases/kernel/syscalls/setsockopt/setsockopt02 In file included from ../../../../include/tst_test.h:180, from setsockopt06.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setsockopt05.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setsockopt07.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setsockopt08.c:90: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setsockopt/setsockopt05 In file included from ../../../../include/tst_test.h:180, from setsockopt09.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setsockopt/setsockopt08 CC testcases/kernel/syscalls/setsockopt/setsockopt09 In file included from ../../../../include/tst_test.h:180, from setsockopt10.c:47: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setsockopt/setsockopt10 CC testcases/kernel/syscalls/setsockopt/setsockopt06 CC testcases/kernel/syscalls/setsockopt/setsockopt07 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpvdso.a make[6]: Nothing to be done for 'all'. GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_gettime04.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_gettime01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_gettime03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_gettime02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clock_gettime/clock_gettime01 CC testcases/kernel/syscalls/clock_gettime/clock_gettime02 In file included from ../../../../include/tst_test.h:180, from leapsec01.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/clock_gettime/clock_gettime04 CC testcases/kernel/syscalls/clock_gettime/clock_gettime03 CC testcases/kernel/syscalls/clock_gettime/leapsec01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from inotify03.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from inotify01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from inotify02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from inotify04.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} inotify02.c: In function 'verify_inotify': inotify02.c:99:39: warning: '.rename1' directive output may be truncated writing 8 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 99 | snprintf(fname2, BUF_SIZE, "%s.rename1", fname1); | ^~~~~~~~ inotify02.c:99:9: note: 'snprintf' output between 9 and 264 bytes into a destination of size 256 99 | snprintf(fname2, BUF_SIZE, "%s.rename1", fname1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inotify02.c:116:39: warning: '.rename2' directive output may be truncated writing 8 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 116 | snprintf(fname3, BUF_SIZE, "%s.rename2", fname1); | ^~~~~~~~ inotify02.c:116:9: note: 'snprintf' output between 9 and 264 bytes into a destination of size 256 116 | snprintf(fname3, BUF_SIZE, "%s.rename2", fname1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/inotify/inotify01 CC testcases/kernel/syscalls/inotify/inotify04 CC testcases/kernel/syscalls/inotify/inotify02 In file included from ../../../../include/tst_test.h:180, from inotify05.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/inotify/inotify03 In file included from ../../../../include/tst_test.h:180, from inotify07.c:41: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from inotify06.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} inotify07.c: In function 'setup': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__ino64_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ inotify07.c:160:9: note: in expansion of macro 'tst_res' 160 | tst_res(TINFO, DIR_PATH " ino=%lu", buf.st_ino); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__ino64_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ inotify07.c:170:9: note: in expansion of macro 'tst_res' 170 | tst_res(TINFO, DIR_PATH " ino=%lu", buf.st_ino); | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from inotify08.c:42: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} inotify08.c: In function 'setup': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__ino64_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ inotify08.c:152:9: note: in expansion of macro 'tst_res' 152 | tst_res(TINFO, FILE_PATH " ino=%lu, dev=%u:%u", buf.st_ino, | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__ino64_t' {aka 'long long unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ inotify08.c:163:9: note: in expansion of macro 'tst_res' 163 | tst_res(TINFO, FILE_PATH " ino=%lu, dev=%u:%u", buf.st_ino, | ^~~~~~~ CC testcases/kernel/syscalls/inotify/inotify06 CC testcases/kernel/syscalls/inotify/inotify05 CC testcases/kernel/syscalls/inotify/inotify07 In file included from ../../../../include/tst_test.h:180, from inotify09.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from inotify10.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/inotify/inotify08 In file included from ../../../../include/tst_test.h:180, from inotify11.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from inotify12.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/inotify/inotify11 CC testcases/kernel/syscalls/inotify/inotify12 CC testcases/kernel/syscalls/inotify/inotify10 CC testcases/kernel/syscalls/inotify/inotify09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getcpu01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getcpu/getcpu01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/vfork/vfork01 CC testcases/kernel/syscalls/vfork/vfork02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from copy_file_range01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from copy_file_range02.c:37: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from copy_file_range03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/copy_file_range/copy_file_range02 CC testcases/kernel/syscalls/copy_file_range/copy_file_range03 CC testcases/kernel/syscalls/copy_file_range/copy_file_range01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from send02.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/send/send02 CC testcases/kernel/syscalls/send/send01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from unshare01.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from unshare02.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/unshare/unshare01 CC testcases/kernel/syscalls/unshare/unshare02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setpgrp02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setpgrp/setpgrp01 CC testcases/kernel/syscalls/setpgrp/setpgrp02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from flistxattr01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from flistxattr03.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from flistxattr02.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/flistxattr/flistxattr03 CC testcases/kernel/syscalls/flistxattr/flistxattr02 CC testcases/kernel/syscalls/flistxattr/flistxattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpipc.a make[6]: Nothing to be done for 'all'. GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/mremap/mremap02 CC testcases/kernel/syscalls/mremap/mremap01 CC testcases/kernel/syscalls/mremap/mremap03 CC testcases/kernel/syscalls/mremap/mremap04 In file included from ../../../../include/tst_test.h:180, from mremap06.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mremap/mremap06 CC testcases/kernel/syscalls/mremap/mremap05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from cacheflush01.c:3: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/cacheflush/cacheflush01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from execlp01_child.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execlp01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execlp/execlp01 CC testcases/kernel/syscalls/execlp/execlp01_child /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. msync03.c: In function 'setup': msync03.c:131:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 131 | addr3 = (char *)rl.rlim_max; | ^ In file included from ../../../../include/tst_test.h:180, from msync04.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/msync/msync01 CC testcases/kernel/syscalls/msync/msync03 CC testcases/kernel/syscalls/msync/msync02 CC testcases/kernel/syscalls/msync/msync04 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pkey.h:10, from pkey01.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pkeys/pkey01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/setfsgid/setfsgid01_16.o In file included from ../../../../include/tst_test.h:180, from setfsgid01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} setfsgid03.c: In function 'main': setfsgid03.c:72:33: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare] 72 | if (TEST_RETURN == gid) { | ^~ In file included from ../../../../include/tst_test.h:180, from setfsgid02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: setfsgid01.c: In function 'run': ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsgid01.c:39:9: note: in expansion of macro 'TST_EXP_VAL' 39 | TST_EXP_VAL(SETFSGID(nobody_gid), gid); | ^~~~~~~~~~~ ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsgid01.c:40:9: note: in expansion of macro 'TST_EXP_VAL' 40 | TST_EXP_VAL(SETFSGID(-1), nobody_gid); | ^~~~~~~~~~~ ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:148:45: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 148 | #define TST_EXP_VAL_SILENT(SCALL, VAL, ...) TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ setfsgid01.c:41:9: note: in expansion of macro 'TST_EXP_VAL_SILENT' 41 | TST_EXP_VAL_SILENT(SETFSGID(gid), nobody_gid); | ^~~~~~~~~~~~~~~~~~ In file included from ../../../../include/tst_test.h:180, from setfsgid01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: setfsgid01.c: In function 'run': ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsgid01.c:39:9: note: in expansion of macro 'TST_EXP_VAL' 39 | TST_EXP_VAL(SETFSGID(nobody_gid), gid); | ^~~~~~~~~~~ ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsgid01.c:40:9: note: in expansion of macro 'TST_EXP_VAL' 40 | TST_EXP_VAL(SETFSGID(-1), nobody_gid); | ^~~~~~~~~~~ ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:148:45: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 148 | #define TST_EXP_VAL_SILENT(SCALL, VAL, ...) TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ setfsgid01.c:41:9: note: in expansion of macro 'TST_EXP_VAL_SILENT' 41 | TST_EXP_VAL_SILENT(SETFSGID(gid), nobody_gid); | ^~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/setfsgid/setfsgid03.o CC testcases/kernel/syscalls/setfsgid/setfsgid02_16.o CC testcases/kernel/syscalls/setfsgid/setfsgid01.o CC testcases/kernel/syscalls/setfsgid/setfsgid03_16.o CC testcases/kernel/syscalls/setfsgid/setfsgid02.o In file included from ../../../../include/tst_test.h:180, from setfsgid02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} setfsgid03.c: In function 'main': setfsgid03.c:72:33: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare] 72 | if (TEST_RETURN == gid) { | ^~ LD testcases/kernel/syscalls/setfsgid/setfsgid01 LD testcases/kernel/syscalls/setfsgid/setfsgid02 LD testcases/kernel/syscalls/setfsgid/setfsgid03 LD testcases/kernel/syscalls/setfsgid/setfsgid01_16 LD testcases/kernel/syscalls/setfsgid/setfsgid03_16 LD testcases/kernel/syscalls/setfsgid/setfsgid02_16 rm setfsgid01.o setfsgid02.o setfsgid01_16.o setfsgid03.o setfsgid02_16.o setfsgid03_16.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fchdir03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchdir01.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchdir02.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fchdir/fchdir02 CC testcases/kernel/syscalls/fchdir/fchdir03 CC testcases/kernel/syscalls/fchdir/fchdir01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. renameat202.c: In function 'renameat2_verify': renameat202.c:126:53: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare] 126 | if (TEST_ERRNO == EINVAL && TST_BTRFS_MAGIC == fs_type) { | ^~ renameat201.c: In function 'renameat2_verify': renameat201.c:141:28: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 141 | && fs_type == TST_BTRFS_MAGIC) { | ^~ CC testcases/kernel/syscalls/renameat2/renameat202 CC testcases/kernel/syscalls/renameat2/renameat201 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from chdir04.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from chdir01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/chdir/chdir04 CC testcases/kernel/syscalls/chdir/chdir01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from vhangup01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from vhangup02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/vhangup/vhangup01 CC testcases/kernel/syscalls/vhangup/vhangup02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from execl01_child.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execl01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execl/execl01_child CC testcases/kernel/syscalls/execl/execl01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from setreuid01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setreuid02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setreuid03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/setreuid/setreuid03.o CC testcases/kernel/syscalls/setreuid/setreuid01.o In file included from ../../../../include/tst_test.h:180, from setreuid04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setreuid/setreuid02.o In file included from ../../../../include/tst_test.h:180, from setreuid05.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setreuid07.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setreuid06.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setreuid/setreuid05.o CC testcases/kernel/syscalls/setreuid/setreuid01_16.o In file included from ../../../../include/tst_test.h:180, from setreuid01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': CC testcases/kernel/syscalls/setreuid/setreuid04.o ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setreuid/setreuid02_16.o CC testcases/kernel/syscalls/setreuid/setreuid07.o CC testcases/kernel/syscalls/setreuid/setreuid03_16.o In file included from ../../../../include/tst_test.h:180, from setreuid02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setreuid/setreuid06.o CC testcases/kernel/syscalls/setreuid/setreuid04_16.o In file included from ../../../../include/tst_test.h:180, from setreuid03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setreuid04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setreuid/setreuid05_16.o In file included from ../../../../include/tst_test.h:180, from setreuid05.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setreuid/setreuid06_16.o CC testcases/kernel/syscalls/setreuid/setreuid07_16.o In file included from ../../../../include/tst_test.h:180, from setreuid06.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setreuid07.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/setreuid/setreuid01 LD testcases/kernel/syscalls/setreuid/setreuid02 LD testcases/kernel/syscalls/setreuid/setreuid03 LD testcases/kernel/syscalls/setreuid/setreuid04 LD testcases/kernel/syscalls/setreuid/setreuid05 LD testcases/kernel/syscalls/setreuid/setreuid07 LD testcases/kernel/syscalls/setreuid/setreuid06 LD testcases/kernel/syscalls/setreuid/setreuid01_16 LD testcases/kernel/syscalls/setreuid/setreuid05_16 LD testcases/kernel/syscalls/setreuid/setreuid02_16 LD testcases/kernel/syscalls/setreuid/setreuid04_16 LD testcases/kernel/syscalls/setreuid/setreuid03_16 LD testcases/kernel/syscalls/setreuid/setreuid06_16 LD testcases/kernel/syscalls/setreuid/setreuid07_16 rm setreuid01_16.o setreuid03.o setreuid01.o setreuid02_16.o setreuid05.o setreuid07.o setreuid03_16.o setreuid05_16.o setreuid07_16.o setreuid04.o setreuid04_16.o setreuid06.o setreuid02.o setreuid06_16.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from rt_sigsuspend01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rt_sigsuspend/rt_sigsuspend01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from bind02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from bind01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from bind04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from bind03.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/bind/bind04 CC testcases/kernel/syscalls/bind/bind02 In file included from ../../../../include/tst_test.h:180, from bind05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from bind06.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/bind/bind03 CC testcases/kernel/syscalls/bind/bind01 CC testcases/kernel/syscalls/bind/bind05 CC testcases/kernel/syscalls/bind/bind06 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sockioctl/sockioctl01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setegid01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setegid02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setegid/setegid01 CC testcases/kernel/syscalls/setegid/setegid02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from acct01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from acct02.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/acct/acct02_helper CC testcases/kernel/syscalls/acct/acct01 CC testcases/kernel/syscalls/acct/acct02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from umount02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from umount01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from umount03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/umount/umount02 CC testcases/kernel/syscalls/umount/umount01 CC testcases/kernel/syscalls/umount/umount03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from write01.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from write02.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from write03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from write04.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: write04.c: In function 'verify_write': write04.c:31:23: warning: '' may be used uninitialized [-Wmaybe-uninitialized] 31 | TST_EXP_FAIL2(write(wfd, wbuf, sizeof(wbuf)), EAGAIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:15:27: note: in definition of macro 'TEST' 15 | TST_RET = SCALL; \ | ^~~~~ ../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ write04.c:31:9: note: in expansion of macro 'TST_EXP_FAIL2' 31 | TST_EXP_FAIL2(write(wfd, wbuf, sizeof(wbuf)), EAGAIN); | ^~~~~~~~~~~~~ In file included from ../../../../include/tst_test.h:14: /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:366:16: note: by argument 2 of type 'const void *' to 'write' declared here 366 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur; | ^~~~~ write04.c: In function 'setup': write04.c:40:27: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 99 [-Wformat-overflow=] 40 | sprintf(fifo, "%s.%d", fifo, getpid()); | ^~ write04.c:40:9: note: 'sprintf' output between 3 and 112 bytes into a destination of size 100 40 | sprintf(fifo, "%s.%d", fifo, getpid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ write04.c:40:9: warning: 'sprintf' argument 3 overlaps destination object 'fifo' [-Wrestrict] write04.c:23:13: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 23 | static char fifo[100]; | ^~~~ CC testcases/kernel/syscalls/write/write03 CC testcases/kernel/syscalls/write/write01 CC testcases/kernel/syscalls/write/write04 CC testcases/kernel/syscalls/write/write02 In file included from ../../../../include/tst_test.h:180, from write05.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from write06.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} write06.c: In function 'verify_write': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ write06.c:47:17: note: in expansion of macro 'tst_res' 47 | tst_res(TFAIL, "file size is %ld != K2", statbuf.st_size); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ write06.c:57:17: note: in expansion of macro 'tst_res' 57 | tst_res(TFAIL, "Wrong offset after write %zu expected %u", off, K3); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ write06.c:59:17: note: in expansion of macro 'tst_res' 59 | tst_res(TPASS, "Offset is correct after write %zu", off); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ write06.c:63:17: note: in expansion of macro 'tst_res' 63 | tst_res(TFAIL, "Wrong file size after append %zu expected %u", statbuf.st_size, K3); | ^~~~~~~ CC testcases/kernel/syscalls/write/write05 CC testcases/kernel/syscalls/write/write06 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from tee02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from tee01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/tee/tee02 CC testcases/kernel/syscalls/tee/tee01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fchmod01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchmod04.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchmod02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchmod03.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fchmod/fchmod01 CC testcases/kernel/syscalls/fchmod/fchmod03 CC testcases/kernel/syscalls/fchmod/fchmod04 In file included from ../../../../include/tst_test.h:180, from fchmod05.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fchmod06.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fchmod/fchmod02 CC testcases/kernel/syscalls/fchmod/fchmod06 CC testcases/kernel/syscalls/fchmod/fchmod05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from munlock01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from munlock02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: munlock02.c: In function 'run': munlock02.c:25:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ^~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:209:25: note: in expansion of macro 'TST_MSG_' 209 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ munlock02.c:25:9: note: in expansion of macro 'TST_EXP_FAIL' 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ^~~~~~~~~~~~ munlock02.c:25:65: note: format string is defined here 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ~~^ | | | long unsigned int | %u munlock02.c:25:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ^~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:214:25: note: in expansion of macro 'TST_MSGP_' 214 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ munlock02.c:25:9: note: in expansion of macro 'TST_EXP_FAIL' 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ^~~~~~~~~~~~ munlock02.c:25:65: note: format string is defined here 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ~~^ | | | long unsigned int | %u munlock02.c:25:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ^~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:223:25: note: in expansion of macro 'TST_MSGP_' 223 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:267:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 267 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ munlock02.c:25:9: note: in expansion of macro 'TST_EXP_FAIL' 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ^~~~~~~~~~~~ munlock02.c:25:65: note: format string is defined here 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ~~^ | | | long unsigned int | %u munlock02.c:25:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ^~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:270:25: note: in expansion of macro 'TST_MSG_' 270 | TST_MSG_(TPASS | TTERRNO, " ", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:276:17: note: in expansion of macro 'TST_EXP_FAIL_ARR_' 276 | TST_EXP_FAIL_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~ munlock02.c:25:9: note: in expansion of macro 'TST_EXP_FAIL' 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ^~~~~~~~~~~~ munlock02.c:25:65: note: format string is defined here 25 | TST_EXP_FAIL(munlock(addr, len), ENOMEM, "munlock(%p, %lu)", | ~~^ | | | long unsigned int | %u CC testcases/kernel/syscalls/munlock/munlock01 CC testcases/kernel/syscalls/munlock/munlock02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from execle01_child.c:9: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execle01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execle/execle01 CC testcases/kernel/syscalls/execle/execle01_child /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from epoll_create01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from epoll_create02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/epoll_create/epoll_create01 CC testcases/kernel/syscalls/epoll_create/epoll_create02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from execve03.c:50: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} execve03.c: In function 'setup': execve03.c:97:32: warning: '/fake' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 97 | sprintf(test_name3, "%s/fake", test_name5); | ^~~~~ execve03.c:97:9: note: 'sprintf' output between 6 and 1029 bytes into a destination of size 1024 97 | sprintf(test_name3, "%s/fake", test_name5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../../include/tst_test.h:180, from execve01_child.c:9: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execve01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execve02.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execve/execve03 CC testcases/kernel/syscalls/execve/execve02 In file included from ../../../../include/tst_test.h:180, from execve05.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execve04.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execve/execve01 CC testcases/kernel/syscalls/execve/execve01_child In file included from ../../../../include/tst_test.h:180, from execve06_child.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from execve06.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execve/execve04 CC testcases/kernel/syscalls/execve/execve05 In file included from ../../../../include/tst_test.h:180, from execve_child.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/execve/execve06_child CC testcases/kernel/syscalls/execve/execve06 CC testcases/kernel/syscalls/execve/execve_child /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from read04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from read03.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from read01.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from read02.c:36: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/read/read01 CC testcases/kernel/syscalls/read/read03 CC testcases/kernel/syscalls/read/read04 CC testcases/kernel/syscalls/read/read02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. mincore01.c: In function 'setup4': mincore01.c:146:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 146 | tc->len = as_lim.rlim_cur - (rlim_t)global_pointer + pagesize; | ^ In file included from ../../../../include/tst_test.h:180, from mincore04.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mincore02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mincore03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mincore/mincore04 CC testcases/kernel/syscalls/mincore/mincore02 CC testcases/kernel/syscalls/mincore/mincore01 CC testcases/kernel/syscalls/mincore/mincore03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sigsuspend01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sigsuspend/sigsuspend01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from faccessat02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from faccessat01.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/faccessat/faccessat02 CC testcases/kernel/syscalls/faccessat/faccessat01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from open_tree02.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from open_tree01.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/open_tree/open_tree01 CC testcases/kernel/syscalls/open_tree/open_tree02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/geteuid/geteuid01_16.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from geteuid01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from geteuid02.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from geteuid01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/geteuid/geteuid02_16.o CC testcases/kernel/syscalls/geteuid/geteuid01.o CC testcases/kernel/syscalls/geteuid/geteuid02.o In file included from ../../../../include/tst_test.h:180, from geteuid02.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/geteuid/geteuid01_16 LD testcases/kernel/syscalls/geteuid/geteuid02 LD testcases/kernel/syscalls/geteuid/geteuid01 LD testcases/kernel/syscalls/geteuid/geteuid02_16 rm geteuid01.o geteuid02.o geteuid01_16.o geteuid02_16.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from gettimeofday01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from gettimeofday02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/gettimeofday/gettimeofday01 CC testcases/kernel/syscalls/gettimeofday/gettimeofday02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from readdir21.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from readdir01.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/readdir/readdir01 CC testcases/kernel/syscalls/readdir/readdir21 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pause01.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} pause02.c: In function 'sig_handle': pause02.c:106:28: warning: unused parameter 'sig' [-Wunused-parameter] 106 | static void sig_handle(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/pause/pause01 CC testcases/kernel/syscalls/pause/pause03 CC testcases/kernel/syscalls/pause/pause02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sync_file_range02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} sync_file_range02.c: In function 'verify_sync_file_range': ../../../../include/tst_test.h:73:55: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ sync_file_range02.c:73:17: note: in expansion of macro 'tst_res' 73 | tst_res(TFAIL, "%s: Synced %li, expected %li", tc->desc, | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from sync_file_range01.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sync_file_range/sync_file_range02 CC testcases/kernel/syscalls/sync_file_range/sync_file_range01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getpeername01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getpeername/getpeername01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/mprotect/mprotect03 CC testcases/kernel/syscalls/mprotect/mprotect02 CC testcases/kernel/syscalls/mprotect/mprotect04 CC testcases/kernel/syscalls/mprotect/mprotect01 In file included from ../../../../include/tst_test.h:180, from mprotect05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mprotect/mprotect05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/listen/listen01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from dup01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dup04.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dup02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dup03.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/dup/dup01 CC testcases/kernel/syscalls/dup/dup02 CC testcases/kernel/syscalls/dup/dup04 In file included from ../../../../include/tst_test.h:180, from dup05.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dup06.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dup07.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/dup/dup05 CC testcases/kernel/syscalls/dup/dup03 CC testcases/kernel/syscalls/dup/dup06 CC testcases/kernel/syscalls/dup/dup07 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from gettid01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from gettid02.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/gettid/gettid01 CC testcases/kernel/syscalls/gettid/gettid02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timer_gettime01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/timer_gettime/timer_gettime01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from unlinkat01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/unlinkat/unlinkat01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpswap.a GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from swapoff02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from swapoff01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/swapoff/swapoff01 CC testcases/kernel/syscalls/swapoff/swapoff02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sysfs02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sysfs03.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sysfs01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sysfs04.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sysfs/sysfs02 CC testcases/kernel/syscalls/sysfs/sysfs03 CC testcases/kernel/syscalls/sysfs/sysfs01 CC testcases/kernel/syscalls/sysfs/sysfs04 In file included from ../../../../include/tst_test.h:180, from sysfs05.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sysfs/sysfs05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/lapi/name_to_handle_at.h:12, from open_by_handle_at01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/lapi/name_to_handle_at.h:12, from open_by_handle_at02.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/open_by_handle_at/open_by_handle_at02 CC testcases/kernel/syscalls/open_by_handle_at/open_by_handle_at01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/symlinkat/symlinkat01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from accept4_01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/accept4/accept4_01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from close_range02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from close_range01.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} close_range01.c: In function 'setup': ../../../../include/tst_test.h:120:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ close_range01.c:63:17: note: in expansion of macro 'tst_brk' 63 | tst_brk(TCONF, "NOFILE limit max too low: %lu < 1000", | ^~~~~~~ CC testcases/kernel/syscalls/close_range/close_range01 CC testcases/kernel/syscalls/close_range/close_range02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fspick02.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fspick01.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fspick/fspick02 CC testcases/kernel/syscalls/fspick/fspick01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from utime04.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from utime03.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from utime02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from utime01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': utime03.c: In function 'run': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime03.c:80:17: note: in expansion of macro 'tst_res' 80 | tst_res(TFAIL, "utime() did not set expected atime, " | ^~~~~~~ ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime03.c:80:17: note: in expansion of macro 'tst_res' 80 | tst_res(TFAIL, "utime() did not set expected atime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime03.c:80:17: note: in expansion of macro 'tst_res' 80 | tst_res(TFAIL, "utime() did not set expected atime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime03.c:85:17: note: in expansion of macro 'tst_res' 85 | tst_res(TFAIL, "utime() did not set expected mtime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime03.c:85:17: note: in expansion of macro 'tst_res' 85 | tst_res(TFAIL, "utime() did not set expected mtime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime03.c:85:17: note: in expansion of macro 'tst_res' 85 | tst_res(TFAIL, "utime() did not set expected mtime, " | ^~~~~~~ utime02.c: In function 'run': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime02.c:69:17: note: in expansion of macro 'tst_res' 69 | tst_res(TFAIL, "utime() did not set expected mtime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime02.c:69:17: note: in expansion of macro 'tst_res' 69 | tst_res(TFAIL, "utime() did not set expected mtime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime02.c:69:17: note: in expansion of macro 'tst_res' 69 | tst_res(TFAIL, "utime() did not set expected mtime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime02.c:74:17: note: in expansion of macro 'tst_res' 74 | tst_res(TFAIL, "utime() did not set expected atime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime02.c:74:17: note: in expansion of macro 'tst_res' 74 | tst_res(TFAIL, "utime() did not set expected atime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime02.c:74:17: note: in expansion of macro 'tst_res' 74 | tst_res(TFAIL, "utime() did not set expected atime, " | ^~~~~~~ utime01.c: In function 'run': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime01.c:52:17: note: in expansion of macro 'tst_res' 52 | tst_res(TFAIL, "utime() did not set expected mtime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime01.c:52:17: note: in expansion of macro 'tst_res' 52 | tst_res(TFAIL, "utime() did not set expected mtime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime01.c:52:17: note: in expansion of macro 'tst_res' 52 | tst_res(TFAIL, "utime() did not set expected mtime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime01.c:57:17: note: in expansion of macro 'tst_res' 57 | tst_res(TFAIL, "utime() did not set expected atime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime01.c:57:17: note: in expansion of macro 'tst_res' 57 | tst_res(TFAIL, "utime() did not set expected atime, " | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ utime01.c:57:17: note: in expansion of macro 'tst_res' 57 | tst_res(TFAIL, "utime() did not set expected atime, " | ^~~~~~~ CC testcases/kernel/syscalls/utime/utime03 CC testcases/kernel/syscalls/utime/utime04 CC testcases/kernel/syscalls/utime/utime02 CC testcases/kernel/syscalls/utime/utime01 In file included from ../../../../include/tst_test.h:180, from utime06.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from utime07.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from utime05.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/utime/utime06 CC testcases/kernel/syscalls/utime/utime05 CC testcases/kernel/syscalls/utime/utime07 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mknod02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mknod01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: mknod01.c: In function 'run': mknod01.c:40:33: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'dev_t' {aka 'long long unsigned int'} [-Wformat=] 40 | "mknod(PATH, %o, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:166:25: note: in expansion of macro 'TST_MSG_' 166 | TST_MSG_(TFAIL | TTERRNO, " failed", \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:185:17: note: in expansion of macro 'TST_EXP_PASS_SILENT_' 185 | TST_EXP_PASS_SILENT_(SCALL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~ mknod01.c:39:9: note: in expansion of macro 'TST_EXP_PASS' 39 | TST_EXP_PASS(mknod(PATH, tcases[i], dev), | ^~~~~~~~~~~~ mknod01.c:40:52: note: format string is defined here 40 | "mknod(PATH, %o, %ld)", | ~~^ | | | long int | %lld mknod01.c:40:33: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'dev_t' {aka 'long long unsigned int'} [-Wformat=] 40 | "mknod(PATH, %o, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:172:25: note: in expansion of macro 'TST_MSGP_' 172 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:185:17: note: in expansion of macro 'TST_EXP_PASS_SILENT_' 185 | TST_EXP_PASS_SILENT_(SCALL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~ mknod01.c:39:9: note: in expansion of macro 'TST_EXP_PASS' 39 | TST_EXP_PASS(mknod(PATH, tcases[i], dev), | ^~~~~~~~~~~~ mknod01.c:40:52: note: format string is defined here 40 | "mknod(PATH, %o, %ld)", | ~~^ | | | long int | %lld mknod01.c:40:33: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'dev_t' {aka 'long long unsigned int'} [-Wformat=] 40 | "mknod(PATH, %o, %ld)", | ^~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:188:25: note: in expansion of macro 'TST_MSG_' 188 | TST_MSG_(TPASS, " passed", #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~ mknod01.c:39:9: note: in expansion of macro 'TST_EXP_PASS' 39 | TST_EXP_PASS(mknod(PATH, tcases[i], dev), | ^~~~~~~~~~~~ mknod01.c:40:52: note: format string is defined here 40 | "mknod(PATH, %o, %ld)", | ~~^ | | | long int | %lld CC testcases/kernel/syscalls/mknod/mknod02 CC testcases/kernel/syscalls/mknod/mknod01 CC testcases/kernel/syscalls/mknod/mknod04 CC testcases/kernel/syscalls/mknod/mknod03 CC testcases/kernel/syscalls/mknod/mknod06 CC testcases/kernel/syscalls/mknod/mknod07 CC testcases/kernel/syscalls/mknod/mknod05 CC testcases/kernel/syscalls/mknod/mknod08 In file included from ../../../../include/tst_test.h:180, from mknod09.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mknod/mknod09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setfsuid01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setfsuid03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setfsuid02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: setfsuid01.c: In function 'run': ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsuid01.c:37:9: note: in expansion of macro 'TST_EXP_VAL' 37 | TST_EXP_VAL(SETFSUID(nobody_uid), uid, "setfsuid(%d)", nobody_uid); | ^~~~~~~~~~~ ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsuid01.c:38:9: note: in expansion of macro 'TST_EXP_VAL' 38 | TST_EXP_VAL(SETFSUID(-1), nobody_uid); | ^~~~~~~~~~~ In file included from ../../../../include/tst_test.h:23: setfsuid03.c: In function 'run': ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:148:45: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 148 | #define TST_EXP_VAL_SILENT(SCALL, VAL, ...) TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ setfsuid03.c:39:9: note: in expansion of macro 'TST_EXP_VAL_SILENT' 39 | TST_EXP_VAL_SILENT(SETFSUID(ruid), nobody_uid); | ^~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsuid03.c:40:9: note: in expansion of macro 'TST_EXP_VAL' 40 | TST_EXP_VAL(SETFSUID(-1), ruid, "setfsuid(fsuid) by non-root user:"); | ^~~~~~~~~~~ CC testcases/kernel/syscalls/setfsuid/setfsuid01.o CC testcases/kernel/syscalls/setfsuid/setfsuid03.o CC testcases/kernel/syscalls/setfsuid/setfsuid01_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid02_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid02.o CC testcases/kernel/syscalls/setfsuid/setfsuid03_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid04.o CC testcases/kernel/syscalls/setfsuid/setfsuid04_16.o In file included from ../../../../include/tst_test.h:180, from setfsuid02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setfsuid01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setfsuid03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: setfsuid03.c: In function 'run': ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:148:45: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 148 | #define TST_EXP_VAL_SILENT(SCALL, VAL, ...) TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ setfsuid03.c:39:9: note: in expansion of macro 'TST_EXP_VAL_SILENT' 39 | TST_EXP_VAL_SILENT(SETFSUID(ruid), nobody_uid); | ^~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsuid03.c:40:9: note: in expansion of macro 'TST_EXP_VAL' 40 | TST_EXP_VAL(SETFSUID(-1), ruid, "setfsuid(fsuid) by non-root user:"); | ^~~~~~~~~~~ In file included from ../../../../include/tst_test.h:23: setfsuid01.c: In function 'run': ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsuid01.c:37:9: note: in expansion of macro 'TST_EXP_VAL' 37 | TST_EXP_VAL(SETFSUID(nobody_uid), uid, "setfsuid(%d)", nobody_uid); | ^~~~~~~~~~~ ../../../../include/tst_test_macros.h:138:29: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 138 | if (TST_RET != VAL) { \ | ^~ ../../../../include/tst_test_macros.h:152:17: note: in expansion of macro 'TST_EXP_VAL_SILENT_' 152 | TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~ setfsuid01.c:38:9: note: in expansion of macro 'TST_EXP_VAL' 38 | TST_EXP_VAL(SETFSUID(-1), nobody_uid); | ^~~~~~~~~~~ LD testcases/kernel/syscalls/setfsuid/setfsuid01 LD testcases/kernel/syscalls/setfsuid/setfsuid02 LD testcases/kernel/syscalls/setfsuid/setfsuid03 LD testcases/kernel/syscalls/setfsuid/setfsuid04 LD testcases/kernel/syscalls/setfsuid/setfsuid01_16 LD testcases/kernel/syscalls/setfsuid/setfsuid03_16 LD testcases/kernel/syscalls/setfsuid/setfsuid04_16 LD testcases/kernel/syscalls/setfsuid/setfsuid02_16 rm setfsuid04_16.o setfsuid01.o setfsuid02.o setfsuid01_16.o setfsuid03.o setfsuid02_16.o setfsuid03_16.o setfsuid04.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ulimit/ulimit01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/pwrite/pwrite02_64.o CC testcases/kernel/syscalls/pwrite/pwrite03_64.o CC testcases/kernel/syscalls/pwrite/pwrite01_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/pwrite/pwrite04_64.o In file included from ../../../../include/tst_test.h:180, from pwrite03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pwrite02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: pwrite02.c: In function 'verify_pwrite': pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:209:25: note: in expansion of macro 'TST_MSG_' 209 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2' 73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno, | ^~~~~~~~~~~~~ pwrite02.c:74:35: note: format string is defined here 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ~~^ | | | long int | %lld pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:214:25: note: in expansion of macro 'TST_MSGP_' 214 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2' 73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno, | ^~~~~~~~~~~~~ pwrite02.c:74:35: note: format string is defined here 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ~~^ | | | long int | %lld pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:223:25: note: in expansion of macro 'TST_MSGP_' 223 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2' 73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno, | ^~~~~~~~~~~~~ pwrite02.c:74:35: note: format string is defined here 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ~~^ | | | long int | %lld pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:289:25: note: in expansion of macro 'TST_MSG_' 289 | TST_MSG_(TPASS | TTERRNO, " ", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2' 73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno, | ^~~~~~~~~~~~~ pwrite02.c:74:35: note: format string is defined here 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ~~^ | | | long int | %lld In file included from ../../../../include/tst_test.h:180, from pwrite01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pwrite04.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} pwrite04.c: In function 'verify_pwrite': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ pwrite04.c:55:17: note: in expansion of macro 'tst_res' 55 | tst_res(TFAIL, "file size is %ld != K2", statbuf.st_size); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ pwrite04.c:63:17: note: in expansion of macro 'tst_res' 63 | tst_res(TFAIL, "file size is %ld != K3", statbuf.st_size); | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from pwrite01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pwrite02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:23: pwrite02.c: In function 'verify_pwrite': pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:209:25: note: in expansion of macro 'TST_MSG_' 209 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2' 73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno, | ^~~~~~~~~~~~~ pwrite02.c:74:35: note: format string is defined here 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ~~^ | | | long int | %lld pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:214:25: note: in expansion of macro 'TST_MSGP_' 214 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2' 73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno, | ^~~~~~~~~~~~~ pwrite02.c:74:35: note: format string is defined here 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ~~^ | | | long int | %lld pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:223:25: note: in expansion of macro 'TST_MSGP_' 223 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2' 73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno, | ^~~~~~~~~~~~~ pwrite02.c:74:35: note: format string is defined here 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ~~^ | | | long int | %lld pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ^~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:289:25: note: in expansion of macro 'TST_MSG_' 289 | TST_MSG_(TPASS | TTERRNO, " ", SSCALL, ##__VA_ARGS__); \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2' 73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno, | ^~~~~~~~~~~~~ pwrite02.c:74:35: note: format string is defined here 74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off); | ~~^ | | | long int | %lld In file included from ../../../../include/tst_test.h:180, from pwrite03.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pwrite04.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} pwrite04.c: In function 'verify_pwrite': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ pwrite04.c:55:17: note: in expansion of macro 'tst_res' 55 | tst_res(TFAIL, "file size is %ld != K2", statbuf.st_size); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ pwrite04.c:63:17: note: in expansion of macro 'tst_res' 63 | tst_res(TFAIL, "file size is %ld != K3", statbuf.st_size); | ^~~~~~~ CC testcases/kernel/syscalls/pwrite/pwrite01 CC testcases/kernel/syscalls/pwrite/pwrite03 CC testcases/kernel/syscalls/pwrite/pwrite02 LD testcases/kernel/syscalls/pwrite/pwrite01_64 LD testcases/kernel/syscalls/pwrite/pwrite02_64 LD testcases/kernel/syscalls/pwrite/pwrite03_64 CC testcases/kernel/syscalls/pwrite/pwrite04 LD testcases/kernel/syscalls/pwrite/pwrite04_64 rm pwrite03_64.o pwrite04_64.o pwrite01_64.o pwrite02_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from ../sendmmsg/sendmmsg.h:12, from recvmmsg01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/recvmmsg/recvmmsg01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. munmap03.c: In function 'test_einval1': munmap03.c:116:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 116 | addr = (char *)brkval.rlim_max; | ^ CC testcases/kernel/syscalls/munmap/munmap01 CC testcases/kernel/syscalls/munmap/munmap02 CC testcases/kernel/syscalls/munmap/munmap03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mkdirat02.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mkdirat/mkdirat02 CC testcases/kernel/syscalls/mkdirat/mkdirat01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from nanosleep04.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from nanosleep01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from nanosleep02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/nanosleep/nanosleep04 CC testcases/kernel/syscalls/nanosleep/nanosleep01 CC testcases/kernel/syscalls/nanosleep/nanosleep02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sysconf/sysconf01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from io_pgetevents02.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from io_pgetevents01.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/io_pgetevents/io_pgetevents02 CC testcases/kernel/syscalls/io_pgetevents/io_pgetevents01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/setsid/setsid01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sched_getaffinity01.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_getaffinity/sched_getaffinity01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/set_tid_address/set_tid_address01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from flock02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from flock01.c:12: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from flock04.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from flock03.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/flock/flock01 CC testcases/kernel/syscalls/flock/flock02 CC testcases/kernel/syscalls/flock/flock04 In file included from ../../../../include/tst_test.h:180, from flock06.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/flock/flock03 CC testcases/kernel/syscalls/flock/flock06 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpswap.a make[6]: Nothing to be done for 'all'. GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from swapon02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from swapon03.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from swapon01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/swapon/swapon03 CC testcases/kernel/syscalls/swapon/swapon01 CC testcases/kernel/syscalls/swapon/swapon02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setresuid01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setresuid02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setresuid03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setresuid04.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setresuid/setresuid01.o CC testcases/kernel/syscalls/setresuid/setresuid02.o CC testcases/kernel/syscalls/setresuid/setresuid01_16.o CC testcases/kernel/syscalls/setresuid/setresuid03.o CC testcases/kernel/syscalls/setresuid/setresuid02_16.o In file included from ../../../../include/tst_test.h:180, from setresuid01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from setresuid05.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setresuid02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setresuid/setresuid04.o CC testcases/kernel/syscalls/setresuid/setresuid03_16.o CC testcases/kernel/syscalls/setresuid/setresuid05.o CC testcases/kernel/syscalls/setresuid/setresuid04_16.o In file included from ../../../../include/tst_test.h:180, from setresuid03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setresuid/setresuid05_16.o In file included from ../../../../include/tst_test.h:180, from setresuid04.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setresuid05.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/setresuid/setresuid01 LD testcases/kernel/syscalls/setresuid/setresuid02 LD testcases/kernel/syscalls/setresuid/setresuid03 LD testcases/kernel/syscalls/setresuid/setresuid04 LD testcases/kernel/syscalls/setresuid/setresuid01_16 LD testcases/kernel/syscalls/setresuid/setresuid02_16 LD testcases/kernel/syscalls/setresuid/setresuid03_16 LD testcases/kernel/syscalls/setresuid/setresuid05 LD testcases/kernel/syscalls/setresuid/setresuid04_16 LD testcases/kernel/syscalls/setresuid/setresuid05_16 rm setresuid01.o setresuid02.o setresuid01_16.o setresuid03.o setresuid03_16.o setresuid02_16.o setresuid05.o setresuid04.o setresuid05_16.o setresuid04_16.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/truncate/truncate02_64.o GEN ltp-version.h CC testcases/kernel/syscalls/truncate/truncate03_64.o make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from truncate02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} truncate02.c: In function 'verify_truncate': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:55:17: note: in expansion of macro 'tst_res' 55 | tst_res(TFAIL | TTERRNO, "truncate(%s, %ld) failed", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:61:17: note: in expansion of macro 'tst_res' 61 | tst_res(TFAIL | TTERRNO, | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:69:17: note: in expansion of macro 'tst_res' 69 | tst_res(TFAIL, "%s: Incorrect file size %ld, expected %ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:69:17: note: in expansion of macro 'tst_res' 69 | tst_res(TFAIL, "%s: Incorrect file size %ld, expected %ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:75:17: note: in expansion of macro 'tst_res' 75 | tst_res(TFAIL, "truncate(%s, %ld) changes offset", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:89:9: note: in expansion of macro 'tst_res' 89 | tst_res(TPASS, "truncate(%s, %ld) succeeded", | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from truncate03.c:46: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from truncate03.c:46: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from truncate02.c:24: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} truncate02.c: In function 'verify_truncate': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:55:17: note: in expansion of macro 'tst_res' 55 | tst_res(TFAIL | TTERRNO, "truncate(%s, %ld) failed", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:61:17: note: in expansion of macro 'tst_res' 61 | tst_res(TFAIL | TTERRNO, | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__off64_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:69:17: note: in expansion of macro 'tst_res' 69 | tst_res(TFAIL, "%s: Incorrect file size %ld, expected %ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:69:17: note: in expansion of macro 'tst_res' 69 | tst_res(TFAIL, "%s: Incorrect file size %ld, expected %ld", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:75:17: note: in expansion of macro 'tst_res' 75 | tst_res(TFAIL, "truncate(%s, %ld) changes offset", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ truncate02.c:89:9: note: in expansion of macro 'tst_res' 89 | tst_res(TPASS, "truncate(%s, %ld) succeeded", | ^~~~~~~ LD testcases/kernel/syscalls/truncate/truncate02_64 LD testcases/kernel/syscalls/truncate/truncate03_64 CC testcases/kernel/syscalls/truncate/truncate03 CC testcases/kernel/syscalls/truncate/truncate02 rm truncate02_64.o truncate03_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. sigaltstack01.c: In function 'sig_handler': sigaltstack01.c:223:14: warning: storing the address of local variable 'i' in 'addr' [-Wdangling-pointer=] 223 | addr = &i; | ~~~~~^~~~ sigaltstack01.c:220:13: note: 'i' declared here 220 | int i; | ^ sigaltstack01.c:83:7: note: 'addr' declared here 83 | void *addr, *main_stk; /* address of main stack for signal */ | ^~~~ In file included from ../../../../include/tst_test.h:180, from sigaltstack02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sigaltstack/sigaltstack01 CC testcases/kernel/syscalls/sigaltstack/sigaltstack02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from reboot02.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from reboot01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/reboot/reboot01 CC testcases/kernel/syscalls/reboot/reboot02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from iopl01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from iopl02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/iopl/iopl01 CC testcases/kernel/syscalls/iopl/iopl02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from stime01.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from stime02.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} stime01.c: In function 'run': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ stime01.c:36:17: note: in expansion of macro 'tst_res' 36 | tst_res(TFAIL | TERRNO, "stime(%ld) failed", new_time); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ stime01.c:46:17: note: in expansion of macro 'tst_res' 46 | tst_res(TINFO, "pt.tv_sec: %ld", pres_time_tv.tv_sec); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ stime01.c:47:17: note: in expansion of macro 'tst_res' 47 | tst_res(TPASS, "system time was set to %ld", new_time); | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ stime01.c:50:17: note: in expansion of macro 'tst_res' 50 | tst_res(TFAIL, "system time not set to %ld (got: %ld)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ stime01.c:50:17: note: in expansion of macro 'tst_res' 50 | tst_res(TFAIL, "system time not set to %ld (got: %ld)", | ^~~~~~~ CC testcases/kernel/syscalls/stime/stime02 CC testcases/kernel/syscalls/stime/stime01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mount01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mount02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mount03.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mount03_suid_child.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} mount03.c: In function 'test_file_dir_noatime': ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mount03.c:137:25: note: in expansion of macro 'tst_res' 137 | tst_res(TPASS, "st.st_atime(%ld) > atime(%ld)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mount03.c:137:25: note: in expansion of macro 'tst_res' 137 | tst_res(TPASS, "st.st_atime(%ld) > atime(%ld)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mount03.c:140:25: note: in expansion of macro 'tst_res' 140 | tst_res(TFAIL, "st.st_atime(%ld) < atime(%ld)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mount03.c:140:25: note: in expansion of macro 'tst_res' 140 | tst_res(TFAIL, "st.st_atime(%ld) < atime(%ld)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mount03.c:148:25: note: in expansion of macro 'tst_res' 148 | tst_res(TPASS, "dir_st.st_atime(%ld) > dir_atime(%ld)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mount03.c:148:25: note: in expansion of macro 'tst_res' 148 | tst_res(TPASS, "dir_st.st_atime(%ld) > dir_atime(%ld)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mount03.c:151:25: note: in expansion of macro 'tst_res' 151 | tst_res(TFAIL, "dir_st.st_atime(%ld) < dir_atime(%ld)", | ^~~~~~~ ../../../../include/tst_test.h:73:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mount03.c:151:25: note: in expansion of macro 'tst_res' 151 | tst_res(TFAIL, "dir_st.st_atime(%ld) < dir_atime(%ld)", | ^~~~~~~ CC testcases/kernel/syscalls/mount/mount01 CC testcases/kernel/syscalls/mount/mount03_suid_child In file included from ../../../../include/tst_test.h:180, from mount04.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mount/mount02 In file included from ../../../../include/tst_test.h:180, from mount05.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mount06.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mount/mount04 CC testcases/kernel/syscalls/mount/mount03 In file included from ../../../../include/tst_test.h:180, from mount07.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mount/mount05 In file included from ../../../../include/tst_test.h:23: mount07.c: In function 'test_readlink': mount07.c:68:25: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] 68 | "readlink(%s, buf, %ld)", link_file, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:46:26: note: in expansion of macro 'TST_2_' 46 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__)) | ^~~~~~ ../../../../include/tst_test_macros.h:63:25: note: in expansion of macro 'TST_MSG_' 63 | TST_MSG_(TFAIL | TTERRNO, " failed", \ | ^~~~~~~~ ../../../../include/tst_test_macros.h:86:17: note: in expansion of macro 'TST_EXP_POSITIVE__' 86 | TST_EXP_POSITIVE__(SCALL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~ mount07.c:67:9: note: in expansion of macro 'TST_EXP_POSITIVE' 67 | TST_EXP_POSITIVE(readlink(link_file, buf, sizeof(buf)), | ^~~~~~~~~~~~~~~~ mount07.c:68:46: note: format string is defined here 68 | "readlink(%s, buf, %ld)", link_file, sizeof(buf)); | ~~^ | | | long int | %d mount07.c:68:25: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] 68 | "readlink(%s, buf, %ld)", link_file, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:69:25: note: in expansion of macro 'TST_MSGP_' 69 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \ | ^~~~~~~~~ ../../../../include/tst_test_macros.h:86:17: note: in expansion of macro 'TST_EXP_POSITIVE__' 86 | TST_EXP_POSITIVE__(SCALL, #SCALL, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~ mount07.c:67:9: note: in expansion of macro 'TST_EXP_POSITIVE' 67 | TST_EXP_POSITIVE(readlink(link_file, buf, sizeof(buf)), | ^~~~~~~~~~~~~~~~ mount07.c:68:46: note: format string is defined here 68 | "readlink(%s, buf, %ld)", link_file, sizeof(buf)); | ~~^ | | | long int | %d mount07.c:68:25: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] 68 | "readlink(%s, buf, %ld)", link_file, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:42:32: note: in definition of macro 'TST_FMT_' 42 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__ | ^~~ ../../../../include/tst_test_macros.h:50:26: note: in expansion of macro 'TST_2_' 50 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR) | ^~~~~~ ../../../../include/tst_test_macros.h:89:25: note: in expansion of macro 'TST_MSGP_' 89 | TST_MSGP_(TPASS, " returned %ld", \ | ^~~~~~~~~ mount07.c:67:9: note: in expansion of macro 'TST_EXP_POSITIVE' 67 | TST_EXP_POSITIVE(readlink(link_file, buf, sizeof(buf)), | ^~~~~~~~~~~~~~~~ mount07.c:68:46: note: format string is defined here 68 | "readlink(%s, buf, %ld)", link_file, sizeof(buf)); | ~~^ | | | long int | %d CC testcases/kernel/syscalls/mount/mount06 CC testcases/kernel/syscalls/mount/mount07 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from setuid03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setuid01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setuid04.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/setuid/setuid01_16.o CC testcases/kernel/syscalls/setuid/setuid03.o CC testcases/kernel/syscalls/setuid/setuid03_16.o CC testcases/kernel/syscalls/setuid/setuid01.o CC testcases/kernel/syscalls/setuid/setuid04_16.o CC testcases/kernel/syscalls/setuid/setuid04.o In file included from ../../../../include/tst_test.h:180, from setuid01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setuid03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setuid04.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/setuid/setuid01 LD testcases/kernel/syscalls/setuid/setuid03 LD testcases/kernel/syscalls/setuid/setuid01_16 LD testcases/kernel/syscalls/setuid/setuid04_16 LD testcases/kernel/syscalls/setuid/setuid03_16 LD testcases/kernel/syscalls/setuid/setuid04 rm setuid04_16.o setuid01.o setuid01_16.o setuid03.o setuid03_16.o setuid04.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from setxattr01.c:38: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setxattr02.c:38: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from setxattr03.c:34: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/setxattr/setxattr02 CC testcases/kernel/syscalls/setxattr/setxattr01 CC testcases/kernel/syscalls/setxattr/setxattr03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getrandom02.c:9: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getrandom03.c:9: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getrandom01.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} getrandom03.c: In function 'verify_getrandom': getrandom03.c:33:21: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 33 | if (TST_RET != sizes[n]) { | ^~ In file included from ../../../../include/tst_test.h:180, from getrandom04.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getrandom/getrandom03 CC testcases/kernel/syscalls/getrandom/getrandom01 CC testcases/kernel/syscalls/getrandom/getrandom02 In file included from ../../../../include/tst_test.h:180, from getrandom05.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getrandom/getrandom04 In file included from ../../../../include/tst_test.h:23: getrandom05.c: In function 'verify_getrandom': getrandom05.c:39:23: warning: implicit declaration of function 'getrandom'; did you mean 'srandom'? [-Wimplicit-function-declaration] 39 | TST_EXP_FAIL2(getrandom(tc->buff, tc->size, tc->flag), | ^~~~~~~~~ ../../../../include/tst_test_macros.h:15:27: note: in definition of macro 'TEST' 15 | TST_RET = SCALL; \ | ^~~~~ ../../../../include/tst_test_macros.h:286:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 286 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, SSCALL, \ | ^~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:325:17: note: in expansion of macro 'TST_EXP_FAIL2_ARR_' 325 | TST_EXP_FAIL2_ARR_(SCALL, #SCALL, &tst_exp_err__, 1, \ | ^~~~~~~~~~~~~~~~~~ getrandom05.c:39:9: note: in expansion of macro 'TST_EXP_FAIL2' 39 | TST_EXP_FAIL2(getrandom(tc->buff, tc->size, tc->flag), | ^~~~~~~~~~~~~ CC testcases/kernel/syscalls/getrandom/getrandom05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/signalfd4/signalfd4_02 CC testcases/kernel/syscalls/signalfd4/signalfd4_01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fsconfig01.c:8: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fsconfig02.c:7: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from fsconfig03.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fsconfig/fsconfig02 CC testcases/kernel/syscalls/fsconfig/fsconfig03 CC testcases/kernel/syscalls/fsconfig/fsconfig01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sigpending02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sigpending/sigpending02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/pselect/pselect02_64.o CC testcases/kernel/syscalls/pselect/pselect01_64.o CC testcases/kernel/syscalls/pselect/pselect03_64.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from pselect01.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from pselect01.c:10: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pselect03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pselect02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pselect02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pselect03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/pselect/pselect01 LD testcases/kernel/syscalls/pselect/pselect01_64 CC testcases/kernel/syscalls/pselect/pselect03 CC testcases/kernel/syscalls/pselect/pselect02 LD testcases/kernel/syscalls/pselect/pselect03_64 LD testcases/kernel/syscalls/pselect/pselect02_64 rm pselect01_64.o pselect02_64.o pselect03_64.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getsockname01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getsockname/getsockname01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getpagesize01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getpagesize/getpagesize01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getrusage01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getrusage03.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getrusage02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getrusage03_child.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getrusage/getrusage01 CC testcases/kernel/syscalls/getrusage/getrusage03_child CC testcases/kernel/syscalls/getrusage/getrusage02 CC testcases/kernel/syscalls/getrusage/getrusage03 CC testcases/kernel/syscalls/getrusage/getrusage04 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mq_unlink01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/mq_unlink/mq_unlink01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from getcontext01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/getcontext/getcontext01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from rename04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from rename05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from rename03.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from rename01.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rename/rename05 CC testcases/kernel/syscalls/rename/rename04 In file included from ../../../../include/tst_test.h:180, from rename06.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rename/rename03 In file included from ../../../../include/tst_test.h:180, from rename07.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rename/rename01 In file included from ../../../../include/tst_test.h:180, from rename08.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from rename09.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rename/rename06 CC testcases/kernel/syscalls/rename/rename07 In file included from ../../../../include/tst_test.h:180, from rename10.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rename/rename08 CC testcases/kernel/syscalls/rename/rename09 In file included from ../../../../include/tst_test.h:180, from rename12.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from rename13.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/rename/rename10 rename14.c: In function 'main': rename14.c:75:26: warning: cast between incompatible function types from 'int (*)(void)' to 'void (*)()' [-Wcast-function-type] 75 | act.sa_handler = (void (*)())term; | ^ rename14.c:83:26: warning: cast between incompatible function types from 'int (*)(void)' to 'void (*)()' [-Wcast-function-type] 83 | act.sa_handler = (void (*)())al; | ^ CC testcases/kernel/syscalls/rename/rename11 CC testcases/kernel/syscalls/rename/rename12 CC testcases/kernel/syscalls/rename/rename13 CC testcases/kernel/syscalls/rename/rename14 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/signalfd/signalfd01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sched_setscheduler02.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_setscheduler03.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_setscheduler01.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sched_setscheduler04.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler02 CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler01 CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler04 CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from timer_delete01.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from timer_delete02.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/timer_delete/timer_delete01 CC testcases/kernel/syscalls/timer_delete/timer_delete02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fdatasync03.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/fdatasync/fdatasync03 CC testcases/kernel/syscalls/fdatasync/fdatasync02 CC testcases/kernel/syscalls/fdatasync/fdatasync01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from io_uring01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from io_uring02.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} io_uring01.c: In function 'drain_uring_cq': io_uring01.c:156:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 156 | struct iovec *iovecs = (void*)cqe->user_data; | ^ io_uring01.c: In function 'submit_to_uring_sq': io_uring01.c:209:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 209 | sqe->user_data = (unsigned long long)iov; | ^ io_uring02.c: In function 'drain_fallback': io_uring02.c:106:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 106 | sqe_ptr->addr = (__u64)&spam_header; | ^ io_uring02.c:116:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 116 | sqe_ptr->addr = (__u64)&beef_header; | ^ io_uring02.c: In function 'run': io_uring02.c:221:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | sqe_ptr->addr = (__u64)&beef_header; | ^ CC testcases/kernel/syscalls/io_uring/io_uring02 CC testcases/kernel/syscalls/io_uring/io_uring01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from creat01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from creat03.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from creat05.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from creat04.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/creat/creat01 CC testcases/kernel/syscalls/creat/creat03 CC testcases/kernel/syscalls/creat/creat04 CC testcases/kernel/syscalls/creat/creat05 In file included from ../../../../include/tst_test.h:180, from creat06.c:48: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from creat07.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from creat07_child.c:9: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from creat08.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/creat/creat07 CC testcases/kernel/syscalls/creat/creat07_child CC testcases/kernel/syscalls/creat/creat06 In file included from ../../../../include/tst_test.h:180, from creat09.c:46: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/creat/creat08 CC testcases/kernel/syscalls/creat/creat09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from prctl04.c:37: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from prctl01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from prctl03.c:36: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from prctl02.c:56: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/prctl/prctl01 CC testcases/kernel/syscalls/prctl/prctl03 CC testcases/kernel/syscalls/prctl/prctl02 In file included from ../../../../include/tst_test.h:180, from prctl05.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from prctl06.h:17, from prctl06.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from prctl06.h:17, from prctl06_execve.c:9: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} prctl06_execve.c: In function 'main': prctl06_execve.c:34:21: warning: comparison of integer expressions of different signedness: 'long int' and '__gid_t' {aka 'unsigned int'} [-Wsign-compare] 34 | if (TST_RET == pw->pw_gid) | ^~ prctl06_execve.c:44:21: warning: comparison of integer expressions of different signedness: 'long int' and '__uid_t' {aka 'unsigned int'} [-Wsign-compare] 44 | if (TST_RET == pw->pw_uid) | ^~ CC testcases/kernel/syscalls/prctl/prctl04 In file included from ../../../../include/tst_test.h:180, from prctl07.c:39: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/prctl/prctl06 CC testcases/kernel/syscalls/prctl/prctl05 CC testcases/kernel/syscalls/prctl/prctl06_execve In file included from ../../../../include/tst_test.h:180, from prctl08.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/prctl/prctl07 In file included from ../../../../include/tst_test.h:180, from prctl10.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_timer_test.h:37, from prctl09.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/prctl/prctl08 CC testcases/kernel/syscalls/prctl/prctl10 CC testcases/kernel/syscalls/prctl/prctl09 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from endian_switch01.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/switch/endian_switch01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/getegid/getegid01_16.o GEN ltp-version.h In file included from ../../../../include/tst_test.h:180, from getegid01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getegid02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from getegid01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/getegid/getegid02_16.o CC testcases/kernel/syscalls/getegid/getegid01.o CC testcases/kernel/syscalls/getegid/getegid02.o In file included from ../../../../include/tst_test.h:180, from getegid02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} LD testcases/kernel/syscalls/getegid/getegid01_16 LD testcases/kernel/syscalls/getegid/getegid02 LD testcases/kernel/syscalls/getegid/getegid01 LD testcases/kernel/syscalls/getegid/getegid02_16 rm getegid01.o getegid02.o getegid01_16.o getegid02_16.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/syscalls/getgroups/getgroups01_16.o GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/getgroups/getgroups03_16.o CC testcases/kernel/syscalls/getgroups/getgroups01.o CC testcases/kernel/syscalls/getgroups/getgroups03.o LD testcases/kernel/syscalls/getgroups/getgroups01_16 LD testcases/kernel/syscalls/getgroups/getgroups01 LD testcases/kernel/syscalls/getgroups/getgroups03_16 LD testcases/kernel/syscalls/getgroups/getgroups03 rm getgroups03_16.o getgroups01.o getgroups01_16.o getgroups03.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sched_getattr/sched_getattr02 CC testcases/kernel/syscalls/sched_getattr/sched_getattr01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from io_destroy01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from io_destroy02.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/io_destroy/io_destroy01 CC testcases/kernel/syscalls/io_destroy/io_destroy02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/fchownat/fchownat01 CC testcases/kernel/syscalls/fchownat/fchownat02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from io_setup01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from io_setup02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/syscalls/io_setup/io_setup01 CC testcases/kernel/syscalls/io_setup/io_setup02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. rt_sigaction01.c: In function 'set_handler': rt_sigaction01.c:72:37: warning: unused parameter 'sig_to_mask' [-Wunused-parameter] 72 | static int set_handler(int sig, int sig_to_mask, int mask_flags) | ~~~~^~~~~~~~~~~ CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction02 CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction01 CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction03 make[4]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pec_listener.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from event_generator.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/connectors/pec/pec_listener CC testcases/kernel/connectors/pec/event_generator /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from userns02.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from userns03.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from userns04.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from userns01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/userns/userns02 CC testcases/kernel/containers/userns/userns01 In file included from ../../../../include/tst_test.h:180, from userns05.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/userns/userns04 In file included from ../../../../include/tst_test.h:180, from userns06.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/userns/userns03 In file included from ../../../../include/tst_test.h:180, from userns06_capcheck.c:13: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from common.h:10, from userns07.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/userns/userns06 CC testcases/kernel/containers/userns/userns05 In file included from ../../../../include/tst_test.h:180, from userns08.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/userns/userns06_capcheck CC testcases/kernel/containers/userns/userns07 CC testcases/kernel/containers/userns/userns08 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from netns_netlink.c:37: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/netns/netns_netlink /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from sem_comm.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from sem_nstest.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from msg_comm.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mesgq_nstest.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/sysvipc/sem_comm CC testcases/kernel/containers/sysvipc/mesgq_nstest CC testcases/kernel/containers/sysvipc/sem_nstest In file included from ../../../../include/tst_test.h:180, from semtest_2ns.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/sysvipc/msg_comm In file included from ../../../../include/tst_test.h:180, from shm_comm.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from shmnstest.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from shmem_2nstest.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/sysvipc/shm_comm CC testcases/kernel/containers/sysvipc/semtest_2ns CC testcases/kernel/containers/sysvipc/shmem_2nstest CC testcases/kernel/containers/sysvipc/shmnstest /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from utsname01.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from utsname04.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from utsname02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from utsname03.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/utsname/utsname01 CC testcases/kernel/containers/utsname/utsname04 CC testcases/kernel/containers/utsname/utsname02 CC testcases/kernel/containers/utsname/utsname03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from pidns04.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': In file included from ../../../../include/tst_test.h:180, from pidns02.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidns03.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidns01.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/pidns/pidns01 CC testcases/kernel/containers/pidns/pidns02 CC testcases/kernel/containers/pidns/pidns04 CC testcases/kernel/containers/pidns/pidns03 In file included from ../../../../include/tst_test.h:180, from pidns05.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidns06.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidns10.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidns12.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/pidns/pidns10 CC testcases/kernel/containers/pidns/pidns05 CC testcases/kernel/containers/pidns/pidns06 In file included from ../../../../include/tst_test.h:180, from pidns13.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidns16.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidns17.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/pidns/pidns12 In file included from ../../../../include/tst_test.h:180, from pidns20.c:17: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/pidns/pidns16 CC testcases/kernel/containers/pidns/pidns13 CC testcases/kernel/containers/pidns/pidns17 In file included from ../../../../include/tst_test.h:180, from pidns30.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from pidns31.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/pidns/pidns20 In file included from ../../../../include/tst_test.h:180, from pidns32.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/pidns/pidns31 CC testcases/kernel/containers/pidns/pidns30 CC testcases/kernel/containers/pidns/pidns32 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mqns_02.c:15: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mqns_03.c:28: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mqns_01.c:16: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mqns_04.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/mqns/mqns_03 CC testcases/kernel/containers/mqns/mqns_02 CC testcases/kernel/containers/mqns/mqns_01 CC testcases/kernel/containers/mqns/mqns_04 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from mountns.h:10, from mountns04.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mountns.h:10, from mountns01.c:34: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mountns.h:10, from mountns02.c:35: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mountns.h:10, from mountns03.c:37: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/mountns/mountns04 CC testcases/kernel/containers/mountns/mountns03 CC testcases/kernel/containers/mountns/mountns02 CC testcases/kernel/containers/mountns/mountns01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from timens01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/containers/timens/timens01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cgroup_xattr/cgroup_xattr /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from memcontrol_common.h:9, from memcontrol03.c:43: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from memcontrol_common.h:9, from memcontrol02.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from memcontrol_common.h:9, from memcontrol04.c:43: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from memcontrol01.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/controllers/memcg/memcontrol01 CC testcases/kernel/controllers/memcg/memcontrol02 CC testcases/kernel/controllers/memcg/memcontrol04 CC testcases/kernel/controllers/memcg/memcontrol03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. CC testcases/kernel/controllers/memcg/stress/memcg_process_stress /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from memcg_test_3.c:19: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/controllers/memcg/regression/memcg_test_2 CC testcases/kernel/controllers/memcg/regression/memcg_test_1 CC testcases/kernel/controllers/memcg/regression/memcg_test_4 CC testcases/kernel/controllers/memcg/regression/memcg_test_3 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from memcg_process.c:22: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/controllers/memcg/functional/memcg_process /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. CC testcases/kernel/controllers/memcg/control/mem_process /usr/bin/make -C ../libcontrollers -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/cpuctl_fj/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h libcontrollers.c: In function 'signal_handler_alarm': libcontrollers.c:223:31: warning: unused parameter 'signal' [-Wunused-parameter] 223 | void signal_handler_alarm(int signal) | ~~~~^~~~~~ make[8]: Nothing to be done for 'all'. CC testcases/kernel/controllers/libcontrollers/libcontrollers.o make[8]: Nothing to be done for 'all'. AR libcontrollers.a RANLIB libcontrollers.a CC testcases/kernel/controllers/cpuctl_fj/cpuctl_fj_cpu-hog CC testcases/kernel/controllers/cpuctl_fj/cpuctl_fj_simple_echo /usr/bin/make -C ../libcontrollers -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/cgroup/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from cgroup_core01.c:30: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from cgroup_core03.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from cgroup_core02.c:31: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/controllers/cgroup/cgroup_regression_fork_processes CC testcases/kernel/controllers/cgroup/cgroup_core01 cgroup_regression_getdelays.c: In function 'main': cgroup_regression_getdelays.c:314:25: warning: 'strncpy' specified bound 292 equals destination size [-Wstringop-truncation] 314 | strncpy(cpumask, optarg, sizeof(cpumask)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgroup_regression_getdelays.c:300:25: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 300 | strncpy(containerpath, optarg, strlen(optarg) + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgroup_regression_getdelays.c:300:56: note: length computed here 300 | strncpy(containerpath, optarg, strlen(optarg) + 1); | ^~~~~~~~~~~~~~ CC testcases/kernel/controllers/cgroup/cgroup_core03 CC testcases/kernel/controllers/cgroup/cgroup_core02 CC testcases/kernel/controllers/cgroup/cgroup_regression_getdelays /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from io_control01.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/controllers/io/io_control01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. timed_forkbomb.c: In function 'main': timed_forkbomb.c:58:32: warning: format '%a' expects argument of type 'float *', but argument 2 has type 'char **' [-Wformat=] 58 | while (scanf("%as", &word) < 1) { | ~^ ~~~~~ | | | | | char ** | float * vfork.c: In function '_parse_opts': vfork.c:169:51: warning: format '%a' expects argument of type 'float *', but argument 4 has type 'char **' [-Wformat=] 169 | opt = sscanf(optarg, "%Ld%as", &duration, &units); | ~^ ~~~~~~ | | | | float * char ** vfork.c: In function 'trace_grandchild': vfork.c:202:28: warning: unused parameter 'gchild' [-Wunused-parameter] 202 | int trace_grandchild(pid_t gchild) | ~~~~~~^~~~~~ vfork.c: In function 'main': vfork.c:300:14: warning: unused parameter 'argc' [-Wunused-parameter] 300 | int main(int argc, char **argv) | ~~~~^~~~ vfork.c:300:27: warning: unused parameter 'argv' [-Wunused-parameter] 300 | int main(int argc, char **argv) | ~~~~~~~^~~~ CC testcases/kernel/controllers/freezer/fork_exec_loop vfork.c: In function 'do_vfork': vfork.c:97:18: warning: argument 'count' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 97 | int do_vfork(int count) | ~~~~^~~~~ CC testcases/kernel/controllers/freezer/timed_forkbomb CC testcases/kernel/controllers/freezer/vfork make[6]: Nothing to be done for 'all'. /usr/bin/make -C ../cpuset_lib -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/../cpuset_lib/Makefile" all ../../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' ../../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' libbitmask.c:42: warning: "howmany" redefined 42 | #define howmany(x,y) (((x)+((y)-1))/(y)) | In file included from ../../../../../include/tst_minmax.h:9, from libbitmask.c:31: /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/sys/param.h:61: note: this is the location of the previous definition 61 | # define howmany(x, y) (((x) + ((y) - 1)) / (y)) | CC testcases/kernel/controllers/cpuset/cpuset_lib/meminfo.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[9]: Nothing to be done for 'all'. make[9]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cpuset/cpuset_lib/cpuinfo.o CC testcases/kernel/controllers/cpuset/cpuset_lib/libbitmask.o libcpuset.c: In function 'cpuset_migrate_all': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2917 | if (load_flag(buf2, &memory_migrate_flag, "memory_migrate") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_migrate_all' at libcpuset.c:2917:6: libcpuset.c:492:15: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_migrate_all': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2919 | if (store_flag(buf2, "memory_migrate", 1) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'store_flag' at libcpuset.c:1069:2, inlined from 'cpuset_migrate_all' at libcpuset.c:2919:6: libcpuset.c:492:15: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_migrate_all': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2929 | if (store_flag(buf2, "memory_migrate", memory_migrate_flag) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'store_flag' at libcpuset.c:1069:2, inlined from 'cpuset_migrate_all' at libcpuset.c:2929:6: libcpuset.c:492:15: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_migrate': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2890 | if (load_flag(buf2, &memory_migrate_flag, "memory_migrate") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_migrate' at libcpuset.c:2890:6: libcpuset.c:492:15: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_migrate': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2892 | if (store_flag(buf2, "memory_migrate", 1) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'store_flag' at libcpuset.c:1069:2, inlined from 'cpuset_migrate' at libcpuset.c:2892:6: libcpuset.c:492:15: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_migrate': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2899 | store_flag(buf2, "memory_migrate", memory_migrate_flag); | ~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'store_flag' at libcpuset.c:1069:2, inlined from 'cpuset_migrate' at libcpuset.c:2899:2: libcpuset.c:492:15: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 20 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2096 | if (load_flag(buf, &cp->cpu_exclusive, "cpuset.cpu_exclusive") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_query' at libcpuset.c:2096:6: libcpuset.c:492:15: note: 'snprintf' output between 22 and 4117 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 20 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2100 | if (load_flag(buf, &cp->mem_exclusive, "cpuset.mem_exclusive") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_query' at libcpuset.c:2100:6: libcpuset.c:492:15: note: 'snprintf' output between 22 and 4117 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 17 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2104 | if (load_flag(buf, &cp->notify_on_release, "notify_on_release") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_query' at libcpuset.c:2104:6: libcpuset.c:492:15: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 21 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2108 | if (exists_flag(buf, "cpuset.memory_migrate")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'exists_flag' at libcpuset.c:1059:2, inlined from 'cpuset_query' at libcpuset.c:2108:6: libcpuset.c:492:15: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 21 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2109 | if (load_flag(buf, &cp->memory_migrate, "cpuset.memory_migrate") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_query' at libcpuset.c:2109:7: libcpuset.c:492:15: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 19 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2114 | if (exists_flag(buf, "cpuset.mem_hardwall")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'exists_flag' at libcpuset.c:1059:2, inlined from 'cpuset_query' at libcpuset.c:2114:6: libcpuset.c:492:15: note: 'snprintf' output between 21 and 4116 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 19 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2115 | if (load_flag(buf, &cp->mem_hardwall, "cpuset.mem_hardwall") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_query' at libcpuset.c:2115:7: libcpuset.c:492:15: note: 'snprintf' output between 21 and 4116 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 30 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2120 | if (exists_flag(buf, "cpuset.memory_pressure_enabled")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'exists_flag' at libcpuset.c:1059:2, inlined from 'cpuset_query' at libcpuset.c:2120:6: libcpuset.c:492:15: note: 'snprintf' output between 32 and 4127 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 30 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2121 | if (load_flag | ~~~~~~~~~ 2122 | (buf, &cp->memory_pressure_enabled, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2123 | "cpuset.memory_pressure_enabled") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_query' at libcpuset.c:2121:7: libcpuset.c:492:15: note: 'snprintf' output between 32 and 4127 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 25 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2128 | if (exists_flag(buf, "cpuset.memory_spread_page")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'exists_flag' at libcpuset.c:1059:2, inlined from 'cpuset_query' at libcpuset.c:2128:6: libcpuset.c:492:15: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 25 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2129 | if (load_flag | ~~~~~~~~~ 2130 | (buf, &cp->memory_spread_page, "cpuset.memory_spread_page") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_query' at libcpuset.c:2129:7: libcpuset.c:492:15: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 25 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2135 | if (exists_flag(buf, "cpuset.memory_spread_slab")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'exists_flag' at libcpuset.c:1059:2, inlined from 'cpuset_query' at libcpuset.c:2135:6: libcpuset.c:492:15: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 25 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2136 | if (load_flag | ~~~~~~~~~ 2137 | (buf, &cp->memory_spread_slab, "cpuset.memory_spread_slab") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_query' at libcpuset.c:2136:7: libcpuset.c:492:15: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 25 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2142 | if (exists_flag(buf, "cpuset.sched_load_balance")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'exists_flag' at libcpuset.c:1059:2, inlined from 'cpuset_query' at libcpuset.c:2142:6: libcpuset.c:492:15: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 25 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2143 | if (load_flag | ~~~~~~~~~ 2144 | (buf, &cp->sched_load_balance, "cpuset.sched_load_balance") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_flag' at libcpuset.c:945:2, inlined from 'cpuset_query' at libcpuset.c:2143:7: libcpuset.c:492:15: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 31 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2149 | if (exists_flag(buf, "cpuset.sched_relax_domain_level")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'exists_flag' at libcpuset.c:1059:2, inlined from 'cpuset_query' at libcpuset.c:2149:6: libcpuset.c:492:15: note: 'snprintf' output between 33 and 4128 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 31 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ In function 'pathcat2', inlined from 'load_number' at libcpuset.c:971:2, inlined from 'cpuset_query' at libcpuset.c:2150:7: libcpuset.c:492:15: note: 'snprintf' output between 33 and 4128 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 11 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2157 | if (load_mask(buf, &cp->cpus, cpuset_cpus_nbits(), "cpuset.cpus") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_mask' at libcpuset.c:1017:2, inlined from 'cpuset_query' at libcpuset.c:2157:6: libcpuset.c:492:15: note: 'snprintf' output between 13 and 4108 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 11 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2161 | if (load_mask(buf, &cp->mems, cpuset_mems_nbits(), "cpuset.mems") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'pathcat2', inlined from 'load_mask' at libcpuset.c:1017:2, inlined from 'cpuset_query' at libcpuset.c:2161:6: libcpuset.c:492:15: note: 'snprintf' output between 13 and 4108 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_collides_exclusive': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ In function 'pathcat2', inlined from 'cpuset_collides_exclusive' at libcpuset.c:2334:3: libcpuset.c:492:15: note: 'snprintf' output between 2 and 4352 bytes into a destination of size 4096 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.o AR libcpu_set.a RANLIB libcpu_set.a CC testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/cpuset_memory_pressure CC testcases/kernel/controllers/cpuset/cpuset_hotplug_test/cpuset_list_compute CC testcases/kernel/controllers/cpuset/cpuset_memory_test/cpuset_memory_test CC testcases/kernel/controllers/cpuset/cpuset_load_balance_test/cpuset_sched_domains_check CC testcases/kernel/controllers/cpuset/cpuset_load_balance_test/cpuset_cpu_hog make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/cpuset_mem_hog CC testcases/kernel/controllers/cpuset/cpuset_syscall_test/cpuset_syscall_test make[6]: Nothing to be done for 'all'. /usr/bin/make -C ../libcontrollers -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/cpuctl/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. cpuctl_def_task02.c: In function 'main': cpuctl_def_task02.c:223:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'time_t' {aka 'long long int'} [-Wformat=] 223 | fprintf(stdout, "Grp:-%3dDEF task-%3d: CPU TIME{calc:-%6.2f(s)" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 226 | exp_cpu_time, fmyshares, delta_time); | ~~~~~~~~~~ | | | time_t {aka long long int} cpuctl_def_task02.c:224:77: note: format string is defined here 224 | "i.e. %6.2f(%%)exp:-%6.2f(%%)} with %u(shares) in %lu" | ~~^ | | | long unsigned int | %llu In file included from cpuctl_def_task02.c:61: ../libcontrollers/libcontrollers.h: At top level: ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_def_task02.c: In function 'main': cpuctl_def_task02.c:163:14: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 163 | if (!strncpy(fullpath, path, len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task02.c:162:15: note: length computed here 162 | len = strlen(path); | ^~~~~~~~~~~~ cpuctl_def_task04.c: In function 'main': cpuctl_def_task04.c:230:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'time_t' {aka 'long long int'} [-Wformat=] 230 | fprintf(stdout, "Grp:-%3d task-%3d:CPU TIME{calc:-%6.2f(s) i.e." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 233 | mytime, exp_cpu_time, fmyshares, delta_time); | ~~~~~~~~~~ | | | time_t {aka long long int} cpuctl_def_task04.c:231:75: note: format string is defined here 231 | " %6.2f(%%) exp:-%6.2f(%%)} with %3u shares in %lu (s)" | ~~^ | | | long unsigned int | %llu In file included from cpuctl_def_task04.c:62: ../libcontrollers/libcontrollers.h: At top level: ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_def_task03.c: In function 'main': cpuctl_def_task03.c:220:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'time_t' {aka 'long long int'} [-Wformat=] 220 | fprintf(stdout, "Grp:-%3d task-%3d:CPU TIME{calc:-%6.2f(s)" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 223 | exp_cpu_time, delta_time); | ~~~~~~~~~~ | | | time_t {aka long long int} cpuctl_def_task03.c:221:63: note: format string is defined here 221 | " i.e. %6.2f(%%) exp:-%6.2f(%%)} in %lu (s)\n", | ~~^ | | | long unsigned int | %llu cpuctl_def_task01.c: In function 'main': cpuctl_def_task01.c:216:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 216 | fprintf(stdout, "DEF TASK:CPU TIME{calc:-%6.2f(s)" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 219 | exp_cpu_time, myshares, delta_time); | ~~~~~~~~~~ | | | time_t {aka long long int} In file included from cpuctl_def_task03.c:62: ../libcontrollers/libcontrollers.h: At top level: cpuctl_def_task01.c:218:32: note: format string is defined here 218 | " in %lu (s) INTERVAL\n", delta_cpu_time, mytime, | ~~^ | | | long unsigned int | %llu ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from cpuctl_def_task01.c:58: ../libcontrollers/libcontrollers.h: At top level: ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_def_task03.c: In function 'main': cpuctl_def_task03.c:159:14: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 159 | if (!strncpy(fullpath, path, len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task03.c:158:15: note: length computed here 158 | len = strlen(path); | ^~~~~~~~~~~~ cpuctl_def_task04.c: In function 'main': cpuctl_def_task04.c:169:14: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 169 | if (!strncpy(fullpath, path, len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task04.c:168:15: note: length computed here 168 | len = strlen(path); | ^~~~~~~~~~~~ cpuctl_def_task01.c: In function 'main': cpuctl_def_task01.c:152:14: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 152 | if (!strncpy(fullpath, path, len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task01.c:151:15: note: length computed here 151 | len = strlen(path); | ^~~~~~~~~~~~ CC testcases/kernel/controllers/cpuctl/cpuctl_def_task02 CC testcases/kernel/controllers/cpuctl/cpuctl_def_task01 cpuctl_latency_test.c: In function 'sighandler': cpuctl_latency_test.c:57:21: warning: unused parameter 'i' [-Wunused-parameter] 57 | void sighandler(int i) | ~~~~^ In file included from cpuctl_latency_test.c:52: ../libcontrollers/libcontrollers.h: At top level: ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_latency_test.c: In function 'main': cpuctl_latency_test.c:89:17: warning: 'strncpy' specified bound 4095 equals destination size [-Wstringop-truncation] 89 | strncpy(mytaskfile, argv[2], FILENAME_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/controllers/cpuctl/cpuctl_def_task04 cpuctl_latency_check_task.c: In function 'main': cpuctl_latency_check_task.c:131:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | if (delta > ALLOWED) | ^ In file included from cpuctl_latency_check_task.c:51: ../libcontrollers/libcontrollers.h: At top level: ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_latency_check_task.c: In function 'main': cpuctl_latency_check_task.c:97:17: warning: 'strncpy' specified bound 4095 equals destination size [-Wstringop-truncation] 97 | strncpy(mytaskfile, argv[4], FILENAME_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/controllers/cpuctl/cpuctl_def_task03 CC testcases/kernel/controllers/cpuctl/cpuctl_latency_test CC testcases/kernel/controllers/cpuctl/cpuctl_latency_check_task cpuctl_test03.c: In function 'main': cpuctl_test03.c:211:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'time_t' {aka 'long long int'} [-Wformat=] 211 | fprintf(stdout, "Grp:-%3d task-%3d:CPU TIME{calc:-%6.2f(s)i.e. %6.2f(%%) exp:-%6.2f(%%)}\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | in %lu (s) INTERVAL\n", mygroup_num, task_num, delta_cpu_time, mytime, | ~~~~~~~~~~~~~~~~~~~~~~ 213 | exp_cpu_time, delta_time); | ~~~~~~~~~~ | | | time_t {aka long long int} In file included from cpuctl_test03.c:62: ../libcontrollers/libcontrollers.h: At top level: ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_test03.c: In function 'main': cpuctl_test03.c:162:14: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 162 | if (!strncpy(fullpath, path, len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test03.c:161:15: note: length computed here 161 | len = strlen(path); | ^~~~~~~~~~~~ cpuctl_test01.c: In function 'main': cpuctl_test01.c:204:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'time_t' {aka 'long long int'} [-Wformat=] 204 | fprintf(stdout, "task-%d:CPU TIME{calc:-%6.2f(s)i.e. %6.2f(%%) exp:-%6.2f(%%)}\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | with %lu(shares) in %lu (s) INTERVAL\n", my_group_num, delta_cpu_time, mytime, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | exp_cpu_time, myshares, delta_time); | ~~~~~~~~~~ | | | time_t {aka long long int} In file included from cpuctl_test01.c:63: ../libcontrollers/libcontrollers.h: At top level: ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_test02.c: In function 'main': cpuctl_test02.c:216:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'time_t' {aka 'long long int'} [-Wformat=] 216 | fprintf(stdout, "Grp:-%3d task-%3d:CPU TIME{calc:-%6.2f(s)i.e. %6.2f(%%)exp:-%6.2f(%%)}\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | with %u(shares) in %lu (s) INTERVAL\n", mygroup_num, task_num, delta_cpu_time, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | mytime, exp_cpu_time, fmyshares, delta_time); | ~~~~~~~~~~ | | | time_t {aka long long int} In file included from cpuctl_test02.c:62: ../libcontrollers/libcontrollers.h: At top level: ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_test01.c: In function 'main': cpuctl_test01.c:155:14: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 155 | if (!strncpy(fullpath, path, len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test01.c:154:15: note: length computed here 154 | len = strlen(path); | ^~~~~~~~~~~~ cpuctl_test02.c: In function 'main': cpuctl_test02.c:167:14: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 167 | if (!strncpy(fullpath, path, len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test02.c:166:15: note: length computed here 166 | len = strlen(path); | ^~~~~~~~~~~~ cpuctl_test04.c: In function 'main': cpuctl_test04.c:222:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'time_t' {aka 'long long int'} [-Wformat=] 222 | fprintf(stdout, "Grp:-%3d task-%3d:CPU TIME{calc:-%6.2f(s)i.e. %6.2f(%%) exp:-%6.2f(%%)}\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | with %3u shares in %lu (s) INTERVAL\n", mygroup_num, task_num, delta_cpu_time, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | mytime, exp_cpu_time, fmyshares, delta_time); | ~~~~~~~~~~ | | | time_t {aka long long int} In file included from cpuctl_test04.c:62: ../libcontrollers/libcontrollers.h: At top level: ../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_test04.c: In function 'main': cpuctl_test04.c:173:14: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 173 | if (!strncpy(fullpath, path, len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test04.c:172:15: note: length computed here 172 | len = strlen(path); | ^~~~~~~~~~~~ CC testcases/kernel/controllers/cpuctl/cpuctl_test03 CC testcases/kernel/controllers/cpuctl/cpuctl_test01 CC testcases/kernel/controllers/cpuctl/cpuctl_test02 CC testcases/kernel/controllers/cpuctl/cpuctl_test04 /usr/bin/make -C ../libcontrollers -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/memctl/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. memctl_test01.c: In function 'main': memctl_test01.c:68:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 68 | int ret; | ^~~ In file included from memctl_test01.c:49: /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/memctl/../libcontrollers/libcontrollers.h: At top level: /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/memctl/../libcontrollers/libcontrollers.h:59:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 59 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ CC testcases/kernel/controllers/memctl/memctl_test01 /usr/bin/make -C ../libcontrollers -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/pids/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. CC testcases/kernel/controllers/pids/pids_task2 CC testcases/kernel/controllers/pids/pids_task1 /usr/bin/make -C ../libcontrollers -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/cgroup_fj/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cgroup_fj/cgroup_fj_proc /usr/bin/make -C ../libcontrollers -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/controllers/cpuacct/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/tools/sparse' /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. cpuacct_task.c: In function 'sig_handler': cpuacct_task.c:32:29: warning: unused parameter 'signo' [-Wunused-parameter] 32 | static void sig_handler(int signo) | ~~~~^~~~~ CC testcases/kernel/controllers/cpuacct/cpuacct_task /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. In file included from ../../../include/tst_test.h:180, from af_alg02.c:18: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../include/tst_test.h:180, from af_alg04.c:17: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../include/tst_test.h:180, from af_alg01.c:16: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../include/tst_test.h:180, from af_alg03.c:13: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/crypto/af_alg02 CC testcases/kernel/crypto/af_alg04 CC testcases/kernel/crypto/af_alg01 In file included from ../../../include/tst_test.h:180, from af_alg05.c:23: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/crypto/af_alg03 In file included from ../../../include/tst_test.h:180, from af_alg06.c:13: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../include/tst_test.h:180, from af_alg07.c:42: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../include/tst_test.h:180, from crypto_user01.c:18: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/crypto/af_alg05 In file included from ../../../include/tst_test.h:180, from crypto_user02.c:26: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/crypto/af_alg06 In file included from ../../../include/tst_test.h:180, from pcrypt_aead01.c:22: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/crypto/crypto_user01 CC testcases/kernel/crypto/crypto_user02 CC testcases/kernel/crypto/pcrypt_aead01 CC testcases/kernel/crypto/af_alg07 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/acpi/ltp_acpi make[6]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/block/block_dev_user/block_dev /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/cpufreq/cpufreq_boost make[5]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/pci/tpci_user/tpci make[6]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from rtc02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/device-drivers/rtc/rtc02 CC testcases/kernel/device-drivers/rtc/rtc01 make[6]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/tbio/tbio_user/tbio /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/uaccess/uaccess /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from zram03.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/device-drivers/zram/zram03 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/firmware/fw_load_user/fw_load make[5]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/fs/fs_perms/fs_perms make[5]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. stream03.c: In function 'main': stream03.c:94:25: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 94 | if (pos != strlen(junk)) { | ^~ stream03.c:120:25: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 120 | if (pos != strlen(junk)) { | ^~ stream03.c:135:25: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 135 | if (pos != strlen(junk)) { | ^~ stream03.c:163:25: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 163 | if (pos != strlen(junk)) { | ^~ In file included from stream03.c:37: ../../../../include/old/test.h:106:19: warning: format '%li' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 106 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ stream03.c:278:25: note: in expansion of macro 'tst_resm' 278 | tst_resm(TFAIL, | ^~~~~~~~ CC testcases/kernel/fs/stream/stream04 CC testcases/kernel/fs/stream/stream01 CC testcases/kernel/fs/stream/stream02 CC testcases/kernel/fs/stream/stream03 CC testcases/kernel/fs/stream/stream05 make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC testcases/kernel/fs/doio/dataascii.o CC testcases/kernel/fs/doio/databin.o datapid.c: In function 'datapidgen': datapid.c:84:20: warning: unused parameter 'pid' [-Wunused-parameter] 84 | int datapidgen(int pid, char *buffer, int bsize, int offset) | ~~~~^~~ datapid.c:84:31: warning: unused parameter 'buffer' [-Wunused-parameter] 84 | int datapidgen(int pid, char *buffer, int bsize, int offset) | ~~~~~~^~~~~~ datapid.c:84:43: warning: unused parameter 'bsize' [-Wunused-parameter] 84 | int datapidgen(int pid, char *buffer, int bsize, int offset) | ~~~~^~~~~ datapid.c:84:54: warning: unused parameter 'offset' [-Wunused-parameter] 84 | int datapidgen(int pid, char *buffer, int bsize, int offset) | ~~~~^~~~~~ datapid.c: In function 'datapidchk': datapid.c:181:20: warning: unused parameter 'pid' [-Wunused-parameter] 181 | int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) | ~~~~^~~ datapid.c:181:31: warning: unused parameter 'buffer' [-Wunused-parameter] 181 | int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) | ~~~~~~^~~~~~ datapid.c:181:43: warning: unused parameter 'bsize' [-Wunused-parameter] 181 | int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) | ~~~~^~~~~ datapid.c:181:54: warning: unused parameter 'offset' [-Wunused-parameter] 181 | int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) | ~~~~^~~~~~ CC testcases/kernel/fs/doio/file_lock.o CC testcases/kernel/fs/doio/forker.o CC testcases/kernel/fs/doio/datapid.o CC testcases/kernel/fs/doio/open_flags.o CC testcases/kernel/fs/doio/string_to_tokens.o /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all CC testcases/kernel/fs/doio/pattern.o GEN ltp-version.h CC testcases/kernel/fs/doio/bytes_by_prefix.o make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/fs/doio/write_log.o iogen.c:190:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 190 | {"none", 0}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:207:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 207 | {NULL, -1} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:223:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 223 | {"random", M_RANDOM}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:224:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 224 | {"sequential", M_SEQUENTIAL}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:225:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 225 | {"reverse", M_REVERSE}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:226:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 226 | {NULL, -1} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:305:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 305 | {"readv", READV}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:307:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 307 | {"mmread", MMAPR}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:313:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 313 | {NULL, -1} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:354:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 354 | {NULL, -1} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:362:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 362 | {"regular", S_IFREG}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:363:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 363 | {"blk-spec", S_IFBLK}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:364:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 364 | {"chr-spec", S_IFCHR}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:365:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 365 | {NULL, 0} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ doio.c: In function 'do_write': doio.c:1601:33: warning: variable 'signo' set but not used [-Wunused-but-set-variable] 1601 | int fd, nbytes, oflags, signo; | ^~~~~ iogen.c: In function 'parse_cmdline': iogen.c:1384:13: warning: variable 'nopenargs' set but not used [-Wunused-but-set-variable] 1384 | int nopenargs; | ^~~~~~~~~ doio.c: In function 'do_listio': doio.c:2078:30: warning: unused parameter 'req' [-Wunused-parameter] 2078 | int do_listio(struct io_req *req) | ~~~~~~~~~~~~~~~^~~ doio.c: In function 'sy_rwv': doio.c:2728:64: warning: unused parameter 'sysc' [-Wunused-parameter] 2728 | struct status *sy_rwv(struct io_req *req, struct syscall_info *sysc, int fd, | ~~~~~~~~~~~~~~~~~~~~~^~~~ doio.c: In function 'fmt_readv': doio.c:2763:32: warning: unused parameter 'req' [-Wunused-parameter] 2763 | char *fmt_readv(struct io_req *req, struct syscall_info *sy, int fd, char *addr) | ~~~~~~~~~~~~~~~^~~ doio.c:2763:76: warning: unused parameter 'addr' [-Wunused-parameter] 2763 | char *fmt_readv(struct io_req *req, struct syscall_info *sy, int fd, char *addr) | ~~~~~~^~~~ doio.c: In function 'sy_mmrw': doio.c:2895:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 2895 | int rc; | ^~ doio.c:2883:65: warning: unused parameter 'sysc' [-Wunused-parameter] 2883 | struct status *sy_mmrw(struct io_req *req, struct syscall_info *sysc, int fd, | ~~~~~~~~~~~~~~~~~~~~~^~~~ doio.c: At top level: doio.c:3038:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3038 | 0}, | ^ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ doio.c:3041:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3041 | SY_WRITE}, | ^~~~~~~~ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ growfiles.c: In function 'growfile': growfiles.c:1949:44: warning: unused parameter 'file' [-Wunused-parameter] 1949 | int /* BUG:14136 */ growfile(int fd, char *file, int grow_incr, char *buf, | ~~~~~~^~~~ doio.c:3044:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3044 | 0}, | ^ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ doio.c:3047:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3047 | SY_WRITE}, | ^~~~~~~~ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ growfiles.c: In function 'shrinkfile': doio.c:3052:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3052 | 0}, | ^ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ growfiles.c:2353:26: warning: unused parameter 'filename' [-Wunused-parameter] 2353 | shrinkfile(int fd, char *filename, int trunc_incr, int trunc_inter, | ~~~~~~^~~~~~~~ growfiles.c:2354:16: warning: unused parameter 'just_trunc' [-Wunused-parameter] 2354 | int just_trunc) | ~~~~^~~~~~~~~~ doio.c: In function 'doio_pat_fill': doio.c:3638:19: warning: unused parameter 'shift' [-Wunused-parameter] 3638 | int shift) | ~~~~^~~~~ doio.c: In function 'cleanup_handler': doio.c:4536:26: warning: unused parameter 'sig' [-Wunused-parameter] 4536 | void cleanup_handler(int sig) | ~~~~^~~ doio.c: In function 'noop_handler': doio.c:4566:23: warning: unused parameter 'sig' [-Wunused-parameter] 4566 | void noop_handler(int sig) | ~~~~^~~ doio.c: In function 'sigint_handler': doio.c:4577:25: warning: unused parameter 'sig' [-Wunused-parameter] 4577 | void sigint_handler(int sig) | ~~~~^~~ doio.c: In function 'aio_done': growfiles.c: In function 'main': growfiles.c:130:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 130 | #define exit(x) myexit(x) | ^~~~~~~~~ growfiles.c:453:25: note: in expansion of macro 'exit' 453 | exit(0); | ^~~~ doio.c:4880:31: warning: unused parameter 'ainfo' [-Wunused-parameter] 4880 | int aio_done(struct aio_info *ainfo) | ~~~~~~~~~~~~~~~~~^~~~~ growfiles.c:455:17: note: here 455 | case 'b': /* batch */ | ^~~~ iogen.c:1522:49: warning: ')' directive writing 1 byte into a region of size between 0 and 39 [-Wformat-overflow=] 1522 | sprintf(TagName, "(%.39s)", optarg); | ^ iogen.c:1522:25: note: 'sprintf' output between 3 and 42 bytes into a destination of size 40 1522 | sprintf(TagName, "(%.39s)", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/doio/iogen growfiles.c:938:49: warning: ')' directive writing 1 byte into a region of size between 0 and 39 [-Wformat-overflow=] 938 | sprintf(TagName, "(%.39s)", optarg); | ^ growfiles.c:938:25: note: 'sprintf' output between 3 and 42 bytes into a destination of size 40 938 | sprintf(TagName, "(%.39s)", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doio.c: In function 'parse_cmdline': doio.c:5052:49: warning: ')' directive writing 1 byte into a region of size between 0 and 39 [-Wformat-overflow=] 5052 | sprintf(TagName, "(%.39s)", optarg); | ^ doio.c:5052:25: note: 'sprintf' output between 3 and 42 bytes into a destination of size 40 5052 | sprintf(TagName, "(%.39s)", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/doio/growfiles CC testcases/kernel/fs/doio/doio make[5]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fsx-linux.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/fs/fsx-linux/fsx-linux /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from fs_fill.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} fs_fill.c: In function 'worker': fs_fill.c:52:58: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 52 | snprintf(file, sizeof(file), "%s/%s", | ^~ fs_fill.c:52:25: note: 'snprintf' output between 2 and 4352 bytes into a destination of size 4096 52 | snprintf(file, sizeof(file), "%s/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 | w->dir, ent->d_name); | ~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/fs_fill/fs_fill /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from lftest.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/fs/lftest/lftest /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. inode01.c: In function 'main': inode01.c:122:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 122 | if (signal(SIGTERM, (void (*)())term) == SIG_ERR) { | ^ inode01.c:161:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 161 | if (snp_ret < 0 || snp_ret >= sizeof(path_list_string)) { | ^~ inode01.c: In function 'generate': inode01.c:330:52: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 330 | if (snp_ret < 0 || snp_ret >= sizeof(new_string)) { | ^~ inode02.c: In function 'main': inode02.c:124:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 124 | if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) { | ^ inode02.c: In function 'tree': inode02.c:285:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 285 | if (snp_ret < 0 || snp_ret >= sizeof(path_list_string)) { | ^~ inode02.c: In function 'generate': inode02.c:427:52: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 427 | if (snp_ret < 0 || snp_ret >= sizeof(new_string)) { | ^~ CC testcases/kernel/fs/inode/inode02 CC testcases/kernel/fs/inode/inode01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. openfile.c: In function 'main': openfile.c:115:33: warning: ' Cannot use ' directive writing 12 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 115 | sprintf(msg, "%s\nCannot use %d files", msg, numfiles); | ^~~~~~~~~~~~~ openfile.c:115:30: note: directive argument in the range [32769, 2147483647] 115 | sprintf(msg, "%s\nCannot use %d files", msg, numfiles); | ^~~~~~~~~~~~~~~~~~~~~~~~~ openfile.c:115:17: note: 'sprintf' output between 24 and 108 bytes into a destination of size 80 115 | sprintf(msg, "%s\nCannot use %d files", msg, numfiles); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openfile.c:115:17: warning: 'sprintf' argument 3 overlaps destination object 'msg' [-Wrestrict] openfile.c:82:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 82 | char msg[80] = ""; | ^~~ openfile.c:116:33: warning: ', used ' directive writing 7 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 116 | sprintf(msg, "%s, used %d files instead\n", msg, MAXFILES); | ^~~~~~~ openfile.c:116:17: note: 'sprintf' output between 28 and 107 bytes into a destination of size 80 116 | sprintf(msg, "%s, used %d files instead\n", msg, MAXFILES); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openfile.c:116:17: warning: 'sprintf' argument 3 overlaps destination object 'msg' [-Wrestrict] openfile.c:82:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 82 | char msg[80] = ""; | ^~~ openfile.c:122:33: warning: ' Cannot use ' directive writing 12 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 122 | sprintf(msg, "%s\nCannot use %d threads", msg, numthreads); | ^~~~~~~~~~~~~ openfile.c:122:30: note: directive argument in the range [11, 2147483647] 122 | sprintf(msg, "%s\nCannot use %d threads", msg, numthreads); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ openfile.c:122:17: note: 'sprintf' output between 23 and 110 bytes into a destination of size 80 122 | sprintf(msg, "%s\nCannot use %d threads", msg, numthreads); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openfile.c:122:17: warning: 'sprintf' argument 3 overlaps destination object 'msg' [-Wrestrict] openfile.c:82:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 82 | char msg[80] = ""; | ^~~ openfile.c:123:33: warning: ', used ' directive writing 7 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 123 | sprintf(msg, "%s, used %d threads instead\n", msg, MAXTHREADS); | ^~~~~~~ openfile.c:123:17: note: 'sprintf' output between 27 and 106 bytes into a destination of size 80 123 | sprintf(msg, "%s, used %d threads instead\n", msg, MAXTHREADS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openfile.c:123:17: warning: 'sprintf' argument 3 overlaps destination object 'msg' [-Wrestrict] openfile.c:82:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 82 | char msg[80] = ""; | ^~~ CC testcases/kernel/fs/openfile/openfile make[5]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from ../../../../include/tst_safe_clocks.h:13, from read_all.c:49: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/fs/read_all/read_all make[5]: Nothing to be done for 'all'. In file included from fsstress.c:34: global.h:36: warning: "_GNU_SOURCE" redefined 36 | #define _GNU_SOURCE | : note: this is the location of the previous definition fsstress.c: In function 'creat_f': fsstress.c:1685:13: warning: variable 'extsize' set but not used [-Wunused-but-set-variable] 1685 | int extsize; | ^~~~~~~ fsstress.c: In function 'dread_f': fsstress.c:1851:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1851 | else if (len > diob.d_maxiosz) | ^ In file included from global.h:39: fsstress.c: In function 'dwrite_f': xfscompat.h:6:22: warning: comparison of integer expressions of different signedness: '__off64_t' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^ fsstress.c:1934:31: note: in expansion of macro 'MIN' 1934 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ xfscompat.h:6:29: warning: operand of '?:' changes signedness from '__off64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^~~ fsstress.c:1934:31: note: in expansion of macro 'MIN' 1934 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ fsstress.c:1941:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1941 | else if (len > diob.d_maxiosz) | ^ fsstress.c: In function 'truncate_f': xfscompat.h:6:22: warning: comparison of integer expressions of different signedness: '__off64_t' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^ fsstress.c:2538:20: note: in expansion of macro 'MIN' 2538 | off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); | ^~~ xfscompat.h:6:29: warning: operand of '?:' changes signedness from '__off64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^~~ fsstress.c:2538:20: note: in expansion of macro 'MIN' 2538 | off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); | ^~~ fsstress.c: In function 'write_f': xfscompat.h:6:22: warning: comparison of integer expressions of different signedness: '__off64_t' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^ fsstress.c:2664:31: note: in expansion of macro 'MIN' 2664 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ xfscompat.h:6:29: warning: operand of '?:' changes signedness from '__off64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^~~ fsstress.c:2664:31: note: in expansion of macro 'MIN' 2664 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ CC testcases/kernel/fs/fsstress/fsstress make[5]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h CC testcases/kernel/fs/ftest/libftest.o make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ftest01.c:61: ftest01.c: In function 'domisc': ftest01.c:519:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type '__off64_t' {aka 'long long int'} [-Wformat=] 519 | "\tTest[%d]: fstat() mismatch; st_size=%lu, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 520 | "file_max=%x.", me, sb.st_size, file_max); | ~~~~~~~~~~ | | | __off64_t {aka long long int} ../../../../include/old/test.h:136:64: note: in definition of macro 'tst_brkm' 136 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \ | ^~~ ftest01.c:519:75: note: format string is defined here 519 | "\tTest[%d]: fstat() mismatch; st_size=%lu, " | ~~^ | | | long unsigned int | %llu CC testcases/kernel/fs/ftest/ftest02 CC testcases/kernel/fs/ftest/ftest04 CC testcases/kernel/fs/ftest/ftest03 CC testcases/kernel/fs/ftest/ftest01 ftest07.c: In function 'domisc': ftest07.c:590:32: warning: comparison of integer expressions of different signedness: '__off64_t' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 590 | if (sb.st_size != file_max) { | ^~ ftest06.c: In function 'main': ftest06.c:141:29: warning: '/ftest06.' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 141 | "%s/ftest06.%d", cwd, getpid()); | ^~~~~~~~~ ftest06.c:140:17: note: 'snprintf' output between 11 and 4116 bytes into a destination of size 4096 140 | snprintf(dirname, ARRAY_SIZE(dirname), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s/ftest06.%d", cwd, getpid()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/ftest/ftest05 CC testcases/kernel/fs/ftest/ftest06 CC testcases/kernel/fs/ftest/ftest07 CC testcases/kernel/fs/ftest/ftest08 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from squashfs01.c:36: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/fs/squashfs/squashfs01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/fs/proc/proc01 make[6]: Nothing to be done for 'all'. CC testcases/kernel/fs/fs_di/create_datafile CC testcases/kernel/fs/fs_di/frag make[5]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h commands.c: In function 'quit': commands.c:478:23: warning: unused parameter 'args' [-Wunused-parameter] 478 | static int quit(char *args) | ~~~~~~^~~~ commands.c: In function 'show_pid': commands.c:483:27: warning: unused parameter 'args' [-Wunused-parameter] 483 | static int show_pid(char *args) | ~~~~~~^~~~ commands.c: In function 'pause_me': commands.c:492:27: warning: unused parameter 'args' [-Wunused-parameter] 492 | static int pause_me(char *args) | ~~~~~~^~~~ commands.c: In function 'numa_info': commands.c:503:28: warning: unused parameter 'args' [-Wunused-parameter] 503 | static int numa_info(char *args) | ~~~~~~^~~~ memtoy.c: In function 'signal_handler': memtoy.c:167:54: warning: unused parameter 'vcontext' [-Wunused-parameter] 167 | void signal_handler(int sig, siginfo_t * info, void *vcontext) | ~~~~~~^~~~~~~~ commands.c: In function 'show_seg': memtoy.c: In function 'set_signals': memtoy.c:218:6: warning: old-style function definition [-Wold-style-definition] 218 | void set_signals() | ^~~~~~~~~~~ commands.c:652:18: warning: unused variable 'gcp' [-Wunused-variable] 652 | glctx_t *gcp = &glctx; | ^~~ memtoy.c:243:29: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 243 | ; | ^ memtoy.c: In function 'show_siginfo': memtoy.c:267:6: warning: old-style function definition [-Wold-style-definition] 267 | void show_siginfo() | ^~~~~~~~~~~~ commands.c: In function 'anon_seg': memtoy.c:314:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'void *' [-Wformat=] 314 | printf("Signal %s @ 0x%lx - %s\n", gcp->signame, badaddr, sigcode); | ~~^ ~~~~~~~ | | | | long unsigned int void * | %p commands.c:671:18: warning: unused variable 'gcp' [-Wunused-variable] 671 | glctx_t *gcp = &glctx; | ^~~ memtoy.c: In function 'touch_memory': memtoy.c:326:37: warning: variable 'sink' set but not used [-Wunused-but-set-variable] 326 | unsigned long *memend, *pp, sink; | ^~~~ commands.c: In function 'file_seg': memtoy.c: In function 'cleanup': memtoy.c:389:13: warning: old-style function definition [-Wold-style-definition] 389 | static void cleanup() | ^~~~~~~ commands.c:709:18: warning: unused variable 'gcp' [-Wunused-variable] 709 | glctx_t *gcp = &glctx; | ^~~ memtoy.c: In function 'parse_command_line_args': memtoy.c:413:23: warning: unused variable 'next' [-Wunused-variable] 413 | char *next; | ^~~~ memtoy.c:402:13: warning: unused variable 'argval' [-Wunused-variable] 402 | int argval; | ^~~~~~ memtoy.c: In function 'main': memtoy.c:457:14: warning: variable 'user_is_super' set but not used [-Wunused-but-set-variable] 457 | bool user_is_super; | ^~~~~~~~~~~~~ commands.c: In function 'remove_seg': commands.c:808:18: warning: unused variable 'gcp' [-Wunused-variable] 808 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'touch_seg': commands.c:830:18: warning: unused variable 'gcp' [-Wunused-variable] 830 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'unmap_seg': commands.c:864:18: warning: unused variable 'gcp' [-Wunused-variable] 864 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'map_seg': commands.c:884:18: warning: unused variable 'gcp' [-Wunused-variable] 884 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'mbind_seg': commands.c:924:18: warning: unused variable 'gcp' [-Wunused-variable] 924 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'shmem_seg': commands.c:987:18: warning: unused variable 'gcp' [-Wunused-variable] 987 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'where_seg': commands.c:1028:13: warning: unused variable 'ret' [-Wunused-variable] 1028 | int ret; | ^~~ commands.c: In function 'process_commands': commands.c:1235:6: warning: old-style function definition [-Wold-style-definition] 1235 | void process_commands() | ^~~~~~~~~~~~~~~~ In file included from memtoy.c:43: memtoy.h: At top level: memtoy.h:85:22: warning: 'tv_diff_usec' defined but not used [-Wunused-function] 85 | static unsigned long tv_diff_usec(struct timeval *stp, struct timeval *etp) | ^~~~~~~~~~~~ commands.c: At top level: commands.c:84:52: warning: 'whitespace' is static but used in inline function 'get_next_arg' which is not static 84 | return nextarg ? nextarg + strspn(nextarg, whitespace) : args + strnlen(args, CMDBUFSZ); | ^~~~~~~~~~ segment.c: In function 'map_file_segment': segment.c:386:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 386 | fprintf(stderr, "%s: offset 0x%lx beyond end of file %s\n", | ~~^ | | | long unsigned int | %llx 387 | gcp->program_name, segp->seg_offset, segp->seg_path); | ~~~~~~~~~~~~~~~~ | | | off_t {aka long long int} segment.c: In function 'show_one_segment': segment.c:593:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 593 | printf("%c 0x%p 0x%012zx 0x%012lx %s %s %s\n", | ~~~~~^ | | | long unsigned int | %012llx ...... 597 | segp->seg_offset, protection, share, name); | ~~~~~~~~~~~~~~~~ | | | off_t {aka long long int} segment.c:599:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 599 | printf("%c *** not-mapped *** 0x%012zx 0x%012lx %s %s %s\n", | ~~~~~^ | | | long unsigned int | %012llx ...... 602 | segp->seg_offset, protection, share, name); | ~~~~~~~~~~~~~~~~ | | | off_t {aka long long int} segment.c: In function 'segment_touch': segment.c:689:48: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 689 | fprintf(stderr, "%s: offset %ld is past end of segment %s\n", | ~~^ | | | long int | %lld 690 | gcp->program_name, offset, name); | ~~~~~~ | | | off_t {aka long long int} segment.c: In function 'segment_mbind': segment.c:838:48: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 838 | fprintf(stderr, "%s: offset %ld is past end of segment %s\n", | ~~^ | | | long int | %lld 839 | gcp->program_name, offset, name); | ~~~~~~ | | | off_t {aka long long int} segment.c:818:15: warning: variable 'start' set but not used [-Wunused-but-set-variable] 818 | char *start; | ^~~~~ segment.c: In function 'segment_location': segment.c:901:48: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 901 | fprintf(stderr, "%s: offset %ld is past end of segment %s\n", | ~~^ | | | long int | %lld 902 | gcp->program_name, offset, name); | ~~~~~~ | | | off_t {aka long long int} make[7]: Nothing to be done for 'all'. memtoy.c: In function 'touch_memory': memtoy.c:322:43: warning: argument 'memp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 322 | void touch_memory(bool rw, unsigned long *memp, size_t memlen) | ~~~~~~~~~~~~~~~^~~~ make[7]: Nothing to be done for 'all'. CC testcases/kernel/hotplug/memory_hotplug/memtoy.o CC testcases/kernel/hotplug/memory_hotplug/segment.o CC testcases/kernel/hotplug/memory_hotplug/commands.o LD testcases/kernel/hotplug/memory_hotplug/memtoy /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. input_helper.c: In function 'no_events_queued': input_helper.c:275:34: warning: unused parameter 'stray_sync_event' [-Wunused-parameter] 275 | int no_events_queued(int fd, int stray_sync_event) | ~~~~^~~~~~~~~~~~~~~~ make[6]: Nothing to be done for 'all'. CC testcases/kernel/input/input_helper.o CC testcases/kernel/input/input03 CC testcases/kernel/input/input04 CC testcases/kernel/input/input01 CC testcases/kernel/input/input02 CC testcases/kernel/input/input05 CC testcases/kernel/input/input06 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from aio02.c:11: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/io/aio/aio01 CC testcases/kernel/io/aio/aio02 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from aiodio_append.c:18: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from aiocp.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from aio-stress.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from aiodio_sparse.c:22: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/io/ltp-aiodio/aiodio_append CC testcases/kernel/io/ltp-aiodio/aiodio_sparse CC testcases/kernel/io/ltp-aiodio/aio-stress CC testcases/kernel/io/ltp-aiodio/aiocp In file included from ../../../../include/tst_test.h:180, from dio_append.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} common.h: In function 'check_zero': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ common.h:20:25: note: in expansion of macro 'tst_res' 20 | tst_res(TINFO, | ^~~~~~~ common.h: In function 'io_read': ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ common.h:85:41: note: in expansion of macro 'tst_res' 85 | tst_res(TFAIL, | ^~~~~~~ In file included from ../../../../include/tst_test.h:180, from dio_sparse.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dio_read.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from dio_truncate.c:33: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} common.h: In function 'check_zero': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ common.h:20:25: note: in expansion of macro 'tst_res' 20 | tst_res(TINFO, | ^~~~~~~ common.h: In function 'io_read': ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ common.h:85:41: note: in expansion of macro 'tst_res' 85 | tst_res(TFAIL, | ^~~~~~~ common.h: In function 'check_zero': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ common.h:20:25: note: in expansion of macro 'tst_res' 20 | tst_res(TINFO, | ^~~~~~~ common.h: In function 'io_read': ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ common.h:85:41: note: in expansion of macro 'tst_res' 85 | tst_res(TFAIL, | ^~~~~~~ dio_truncate.c: In function 'dio_read': ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ dio_truncate.c:72:41: note: in expansion of macro 'tst_res' 72 | tst_res(TINFO, "non-zero read at offset %zu", | ^~~~~~~ common.h: In function 'check_zero': ../../../../include/tst_test.h:73:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ common.h:20:25: note: in expansion of macro 'tst_res' 20 | tst_res(TINFO, | ^~~~~~~ common.h: In function 'io_read': ../../../../include/tst_test.h:73:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ common.h:85:41: note: in expansion of macro 'tst_res' 85 | tst_res(TFAIL, | ^~~~~~~ CC testcases/kernel/io/ltp-aiodio/dio_append CC testcases/kernel/io/ltp-aiodio/dio_read CC testcases/kernel/io/ltp-aiodio/dio_sparse CC testcases/kernel/io/ltp-aiodio/dirty CC testcases/kernel/io/ltp-aiodio/dio_truncate /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/io/direct_io/diotest_routines.o diotest2.c: In function 'runtest': diotest2.c:81:61: warning: unused parameter 'action' [-Wunused-parameter] 81 | int runtest(int fd_r, int fd_w, int iter, off_t offset, int action) | ~~~~^~~~~~ diotest4.c: In function 'runtest_f': diotest4.c:96:69: warning: unused parameter 'testnum' [-Wunused-parameter] 96 | runtest_f(int fd, char *buf, int offset, int count, int errnum, int testnum, | ~~~~^~~~~~~ diotest4.c: In function 'runtest_s': diotest4.c:138:61: warning: unused parameter 'testnum' [-Wunused-parameter] 138 | int runtest_s(int fd, char *buf, int offset, int count, int testnum, char *msg) | ~~~~^~~~~~~ CC testcases/kernel/io/direct_io/diotest2 CC testcases/kernel/io/direct_io/diotest3 diotest5.c: In function 'runtest': diotest5.c:85:61: warning: unused parameter 'action' [-Wunused-parameter] 85 | int runtest(int fd_r, int fd_w, int iter, off_t offset, int action) | ~~~~^~~~~~ CC testcases/kernel/io/direct_io/diotest1 In file included from dma_thread_diotest.c:105: dma_thread_diotest.c: In function 'dma_thread_diotest_verify': dma_thread_diotest.c:306:66: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int' [-Wformat=] 306 | tst_brkm(TBROK, cleanup, "there is" | ^~~~~~~~~~ ...... 309 | j, (intptr_t)retval); | ~~~~~~~~~~~~~~~~ | | | int ../../../../include/old/test.h:136:64: note: in definition of macro 'tst_brkm' 136 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \ | ^~~ dma_thread_diotest.c:324:42: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int' [-Wformat=] 324 | "fork() failed in fork thread:" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | "return value: %ld", (intptr_t)retval); | ~~~~~~~~~~~~~~~~ | | | int ../../../../include/old/test.h:136:64: note: in definition of macro 'tst_brkm' 136 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \ | ^~~ CC testcases/kernel/io/direct_io/diotest4 CC testcases/kernel/io/direct_io/diotest5 CC testcases/kernel/io/direct_io/dma_thread_diotest CC testcases/kernel/io/direct_io/diotest6 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. writetest.c: In function 'setup': writetest.c:212:6: warning: old-style function definition [-Wold-style-definition] 212 | void setup() | ^~~~~ writetest.c: In function 'parse_args': writetest.c:196:25: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 196 | strncpy(Filename, optarg, MAX_FILENAME_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/io/writetest/writetest /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. pipeio.c: In function 'sig_child': pipeio.c:852:27: warning: unused parameter 'sig' [-Wunused-parameter] 852 | static void sig_child(int sig) | ~~~~^~~ CC testcases/kernel/ipc/pipeio/pipeio /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. In file included from ../../../include/tst_test.h:180, from irqbalance01.c:42: ../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/irq/irqbalance01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from kmsg01.c:27: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} kmsg01.c: In function 'timed_read_kmsg': ../../../../include/tst_test.h:120:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c:185:17: note: in expansion of macro 'tst_brk' 185 | tst_brk(TBROK|TERRNO, "failed to fork"); | ^~~~~~~ kmsg01.c:186:9: note: here 186 | case 0: | ^~~~ kmsg01.c: In function 'timed_read': ../../../../include/tst_test.h:120:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c:152:17: note: in expansion of macro 'tst_brk' 152 | tst_brk(TBROK|TERRNO, "select failed"); | ^~~~~~~ kmsg01.c:153:9: note: here 153 | case 0: | ^~~~ kmsg01.c: In function 'find_msg.constprop': kmsg01.c:97:33: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 97 | strncpy(buf, msg, bufsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c: In function 'test_inject': kmsg01.c:291:45: warning: '%s' directive writing up to 4095 bytes into a region of size between 4091 and 4093 [-Wformat-overflow=] 291 | sprintf(imsg_prefixed, "<%d>%s", i, imsg); | ^~ ~~~~ kmsg01.c:291:17: note: 'sprintf' output between 4 and 4101 bytes into a destination of size 4096 291 | sprintf(imsg_prefixed, "<%d>%s", i, imsg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/logging/kmsg/kmsg01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. mmapstress02.c: In function 'cleanup': mmapstress02.c:68:18: warning: unused parameter 'sig' [-Wunused-parameter] 68 | void cleanup(int sig) | ~~~~^~~ mmapstress02.c: In function 'main': mmapstress02.c:125:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 125 | if (write(fd, (char *)mmapaddr - pagesize, pagesize) != pagesize) { | ^~ mmap-corruption01.c: In function 'finish': mmap-corruption01.c:177:17: warning: unused parameter 'sig' [-Wunused-parameter] 177 | void finish(int sig) | ~~~~^~~ In file included from ../../../../include/tst_test.h:180, from mmapstress01.c:37: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} mmapstress01.c: In function 'fileokay': ../../../../include/tst_test.h:120:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ mmapstress01.c:227:33: note: in expansion of macro 'tst_brk' 227 | tst_brk(TFAIL, "missing data: read %lu of %ld bytes", | ^~~~~~~ CC testcases/kernel/mem/mmapstress/mmapstress03 In file included from ../../../../include/tst_test.h:180, from mmapstress04.c:14: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/mmapstress/mmapstress02 CC testcases/kernel/mem/mmapstress/mmap-corruption01 mmapstress05.c: In function 'cleanup': mmapstress05.c:93:18: warning: unused parameter 'sig' [-Wunused-parameter] 93 | void cleanup(int sig) | ~~~~^~~ mmapstress05.c: In function 'main': mmapstress05.c:153:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 153 | for (i = 0; i < pagesize; i++) | ^ mmapstress05.c:155:38: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 155 | if (write(fd, buf, pagesize) != pagesize) { | ^~ mmapstress05.c:163:38: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 163 | if (write(fd, buf, pagesize) != pagesize) { | ^~ mmapstress05.c:171:38: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 171 | if (write(fd, buf, pagesize) != pagesize) { | ^~ CC testcases/kernel/mem/mmapstress/mmapstress04 CC testcases/kernel/mem/mmapstress/mmapstress01 mmapstress07.c: In function 'cleanup': mmapstress07.c:75:18: warning: unused parameter 'sig' [-Wunused-parameter] 75 | void cleanup(int sig) | ~~~~^~~ mmapstress07.c: In function 'main': mmapstress07.c:178:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 178 | while (i < pagesize && write(rwfd, "a", 1) == 1) | ^ mmapstress07.c:180:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 180 | if (i != pagesize) { | ^~ mmapstress07.c:194:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 194 | while (i < (pagesize >> 1) && write(rwfd, "b", 1) == 1) | ^ mmapstress07.c:196:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 196 | if (i != (pagesize >> 1)) { | ^~ mmapstress07.c:217:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 217 | while (i < 2 * pagesize && write(rwfd, "c", 1) == 1) | ^ mmapstress07.c:219:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 219 | if (i != 2 * pagesize) { | ^~ mmapstress07.c:237:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 237 | while (i < pagesize && write(rwfd, "e", 1) == 1) | ^ mmapstress07.c:239:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 239 | if (i != pagesize) { | ^~ CC testcases/kernel/mem/mmapstress/mmapstress06 CC testcases/kernel/mem/mmapstress/mmapstress05 mmapstress09.c: In function 'main': mmapstress09.c:138:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 138 | while ((c = getopt(argc, argv, "mdrp:t:s:")) != -1) { | ^~ mmapstress09.c:212:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 212 | for (i = 0, data = 0; i < pagesize; i++) { | ^ mmapstress09.c:222:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 222 | for (j = 0; j < pagesize; j++) | ^ mmapstress09.c: In function 'child_mapper': mmapstress09.c:399:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 399 | for (i = procno; i < pagesize; i += nprocs) { | ^ mmapstress09.c: In function 'mapokay': mmapstress09.c:446:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 446 | for (j = 0; j < pagesize; j++) { | ^ mmapstress09.c: In function 'finish': mmapstress09.c:461:31: warning: unused parameter 'sig' [-Wunused-parameter] 461 | /*ARGSUSED*/ void finish(int sig) | ~~~~^~~ mmapstress10.c:110: warning: "SIZE_MAX" redefined 110 | #define SIZE_MAX UINT_MAX | In file included from /home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/13.3.0/include/stdint.h:9, from ../../../../include/old/test.h:19, from mmapstress10.c:33: /home/buildroot/autobuild/run/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/stdint.h:262: note: this is the location of the previous definition 262 | # define SIZE_MAX (4294967295U) | mmapstress10.c: In function 'main': mmapstress10.c:281:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'off_t' {aka 'long long int'} [-Wformat=] 281 | (void)printf("creating file <%s> with %ld bytes, pattern %d\n", | ~~^ | | | long int | %lld 282 | filename, filesize, pattern); | ~~~~~~~~ | | | off_t {aka long long int} mmapstress10.c:342:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 342 | for (i = 0, data = 0; i < pagesize; i++) { | ^ CC testcases/kernel/mem/mmapstress/mmapstress08 mmapstress10.c:347:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 347 | for (data = 0; i < pagesize + growsize; i++) { | ^ mmapstress10.c:390:38: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 390 | child_mapper(filename, procno, nprocs); | ^~~~~~~~ mmapstress10.c:127:25: note: expected 'char *' but argument is of type 'const char *' 127 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress10.c:406:30: warning: passing argument 1 of 'child_writer' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 406 | child_writer(filename, buf); | ^~~~~~~~ mmapstress10.c:128:25: note: expected 'char *' but argument is of type 'const char *' 128 | void child_writer(char *file, uchar_t * buf); | ~~~~~~^~~~ mmapstress10.c:457:46: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 457 | child_mapper(filename, i, nprocs); | ^~~~~~~~ mmapstress10.c:127:25: note: expected 'char *' but argument is of type 'const char *' 127 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress10.c:495:31: warning: passing argument 1 of 'fileokay' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 495 | if (!fileokay(filename, buf)) { | ^~~~~~~~ mmapstress10.c:129:20: note: expected 'char *' but argument is of type 'const char *' 129 | int fileokay(char *file, uchar_t * expbuf); | ~~~~~~^~~~ mmapstress10.c: In function 'child_mapper': mmapstress10.c:615:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 615 | (void)printf("child %d (pid %d): seed %d, fsize %ld, " | ~~^ | | | long int | %lld 616 | "mapsize %ld, off %ld, loop %d\n", 617 | procno, getpid(), seed, filesize, | ~~~~~~~~ | | | off_t {aka long long int} mmapstress10.c:615:30: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=] 615 | (void)printf("child %d (pid %d): seed %d, fsize %ld, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 618 | (long)mapsize_mapper, offset / pagesize, nloops); | ~~~~~~~~~~~~~~~~~ | | | off_t {aka long long int} mmapstress10.c:616:50: note: format string is defined here 616 | "mapsize %ld, off %ld, loop %d\n", | ~~^ | | | long int | %lld mmapstress10.c: In function 'child_writer': mmapstress10.c:745:64: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'off_t' {aka 'long long int'} [-Wformat=] 745 | (void)printf("writer %d bytes at off %ld, size %ld\n", | ~~^ | | | long int | %lld 746 | growsize, off, statbuf.st_size); | ~~~ | | | off_t {aka long long int} mmapstress10.c:745:74: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__off64_t' {aka 'long long int'} [-Wformat=] 745 | (void)printf("writer %d bytes at off %ld, size %ld\n", | ~~^ | | | long int | %lld 746 | growsize, off, statbuf.st_size); | ~~~~~~~~~~~~~~~ | | | __off64_t {aka long long int} mmapstress10.c: In function 'fileokay': mmapstress10.c:839:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 839 | } else if (cnt != pagesize) { | ^~ mmapstress10.c:855:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 855 | for (j = 0; j < cnt; j++) { | ^ mmapstress10.c:865:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] 865 | (void)fprintf(stderr, ", pg %d off %d, " | ^~~~~~~~~~~~~~~~~~ 866 | "(fsize %ld)\n", i, j, 867 | statbuf.st_size); | ~~~~~~~~~~~~~~~ | | | __off64_t {aka long long int} mmapstress10.c:866:57: note: format string is defined here 866 | "(fsize %ld)\n", i, j, | ~~^ | | | long int | %lld mmapstress10.c: In function 'finish': mmapstress10.c:879:31: warning: unused parameter 'sig' [-Wunused-parameter] 879 | /*ARGSUSED*/ void finish(int sig) | ~~~~^~~ mmapstress10.c: In function 'clean_up_file': mmapstress10.c:885:38: warning: unused parameter 'sig' [-Wunused-parameter] 885 | /*ARGSUSED*/ void clean_up_file(int sig) | ~~~~^~~ mmapstress10.c: In function 'clean_mapper': mmapstress10.c:892:23: warning: unused parameter 'sig' [-Wunused-parameter] 892 | void clean_mapper(int sig) | ~~~~^~~ mmapstress10.c: In function 'clean_writer': mmapstress10.c:900:23: warning: unused parameter 'sig' [-Wunused-parameter] 900 | void clean_writer(int sig) | ~~~~^~~ CC testcases/kernel/mem/mmapstress/mmapstress07 CC testcases/kernel/mem/mmapstress/mmapstress09 CC testcases/kernel/mem/mmapstress/mmapstress10 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all /usr/bin/make -C ../../../../testcases/kernel/mem/lib -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/lib/../include/mem.h:8, from mem.c:25: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} mem.c: In function 'get_a_numa_node': ../../../../include/tst_test.h:120:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:607:17: note: in expansion of macro 'tst_brk' 607 | tst_brk(TCONF, "requires a NUMA system."); | ^~~~~~~ mem.c:608:9: note: here 608 | default: | ^~~~~~~ ../../../../include/tst_test.h:120:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:618:17: note: in expansion of macro 'tst_brk' 618 | tst_brk(TCONF, "requires a NUMA system that has " | ^~~~~~~ mem.c:621:9: note: here 621 | default: | ^~~~~~~ mem.c: In function 'write_cpusets': mem.c:555:52: warning: '/online' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 555 | snprintf(path1, BUFSIZ, "%s/online", path); | ^~~~~~~ In function 'gather_node_cpus', inlined from 'write_cpusets' at mem.c:579:2: mem.c:555:25: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 555 | snprintf(path1, BUFSIZ, "%s/online", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/mem/lib/mem.o AR libmem.a RANLIB libmem.a In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from oom03.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from oom01.c:19: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from oom04.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from oom02.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/oom/oom03 In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from oom05.c:23: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/oom/oom01 CC testcases/kernel/mem/oom/oom02 CC testcases/kernel/mem/oom/oom04 CC testcases/kernel/mem/oom/oom05 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all BUILD libltpnuma.a GEN ltp-version.h make[6]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from ksm03.c:59: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from ksm04.c:41: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from ksm01.c:59: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from ksm02.c:56: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/ksm/ksm03 In file included from ../../../../include/tst_test.h:180, from ksm05.c:41: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/ksm/ksm01 CC testcases/kernel/mem/ksm/ksm04 CC testcases/kernel/mem/ksm/ksm02 In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from ksm06.c:36: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from ksm07.c:26: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/ksm/ksm05 CC testcases/kernel/mem/ksm/ksm06 CC testcases/kernel/mem/ksm/ksm07 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from thp03.c:39: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from thp01.c:40: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from thp04.c:29: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from thp02.c:41: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/thp/thp03 In file included from ../../../../include/tst_safe_macros.h:28: thp04.c: In function 'thread_run': thp04.c:108:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 108 | SAFE_LSEEK(readfd, (off_t)write_ptr, SEEK_SET); | ^ ../../../../include/tst_safe_macros_inline.h:184:47: note: in definition of macro 'SAFE_LSEEK' 184 | safe_lseek(__FILE__, __LINE__, (fd), (offset), (whence)) | ^~~~~~ thp04.c: In function 'run': thp04.c:127:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 127 | SAFE_LSEEK(writefd, (off_t)write_ptr, SEEK_SET); | ^ ../../../../include/tst_safe_macros_inline.h:184:47: note: in definition of macro 'SAFE_LSEEK' 184 | safe_lseek(__FILE__, __LINE__, (fd), (offset), (whence)) | ^~~~~~ CC testcases/kernel/mem/thp/thp01 CC testcases/kernel/mem/thp/thp02 CC testcases/kernel/mem/thp/thp04 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. shm_test.c: In function 'noprintf': shm_test.c:60:21: warning: unused parameter 'string' [-Wunused-parameter] 60 | void noprintf(char *string, ...) | ~~~~~~^~~~~~ shm_test.c: In function 'shmat_rd_wr': shm_test.c:187:14: warning: variable 'buff' set but not used [-Wunused-but-set-variable] 187 | char buff; /* temporary buffer */ | ^~~~ In file included from ../../../../include/tst_test.h:180, from mallocstress.c:20: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/mtest07/shm_test CC testcases/kernel/mem/mtest07/mallocstress /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. shmat1.c: In function 'sig_handler': shmat1.c:112:29: warning: unused parameter 'code' [-Wunused-parameter] 112 | int code, ucontext_t *ut) | ~~~~^~~~ shmat1.c:112:47: warning: unused parameter 'ut' [-Wunused-parameter] 112 | int code, ucontext_t *ut) | ~~~~~~~~~~~~^~ shmat1.c: In function 'main': shmat1.c:448:29: warning: cast between incompatible function types from 'void (*)(int, int, ucontext_t *)' {aka 'void (*)(int, int, struct ucontext *)'} to 'void (*)(int)' [-Wcast-function-type] 448 | sigptr.sa_handler = (void (*)(int signal))sig_handler; | ^ In file included from ../../../../include/tst_test.h:180, from mmap1.c:32: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from mmap3.c:21: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/mtest06/shmat1 CC testcases/kernel/mem/mtest06/mmap2 CC testcases/kernel/mem/mtest06/mmap3 CC testcases/kernel/mem/mtest06/mmap1 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/mem/mtest05/mmstress_dummy CC testcases/kernel/mem/mtest05/mmstress /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. page02.c: In function 'main': page02.c:68:5: warning: old-style function definition [-Wold-style-definition] 68 | int main(argc, argv) | ^~~~ page02.c:83:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 83 | if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^ page02.c: In function 'bd_arg': page02.c:224:5: warning: old-style function definition [-Wold-style-definition] 224 | int bd_arg(str) | ^~~~~~ page02.c: In function 'chld': page02.c:230:5: warning: old-style function definition [-Wold-style-definition] 230 | int chld() | ^~~~ page02.c:232:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 232 | if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^ page01.c: In function 'main': page01.c:69:5: warning: old-style function definition [-Wold-style-definition] 69 | int main(argc, argv) | ^~~~ page01.c: In function 'bd_arg': page01.c:195:5: warning: old-style function definition [-Wold-style-definition] 195 | int bd_arg(str) | ^~~~~~ page01.c: In function 'setup': page01.c:208:6: warning: old-style function definition [-Wold-style-definition] 208 | void setup() | ^~~~~ page01.c: In function 'blenter': page01.c:219:6: warning: old-style function definition [-Wold-style-definition] 219 | void blenter() | ^~~~~~~ page01.c: In function 'anyfail': page01.c:231:6: warning: old-style function definition [-Wold-style-definition] 231 | void anyfail() | ^~~~~~~ page01.c: In function 'ok_exit': page01.c:244:6: warning: old-style function definition [-Wold-style-definition] 244 | void ok_exit() | ^~~~~~~ page01.c: In function 'forkfail': page01.c:255:6: warning: old-style function definition [-Wold-style-definition] 255 | void forkfail() | ^~~~~~~~ page01.c: In function 'instress': page01.c:279:5: warning: old-style function definition [-Wold-style-definition] 279 | int instress() | ^~~~~~~~ CC testcases/kernel/mem/page/page02 CC testcases/kernel/mem/page/page01 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from max_map_count.c:51: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from min_free_kbytes.c:38: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} min_free_kbytes.c: In function 'test_tune': ../../../../include/tst_test.h:120:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ min_free_kbytes.c:114:25: note: in expansion of macro 'tst_brk' 114 | tst_brk(TBROK | TERRNO, "fork"); | ^~~~~~~ min_free_kbytes.c:115:17: note: here 115 | case 0: | ^~~~ In file included from ../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/include/mem.h:8, from overcommit_memory.c:65: ../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/tunable/max_map_count CC testcases/kernel/mem/tunable/min_free_kbytes CC testcases/kernel/mem/tunable/overcommit_memory /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all GEN ltp-version.h make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/mem/shmt/shmt03 CC testcases/kernel/mem/shmt/shmt05 CC testcases/kernel/mem/shmt/shmt04 CC testcases/kernel/mem/shmt/shmt02 CC testcases/kernel/mem/shmt/shmt07 CC testcases/kernel/mem/shmt/shmt06 shmt10.c: In function 'fini': shmt10.c:163:22: warning: unused parameter 'sig' [-Wunused-parameter] 163 | static void fini(int sig) | ~~~~^~~ CC testcases/kernel/mem/shmt/shmt08 CC testcases/kernel/mem/shmt/shmt09 CC testcases/kernel/mem/shmt/shmt10 /usr/bin/make -C "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/lib/Makefile" all /usr/bin/make -C "../lib" -f "/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/hugetlb/hugeshmat/../lib/Makefile" all GEN ltp-version.h make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. In file included from ../../../../../include/tst_test.h:180, from hugetlb.h:19, from hugetlb.c:40: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} hugetlb.c: In function 'do_readback': ../../../../../include/tst_test.h:73:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ hugetlb.c:126:25: note: in expansion of macro 'tst_res' 126 | tst_res(TFAIL, "At \"%s\": Mismatch at offset 0x%lx: 0x%x " | ^~~~~~~ ../../../../../include/tst_test.h:73:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 73 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ hugetlb.c:126:25: note: in expansion of macro 'tst_res' 126 | tst_res(TFAIL, "At \"%s\": Mismatch at offset 0x%lx: 0x%x " | ^~~~~~~ CC testcases/kernel/mem/hugetlb/lib/hugetlb.o AR libhugetlb.a RANLIB libhugetlb.a In file included from ../../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/hugetlb/hugeshmat/../lib/hugetlb.h:19, from hugeshmat03.c:34: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/hugetlb/hugeshmat/../lib/hugetlb.h:19, from hugeshmat01.c:30: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/hugetlb/hugeshmat/../lib/hugetlb.h:19, from hugeshmat04.c:22: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} In file included from ../../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/hugetlb/hugeshmat/../lib/hugetlb.h:19, from hugeshmat02.c:29: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat03 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat02 In file included from ../../../../../include/tst_test.h:180, from /home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases/kernel/mem/hugetlb/hugeshmat/../lib/hugetlb.h:19, from hugeshmat05.c:29: ../../../../../include/tst_safe_macros.h: In function 'safe_mmap': ../../../../../include/tst_safe_macros.h:284:50: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'off_t' {aka 'long long int'} [-Wformat=] 284 | "mmap(%p, %zu, %s(%x), %d, %d, %ld)", | ~~^ | | | long int | %lld 285 | addr, length, prot_buf, prot, flags, fd, offset); | ~~~~~~ | | | off_t {aka long long int} CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat01 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat05 xtensa-buildroot-linux-uclibc-gcc.br_real: fatal error: Killed signal terminated program cc1 compilation terminated. ../../../../../include/mk/rules.mk:45: recipe for target 'hugeshmat04' failed make[6]: *** [hugeshmat04] Error 1 ../../../../include/mk/generic_trunk_target.inc:108: recipe for target 'all' failed make[5]: *** [all] Error 2 ../../../include/mk/generic_trunk_target.inc:108: recipe for target 'all' failed make[4]: *** [all] Error 2 ../../include/mk/generic_trunk_target.inc:108: recipe for target 'all' failed make[3]: *** [all] Error 2 ../include/mk/generic_trunk_target.inc:108: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/testcases' Makefile:85: recipe for target 'testcases-all' failed make[1]: *** [testcases-all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524' package/pkg-generic.mk:280: recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-1/output-1/build/ltp-testsuite-20240524/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-1/buildroot'