<86>Aug 16 19:52:42 userdel[2675162]: delete user 'rooter' <86>Aug 16 19:52:42 userdel[2675162]: removed group 'rooter' owned by 'rooter' <86>Aug 16 19:52:42 groupadd[2675231]: group added to /etc/group: name=rooter, GID=684 <86>Aug 16 19:52:42 groupadd[2675231]: group added to /etc/gshadow: name=rooter <86>Aug 16 19:52:42 groupadd[2675231]: new group: name=rooter, GID=684 <86>Aug 16 19:52:42 useradd[2675238]: new user: name=rooter, UID=684, GID=684, home=/root, shell=/bin/bash <86>Aug 16 19:52:42 userdel[2675250]: delete user 'builder' <86>Aug 16 19:52:42 groupadd[2675261]: group added to /etc/group: name=builder, GID=685 <86>Aug 16 19:52:42 groupadd[2675261]: group added to /etc/gshadow: name=builder <86>Aug 16 19:52:42 groupadd[2675261]: new group: name=builder, GID=685 <86>Aug 16 19:52:42 useradd[2675268]: new user: name=builder, UID=685, GID=685, home=/usr/src, shell=/bin/bash <13>Aug 16 19:52:45 rpmi: libxfs-5.12.0-alt1 sisyphus+279555.100.1.1 1626559382 installed <13>Aug 16 19:52:45 rpmi: libuuid-devel-2.36.1-alt3 sisyphus+281225.100.1.1 1627470187 installed <13>Aug 16 19:52:45 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104244 installed <13>Aug 16 19:52:45 rpmi: libmm-1.4.2-alt3 sisyphus+275373.100.1.2 1624493871 installed <13>Aug 16 19:52:45 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Aug 16 19:52:45 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Aug 16 19:52:45 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153355 installed <13>Aug 16 19:52:45 rpmi: libaio-0.3.112-alt1 sisyphus+275617.100.1.1 1624555851 installed <13>Aug 16 19:52:45 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Aug 16 19:52:45 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211284 installed <13>Aug 16 19:52:45 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Aug 16 19:52:45 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Aug 16 19:52:45 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Aug 16 19:52:45 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Aug 16 19:52:45 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Aug 16 19:52:45 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+279286.100.1.1 1626469546 installed <13>Aug 16 19:52:45 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+279286.100.1.1 1626469546 installed <13>Aug 16 19:52:45 rpmi: python3-3.9.6-alt1 sisyphus+276295.100.1.1 1624964289 installed <13>Aug 16 19:52:45 rpmi: python3-base-3.9.6-alt1 sisyphus+276295.100.1.1 1624964289 installed <13>Aug 16 19:52:46 rpmi: libpython3-3.9.6-alt1 sisyphus+276295.100.1.1 1624964289 installed <13>Aug 16 19:52:46 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Aug 16 19:52:46 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Aug 16 19:52:46 rpmi: libssl-devel-1.1.1k-alt1 sisyphus+279286.100.1.1 1626469546 installed <13>Aug 16 19:52:46 rpmi: libaio-devel-0.3.112-alt1 sisyphus+275617.100.1.1 1624555851 installed <13>Aug 16 19:52:46 rpmi: libkeyutils-devel-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Aug 16 19:52:46 rpmi: libmm-devel-1.4.2-alt3 sisyphus+275373.100.1.2 1624493871 installed <13>Aug 16 19:52:46 rpmi: libnuma-devel-2.0.14-alt2 sisyphus+278485.100.1.1 1626104244 installed <13>Aug 16 19:52:46 rpmi: libxfs-devel-5.12.0-alt1 sisyphus+279555.100.1.1 1626559382 installed <13>Aug 16 19:52:46 rpmi: libselinux-devel-1:3.2-alt1 sisyphus+278158.600.1.1 1626050231 installed <13>Aug 16 19:52:46 rpmi: libcap-devel-1:2.27.0.2.ac1e-alt3 sisyphus+278099.2000.1.1 1626029205 installed <13>Aug 16 19:52:46 rpmi: libacl-devel-2.3.1-alt1 sisyphus+279621.200.1.1 1626627026 installed <13>Aug 16 19:52:46 rpmi: banner-1.3.4-alt1 sisyphus+275274.100.1.2 1624470684 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/ltp-20210524-alt3.nosrc.rpm (w1.gzdio) Installing ltp-20210524-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.37291 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ltp-20210524 + echo 'Source #0 (ltp-20210524.tar):' Source #0 (ltp-20210524.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ltp-20210524.tar + cd ltp-20210524 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.37291 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ltp-20210524 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: adding subdirectory testcases/realtime to autoreconf autoreconf-default: Entering directory `testcases/realtime' autoreconf-default: configure.ac: not using Libtool autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:9: installing './compile' configure.ac:12: installing './config.guess' configure.ac:12: installing './config.sub' configure.ac:4: installing './install-sh' configure.ac:4: installing './missing' autoreconf-default: Leaving directory `testcases/realtime' configure.ac:22: installing './compile' configure.ac:20: installing './config.guess' configure.ac:20: installing './config.sub' configure.ac:4: installing './install-sh' configure.ac:4: installing './missing' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration' + export CFLAGS + CXXFLAGS='-pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration' + export CXXFLAGS + FFLAGS='-pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration' + export FFLAGS + FCFLAGS='-pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + sort -u + readlink -e -- ./configure + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --prefix=/usr/lib/ltp checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe 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-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-ar... no checking for ar... ar checking for flex... no checking for lex... no checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-alt-linux-strip... no checking for strip... strip checking for bison... bison -y checking whether IFLA_NET_NS_PID is declared... yes checking whether MADV_MERGEABLE 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... yes checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for asm/ldt.h... yes checking for ifaddrs.h... yes checking for keyutils.h... yes 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/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/keyctl.h... yes checking for linux/mempolicy.h... yes checking for linux/module.h... yes checking for linux/netlink.h... yes checking for linux/seccomp.h... yes checking for linux/securebits.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/prctl.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... yes checking fts.h usability... yes checking fts.h presence... yes checking for fts.h... yes checking for clone3... no checking for close_range... no checking for copy_file_range... yes checking for epoll_pwait... yes checking for execveat... no checking for fallocate... yes checking for fchownat... 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 getdents... no checking for getdents64... yes 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 mallopt... yes checking for mkdirat... yes checking for mknodat... yes checking for modify_ldt... yes 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_open... no checking for pidfd_send_signal... no checking for pkey_mprotect... yes checking for preadv... yes checking for preadv2... yes checking for profil... yes checking for pwritev... yes checking for pwritev2... yes checking for rand_r... yes checking for readlinkat... yes checking for recvmmsg... yes checking for renameat... yes checking for renameat2... yes checking for sched_getcpu... yes checking for sendmmsg... yes checking for setns... yes checking for sigpending... yes checking for splice... yes checking for statx... yes checking for stime... no 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 utsname.domainname... yes checking for enum kcmp_type... yes checking for struct acct_v3... yes checking for struct af_alg_iv... yes checking for struct sockaddr_alg... yes checking for struct fanotify_event_info_fid... yes checking for struct fanotify_event_info_header... yes checking for struct file_dedupe_range... yes checking for struct file_handle... yes checking for struct fs_quota_statv... yes 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... yes checking for struct statx_timestamp... yes checking for struct termio... yes checking for struct tpacket_req3... yes checking for struct user_desc... yes checking for struct modify_ldt_ldt_s... no checking for struct xt_entry_match... yes checking for struct xt_entry_target... yes checking for perl... perl checking for perl module Cwd... ok checking for perl module File::Basename... ok checking for perl module JSON... no checking for perl module LWP::Simple... no configure: WARNING: metadata generation skipped due missing required Perl modules checking for acl_init in -lacl... yes checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking for __atomic_* compiler builtins... yes checking for __builtin___clear_cache... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for cap_compare in -lcap... yes checking if x86_64-alt-linux-gcc supports -Wold-style-definition... yes checking if clone() supports 7 args... yes checking for SHA1_Init in -lcrypto... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking whether to define _FORTIFY_SOURCE=2... no checking for kernel-devel... no checking for add_key in -lkeyutils... yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libmnl... no checking sys/ptrace.h usability... yes checking sys/ptrace.h presence... yes checking for sys/ptrace.h... yes checking sys/reg.h usability... yes checking sys/reg.h presence... yes checking for sys/reg.h... yes checking asm/ptrace.h usability... yes checking asm/ptrace.h presence... yes checking for asm/ptrace.h... yes checking linux/ptrace.h usability... yes checking linux/ptrace.h presence... yes checking for linux/ptrace.h... yes checking for struct user_regs_struct... no checking for struct pt_regs... yes checking whether PTRACE_GETSIGINFO is declared... yes checking whether PTRACE_O_TRACEVFORKDONE is declared... yes checking whether PTRACE_SETOPTIONS is declared... yes checking for struct ptrace_peeksiginfo_args... no checking for linux/random.h... yes checking for MREMAP_FIXED in ... yes checking for fork... yes checking for daemon... yes checking for vfork... yes checking selinux/selinux.h usability... yes checking selinux/selinux.h presence... yes checking for selinux/selinux.h... yes checking for is_selinux_enabled in -lselinux... yes checking for __sync_add_and_fetch... yes checking libaio.h usability... yes checking libaio.h presence... yes checking for libaio.h... yes checking for io_setup in -laio... yes checking io_set_eventfd is defined in aio library or aio header... yes checking for fcntl f_owner_ex... yes checking for numa_available in -lnuma... yes checking numa.h usability... yes checking numa.h presence... yes checking for numa.h... yes checking numaif.h usability... yes checking numaif.h presence... yes checking for numaif.h... yes checking for perf_event_attr in linux/perf_event.h... yes checking for signalfd... yes checking sys/signalfd.h usability... yes checking sys/signalfd.h presence... yes checking for sys/signalfd.h... yes checking linux/signalfd.h usability... yes checking linux/signalfd.h presence... 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... no checking for xdr_char... no checking for clnttcp_create... 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 execltp 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 arm ... Generating data for arch hppa ... Generating data for arch i386 ... Generating data for arch ia64 ... Generating data for arch mips_n32 ... Generating data for arch mips_n64 ... Generating data for arch mips_o32 ... Generating data for arch powerpc64 ... Generating data for arch powerpc ... Generating data for arch s390x ... Generating data for arch s390 ... Generating data for arch sh ... Generating data for arch sparc64 ... Generating data for arch sparc ... Generating data for arch x86_64 ... Generating stub list ... Combining them all ... OK! + banner ltp # ####### ###### # # # # # # # # # # ###### # # # # # # ####### # # + make -j8 --output-sync=none make: Entering directory '/usr/src/RPM/BUILD/ltp-20210524' make -C "lib" \ -f "/usr/src/RPM/BUILD/ltp-20210524/lib/Makefile" all make -C "libs" \ -f "/usr/src/RPM/BUILD/ltp-20210524/libs/Makefile" all if git describe >/dev/null 2>&1; then \ git describe > "Version"; \ else \ cp /usr/src/RPM/BUILD/ltp-20210524/VERSION "Version"; \ fi make[1]: Entering directory '/usr/src/RPM/BUILD/ltp-20210524/libs' make[1]: Entering directory '/usr/src/RPM/BUILD/ltp-20210524/lib' CC lib/cloner.o CC lib/get_path.o CC lib/safe_pthread.o CC lib/random_range.o CC lib/safe_file_ops.o CC lib/parse_opts.o CC libs/libltpipc/libipc.o tlibio.c: In function 'lio_write_buffer': tlibio.c:682:3: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 682 | sigset(sig, lio_async_signal_handler); | ^~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ tlibio.c:795:4: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 795 | sighold(sig); | ^~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:802:5: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 802 | sigrelse(sig); | ^~~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:866:4: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 866 | sighold(sig); | ^~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:873:5: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 873 | sigrelse(sig); | ^~~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:935:4: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 935 | sighold(sig); | ^~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:942:5: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 942 | sigrelse(sig); | ^~~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c: In function 'lio_read_buffer': tlibio.c:1253:3: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1253 | sigset(sig, lio_async_signal_handler); | ^~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ CC lib/self_exec.o tlibio.c:1370:4: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1370 | sighold(sig); | ^~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:1377:5: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1377 | sigrelse(sig); | ^~~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:1439:4: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1439 | sighold(sig); | ^~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:1446:5: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1446 | sigrelse(sig); | ^~~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:1508:4: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1508 | sighold(sig); | ^~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:1515:5: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1515 | sigrelse(sig); | ^~~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c: In function 'lio_check_asyncio': tlibio.c:1688:3: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1688 | sigrelse(aiocbp->aio_sigevent.sigev_signo); | ^~~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c: In function 'lio_wait4asyncio': tlibio.c:1907:4: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1907 | sigrelse(aiocbp->aio_sigevent.sigev_signo); | ^~~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:1919:4: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1919 | sigrelse(aiocbp->aio_sigevent.sigev_signo); | ^~~~~~~~ In file included from /usr/include/sys/param.h:28, from tlibio.c:95: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ CC lib/safe_stdio.o CC libs/libltpipc/libmsgctl.o AR libltpipc.a RANLIB libltpipc.a CC lib/tst_ansi_color.o In file included from /usr/include/string.h:532, from ../include/tst_test.h:16, from tst_af_alg.c:10: In function 'strncpy', inlined from 'init_sockaddr_alg' at tst_af_alg.c:46:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_sockaddr_alg' at tst_af_alg.c:50:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/tst_assert.o tlibio.c: In function 'lio_write_buffer': tlibio.c:938:12: warning: '%s' directive writing up to 4095 bytes into a region of size 487 [-Wformat-overflow=] 938 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s", | ^~ 939 | __FILE__, __LINE__, Lio_SysCall, fd, size, | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from tlibio.c:88: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 45 or more bytes (assuming 4140) into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tlibio.c:938:12: warning: '%s' directive writing up to 4095 bytes into a region of size 487 [-Wformat-overflow=] 938 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s", | ^~ 939 | __FILE__, __LINE__, Lio_SysCall, fd, size, | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from tlibio.c:88: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 45 or more bytes (assuming 4140) into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tlibio.c:869:12: warning: '%s' directive writing up to 4095 bytes into a region of size 487 [-Wformat-overflow=] 869 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s", | ^~ 870 | __FILE__, __LINE__, Lio_SysCall, fd, size, | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from tlibio.c:88: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 45 or more bytes (assuming 4140) into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tlibio.c:869:12: warning: '%s' directive writing up to 4095 bytes into a region of size 487 [-Wformat-overflow=] 869 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s", | ^~ 870 | __FILE__, __LINE__, Lio_SysCall, fd, size, | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from tlibio.c:88: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 45 or more bytes (assuming 4140) into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/safe_net.o CC libs/libltpnewipc/libnewipc.o AR libltpnewipc.a RANLIB libltpnewipc.a CC lib/tst_af_alg.o tlibio.c: In function 'lio_read_buffer': tlibio.c:1511:12: warning: '%s' directive writing up to 4095 bytes into a region of size 486 [-Wformat-overflow=] 1511 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s", | ^~ 1512 | __FILE__, __LINE__, Lio_SysCall, fd, size, | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from tlibio.c:88: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 46 or more bytes (assuming 4141) into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tlibio.c:1511:12: warning: '%s' directive writing up to 4095 bytes into a region of size 486 [-Wformat-overflow=] 1511 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s", | ^~ 1512 | __FILE__, __LINE__, Lio_SysCall, fd, size, | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from tlibio.c:88: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 46 or more bytes (assuming 4141) into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tlibio.c:1442:12: warning: '%s' directive writing up to 4095 bytes into a region of size 486 [-Wformat-overflow=] 1442 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s", | ^~ 1443 | __FILE__, __LINE__, Lio_SysCall, fd, size, | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from tlibio.c:88: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 46 or more bytes (assuming 4141) into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tlibio.c:1442:12: warning: '%s' directive writing up to 4095 bytes into a region of size 486 [-Wformat-overflow=] 1442 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s", | ^~ 1443 | __FILE__, __LINE__, Lio_SysCall, fd, size, | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from tlibio.c:88: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 46 or more bytes (assuming 4141) into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/tlibio.o CC lib/tst_checkpoint.o CC lib/tst_buffers.o CC lib/tst_checksum.o CC libs/libltpnuma/tst_numa.o CC lib/tst_capability.o AR libltpnuma.a CC lib/tst_bool_expr.o RANLIB libltpnuma.a CC lib/tst_clone.o CC lib/tst_coredump.o CC lib/tst_cmd.o CC lib/tst_clocks.o CC lib/tst_cpu.o CC lib/tst_crypto.o CC lib/tst_dir_is_empty.o CC lib/tst_cgroup.o CC lib/tst_fips.o CC lib/tst_fill_file.o CC lib/tst_fs_has_free.o CC lib/tst_fill_fs.o CC lib/safe_macros.o CC lib/tst_fs_type.o CC lib/tst_get_bad_addr.o CC lib/tst_fs_setup.o CC lib/tst_hugepage.o CC libs/libltpsigwait/sigwait.o AR libltpsigwait.a CC lib/tst_fs_link_count.o RANLIB libltpsigwait.a CC lib/tst_device.o CC lib/tst_ioctl.o CC lib/tst_kernel.o CC lib/tst_lockdown.o CC lib/tst_kvercmp.o CC libs/libltpswap/libswap.o CC lib/tst_memutils.o AR libltpswap.a RANLIB libltpswap.a CC lib/tst_mkfs.o CC lib/tst_module.o CC lib/tst_parse_opts.o CC lib/tst_path_has_mnt_flags.o CC lib/tst_net.o CC lib/tst_pid.o CC lib/tst_process_state.o CC lib/tst_kconfig.o CC lib/tst_netdevice.o CC lib/tst_resource.o CC libs/libltpuinput/tst_uinput.o AR libltpuinput.a CC lib/tst_rtctime.o RANLIB libltpuinput.a CC lib/tst_safe_io_uring.o CC lib/tst_safe_file_at.o CC lib/tst_safe_timerfd.o tst_sig.c: In function 'tst_sig': tst_sig.c:210:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 210 | if (fork_flag == FORK) | ^ tst_sig.c:213:3: note: here 213 | default: | ^~~~~~~ CC lib/tst_safe_sysv_ipc.o CC lib/tst_rtnetlink.o CC lib/tst_res.o CC lib/tst_sig.o CC libs/libltpvdso/parse_vdso.o CC lib/tst_sig_proc.o CC lib/tst_safe_macros.o CC lib/tst_status.o CC lib/tst_sys_conf.o CC lib/tst_taint.o CC libs/libltpvdso/vdso_helpers.o CC lib/tst_supported_fs_types.o AR libltpvdso.a RANLIB libltpvdso.a make[1]: Leaving directory '/usr/src/RPM/BUILD/ltp-20210524/libs' CC lib/tst_timer.o CC lib/tst_virt.o CC lib/tst_tmpdir.o CC lib/tst_wallclock.o CC lib/tst_timer_test.o CC lib/tst_test.o AR libltp.a RANLIB libltp.a test02.c:13:6: warning: type of 'tst_brkm__' does not match original declaration [-Wlto-type-mismatch] 13 | void tst_brkm__(char *, int, int, void (*)(void), char *); | ^ ../tst_res.c:578:6: note: types have different parameter counts 578 | void tst_brkm__(const char *file, const int lineno, int ttype, | ^ ../tst_res.c:578:6: note: 'tst_brkm__' was previously declared here test02.c:12:6: warning: type of 'tst_resm_' does not match original declaration [-Wlto-type-mismatch] 12 | void tst_resm_(char *, int, int, char *); | ^ ../tst_res.c:523:6: note: types have different parameter counts 523 | void tst_resm_(const char *file, const int lineno, int ttype, | ^ ../tst_res.c:523:6: note: 'tst_resm_' was previously declared here ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test07 CC lib/newlib_tests/test01 CC lib/newlib_tests/test02 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test05 CC lib/newlib_tests/test06 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test03 CC lib/newlib_tests/test04 CC lib/newlib_tests/test08 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test11 CC lib/newlib_tests/test09 CC lib/newlib_tests/test10 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test12 CC lib/newlib_tests/test14 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test15 CC lib/newlib_tests/test16 CC lib/newlib_tests/test13 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test18 CC lib/newlib_tests/test19 test_guarded_buf.c:93:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 93 | }; | ^ In file included from test_guarded_buf.c:12: ../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test_exec_child ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test17 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test22 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test20 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test_assert CC lib/newlib_tests/test_exec ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test_guarded_buf CC lib/newlib_tests/test_kconfig tst_capability01.c:52:1: warning: missing initializer for field 'tags' of 'struct tst_test' [-Wmissing-field-initializers] 52 | }; | ^ In file included from tst_capability01.c:12: ../../include/tst_test.h:262:24: note: 'tags' declared here 262 | const struct tst_tag *tags; | ^~~~ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test_kconfig01 tst_capability02.c:35:1: warning: missing initializer for field 'tags' of 'struct tst_test' [-Wmissing-field-initializers] 35 | }; | ^ In file included from tst_capability02.c:9: ../../include/tst_test.h:262:24: note: 'tags' declared here 262 | const struct tst_tag *tags; | ^~~~ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test_kconfig02 CC lib/newlib_tests/test_macros01 CC lib/newlib_tests/test_macros02 CC lib/newlib_tests/test_macros03 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/test_timer ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/tst_bool_expr ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/tst_capability01 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/tst_capability02 CC lib/newlib_tests/tst_device ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/tst_expiration_timer CC lib/newlib_tests/tst_cgroup01 CC lib/newlib_tests/tst_cgroup02 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/tst_fuzzy_sync01 CC lib/newlib_tests/tst_res_hexd CC lib/newlib_tests/tst_fuzzy_sync02 ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../tst_timer_test.c: In function 'timer_setup': ../tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC lib/newlib_tests/tst_safe_fileops CC lib/newlib_tests/tst_strstatus CC lib/newlib_tests/variant tst_dataroot02.c: In function 'main': tst_dataroot02.c:51:29: 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); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/old/test.h:14, from tst_dataroot02.c:23: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tst_dataroot03.c: In function 'main': tst_dataroot03.c:51:29: 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); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/old/test.h:14, from tst_dataroot03.c:23: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/tests/tst_cleanup_once CC lib/tests/tst_checkpoint CC lib/tests/tst_dataroot02 CC lib/tests/tst_checkpoint_wait_timeout CC lib/tests/trerrno CC lib/tests/tst_dataroot03 CC lib/tests/tst_checkpoint_wake_timeout CC lib/tests/tst_dataroot01 CC lib/tests/tst_strerrno CC lib/tests/tst_strsig CC lib/tests/tst_process_state CC lib/tests/tst_device CC lib/tests/tst_safe_macros CC lib/tests/tst_fs_fill_hardlinks CC lib/tests/tst_record_childstatus CC lib/tests/tst_fs_fill_subdirs CC lib/tests/tst_tmpdir_test make[1]: Leaving directory '/usr/src/RPM/BUILD/ltp-20210524/lib' make -C "pan" \ -f "/usr/src/RPM/BUILD/ltp-20210524/pan/Makefile" all make -C "utils" \ -f "/usr/src/RPM/BUILD/ltp-20210524/utils/Makefile" all make[1]: Entering directory '/usr/src/RPM/BUILD/ltp-20210524/pan' make -C "testcases" \ -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/Makefile" all /usr/src/RPM/BUILD/ltp-20210524/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found make[1]: Entering directory '/usr/src/RPM/BUILD/ltp-20210524/utils' make[1]: Entering directory '/usr/src/RPM/BUILD/ltp-20210524/testcases' make -C "tools" \ -f "/usr/src/RPM/BUILD/ltp-20210524/tools/Makefile" all make[1]: Entering directory '/usr/src/RPM/BUILD/ltp-20210524/tools' CC pan/splitstr.o make[4]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. zoolib.c: In function 'cat_args': zoolib.c:386:7: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 386 | *cmd = '\0'; | ~~~~~^~~~~~ zoolib.c:380:13: note: at offset 0 to an object with size 0 allocated by 'malloc' here 380 | if ((cmd = malloc(size)) == NULL) { | ^~~~~~~~~~~~ make[3]: Nothing to be done for 'all'. CC pan/ltp-bump.o CC pan/zoolib.o CC tools/apicmds/ltpapicmd.o x86_64-alt-linux-gcc -L../../lib ltpapicmd.o -lltp -o tst_brk x86_64-alt-linux-gcc -L../../lib ltpapicmd.o -lltp -o tst_brkm x86_64-alt-linux-gcc -L../../lib ltpapicmd.o -lltp -o tst_exit x86_64-alt-linux-gcc -L../../lib ltpapicmd.o -lltp -o tst_res CC testcases/commands/eject/eject_check_tray LD pan/ltp-bump x86_64-alt-linux-gcc -L../../lib ltpapicmd.o -lltp -o tst_resm CC utils/benchmark/ebizzy-0.3/ebizzy make[3]: Nothing to be done for 'all'. make -C "lib" -f "/usr/src/RPM/BUILD/ltp-20210524/utils/sctp/lib/Makefile" all 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 pan/ltp-pan.o CC testcases/commands/file/datafiles/in make[3]: Nothing to be done for 'all'. CC utils/sctp/lib/connectx.o make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. CC utils/sctp/lib/opt_info.o make[4]: Nothing to be done for 'all'. x86_64-alt-linux-gcc -L../../lib ltpapicmd.o -lltp -o tst_ncpus CC utils/sctp/lib/peeloff.o x86_64-alt-linux-gcc -L../../lib ltpapicmd.o -lltp -o tst_ncpus_conf CC testcases/commands/ldd/datafiles/main.o CC utils/sctp/lib/recvmsg.o x86_64-alt-linux-gcc -L../../lib ltpapicmd.o -lltp -o tst_ncpus_max make -C "testlib" -f "/usr/src/RPM/BUILD/ltp-20210524/utils/sctp/testlib/Makefile" all x86_64-alt-linux-gcc -L../../lib ltpapicmd.o -lltp -o tst_fs_has_free CC testcases/commands/ldd/datafiles/lddfile1.o CC testcases/commands/ldd/datafiles/lddfile2.o CC utils/sctp/lib/sendmsg.o AR libsctp.a RANLIB libsctp.a CC testcases/commands/ldd/datafiles/lddfile3.o CC testcases/commands/ldd/datafiles/lddfile4.o x86_64-alt-linux-gcc -pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile1.obj.so lddfile1.o CC testcases/commands/ldd/datafiles/lddfile5.o x86_64-alt-linux-gcc -pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile2.obj.so lddfile2.o CC utils/sctp/testlib/sctputil.o AR libsctputil.a x86_64-alt-linux-gcc -pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile3.obj.so lddfile3.o RANLIB libsctputil.a x86_64-alt-linux-gcc -pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile4.obj.so lddfile4.o x86_64-alt-linux-gcc -pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile5.obj.so lddfile5.o x86_64-alt-linux-gcc -pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -O -o lddfile.out main.o lddfile1.obj.so lddfile2.obj.so lddfile3.obj.so lddfile4.obj.so lddfile5.obj.so LD pan/ltp-pan make[1]: Leaving directory '/usr/src/RPM/BUILD/ltp-20210524/pan' rm lddfile2.o lddfile1.o lddfile4.o lddfile3.o lddfile5.o make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. test_1_to_1_initmsg_connect.c:117:1: warning: missing initializer for field 'save_restore' of 'struct tst_test' [-Wmissing-field-initializers] 117 | }; | ^ In file included from test_1_to_1_initmsg_connect.c:21: ../../../include/tst_test.h:241:22: note: 'save_restore' declared here 241 | const char * const *save_restore; | ^~~~~~~~~~~~ make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. genload.c: In function 'main': genload.c:95:6: 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:9: warning: variable 'd' set but not used [-Wunused-but-set-variable] 468 | double d; | ^ make[3]: Nothing to be done for 'all'. CC testcases/commands/nm/datafiles/f1.o CC testcases/commands/nm/datafiles/f2.o CC testcases/commands/nm/datafiles/f3.o LD testcases/commands/nm/datafiles/f1 LD testcases/commands/nm/datafiles/f2 CC utils/sctp/func_tests/test_1_to_1_accept_close CC utils/sctp/func_tests/test_1_to_1_connect LD testcases/commands/nm/datafiles/f3 ar rcs lib.a f1.o f2.o f3.o make[3]: Nothing to be done for 'all'. CC utils/sctp/func_tests/test_1_to_1_addrs make[3]: Nothing to be done for 'all'. make[3]: 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'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. ld: /usr/src/tmp/test_1_to_1_connectx.dx2iiA.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/ltp-20210524/utils/sctp/func_tests/test_1_to_1_connectx.c:120: undefined reference to `sctp_connectx' ld: /usr/src/RPM/BUILD/ltp-20210524/utils/sctp/func_tests/test_1_to_1_connectx.c:128: undefined reference to `sctp_connectx' ld: /usr/src/RPM/BUILD/ltp-20210524/utils/sctp/func_tests/test_1_to_1_connectx.c:138: undefined reference to `sctp_connectx' ld: /usr/src/RPM/BUILD/ltp-20210524/utils/sctp/func_tests/test_1_to_1_connectx.c:146: undefined reference to `sctp_connectx' ld: make[5]: Nothing to be done for 'all'. /usr/src/RPM/BUILD/ltp-20210524/utils/sctp/func_tests/test_1_to_1_connectx.c:155: undefined reference to `sctp_connectx' ld: /usr/src/tmp/test_1_to_1_connectx.dx2iiA.ltrans0.ltrans.o:/usr/src/RPM/BUILD/ltp-20210524/utils/sctp/func_tests/test_1_to_1_connectx.c:168: more undefined references to `sctp_connectx' follow make[5]: Nothing to be done for 'all'. collect2: error: ld returned 1 exit status make[3]: *** [../../../include/mk/rules.mk:37: test_1_to_1_connectx] Error 1 make[3]: *** Waiting for unfinished jobs.... make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. stress.c: In function 'main': stress.c:95:6: 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:9: warning: variable 'd' set but not used [-Wunused-but-set-variable] 468 | double d; | ^ make[3]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all'. CC utils/sctp/func_tests/test_1_to_1_events make[3]: Nothing to be done for 'all'. cve-2015-3290.c:477:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 477 | }; | ^ In file included from cve-2015-3290.c:117: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC tools/genload/genload cve-2014-0196.c:149:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 149 | }; | ^ In file included from cve-2014-0196.c:31: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ cve-2016-10044.c:70:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 70 | }; | ^ CC utils/sctp/func_tests/test_1_to_1_nonblock In file included from cve-2016-10044.c:19: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ cve-2016-7042.c:79:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 79 | }; | ^ In file included from cve-2016-7042.c:21: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC utils/sctp/func_tests/test_1_to_1_recvfrom ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ cve-2016-7117.c:158:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 158 | }; | ^ In file included from cve-2016-7117.c:42: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC utils/sctp/func_tests/test_1_to_1_recvmsg cve-2017-16939.c:85:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 85 | }; | ^ In file included from cve-2017-16939.c:25: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC tools/genload/stress make[1]: Leaving directory '/usr/src/RPM/BUILD/ltp-20210524/tools' cve-2017-17052.c:128:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 128 | }; | ^ In file included from cve-2017-17052.c:22: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC utils/sctp/func_tests/test_1_to_1_initmsg_connect make[2]: *** [../../include/mk/generic_trunk_target.inc:105: all] Error 2 make[1]: *** [../include/mk/generic_trunk_target.inc:105: all] Error 2 make[1]: Leaving directory '/usr/src/RPM/BUILD/ltp-20210524/utils' make: *** [Makefile:108: utils-all] Error 2 make: *** Waiting for unfinished jobs.... cve-2017-17053.c:160:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 160 | }; | ^ In file included from cve-2017-17053.c:13: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/cve/cve-2016-10044 ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ cve-2017-2618.c:59:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 59 | }; | ^ In file included from cve-2017-2618.c:21: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/cve/cve-2016-7042 ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ cve-2017-2671.c:117:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 117 | }; | ^ In file included from cve-2017-2671.c:34: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/cve/cve-2015-3290 ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ meltdown.c:385:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 385 | }; | ^ In file included from meltdown.c:7: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/cve/cve-2017-16939 ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ stack_clash.c:257:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 257 | }; | ^ In file included from stack_clash.c:33: ../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/cve/cve-2017-17052 ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/cve/cve-2014-0196 CC testcases/cve/cve-2017-17053 CC testcases/cve/cve-2016-7117 ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/cve/cve-2017-2618 ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../lib/tst_timer_test.c: In function 'timer_setup': ../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/cve/cve-2017-2671 CC testcases/cve/meltdown CC testcases/cve/stack_clash ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/abort/abort01 accept02.c:153:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 153 | }; | ^ In file included from accept02.c:26: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/accept/accept01 CC testcases/kernel/syscalls/accept/accept02 accept4_01.c:168:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 168 | }; | ^ In file included from accept4_01.c:22: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/accept4/accept4_01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/access/access04 CC testcases/kernel/syscalls/access/access03 CC testcases/kernel/syscalls/access/access01 CC testcases/kernel/syscalls/access/access02 acct02.c:271:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 271 | }; | ^ In file included from acct02.c:32: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/acct/acct02_helper ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/acct/acct01 CC testcases/kernel/syscalls/acct/acct02 add_key01.c:121:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 121 | }; | ^ In file included from add_key01.c:17: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ add_key02.c:92:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 92 | }; | ^ In file included from add_key02.c:23: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ add_key04.c:92:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 92 | }; | ^ In file included from add_key04.c:30: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ add_key03.c:90:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 90 | }; | ^ In file included from add_key03.c:22: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/add_key/add_key02 CC testcases/kernel/syscalls/add_key/add_key01 CC testcases/kernel/syscalls/add_key/add_key04 CC testcases/kernel/syscalls/add_key/add_key03 CC testcases/kernel/syscalls/add_key/add_key05 adjtimex03.c:85:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 85 | }; | ^ In file included from adjtimex03.c:34: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ adjtimex02.c:124:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 124 | }; | ^ In file included from adjtimex02.c:12: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ adjtimex01.c:62:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 62 | }; | ^ In file included from adjtimex01.c:10: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/adjtimex/adjtimex03 CC testcases/kernel/syscalls/adjtimex/adjtimex02 CC testcases/kernel/syscalls/adjtimex/adjtimex01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/alarm/alarm05 CC testcases/kernel/syscalls/alarm/alarm06 CC testcases/kernel/syscalls/alarm/alarm07 CC testcases/kernel/syscalls/alarm/alarm03 CC testcases/kernel/syscalls/alarm/alarm02 bind06.c:115:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 115 | }; | ^ In file included from bind06.c:24: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/bind/bind02 CC testcases/kernel/syscalls/bind/bind03 CC testcases/kernel/syscalls/bind/bind01 CC testcases/kernel/syscalls/bind/bind05 CC testcases/kernel/syscalls/bind/bind04 CC testcases/kernel/syscalls/bind/bind06 CC testcases/kernel/syscalls/bpf/bpf_common.o bpf_prog02.c:129:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 129 | }; | ^ In file included from bpf_prog02.c:22: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ bpf_prog03.c:168:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 168 | }; | ^ In file included from bpf_prog03.c:27: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ bpf_map01.c:154:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 154 | }; | ^ bpf_prog01.c:111:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 111 | }; | ^ In file included from bpf_map01.c:18: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ In file included from bpf_prog01.c:27: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ bpf_prog04.c:129:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 129 | }; | ^ In file included from bpf_prog04.c:26: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ bpf_prog05.c:178:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 178 | }; | ^ In file included from bpf_prog05.c:50: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/bpf/bpf_prog01 CC testcases/kernel/syscalls/bpf/bpf_prog02 CC testcases/kernel/syscalls/bpf/bpf_prog04 CC testcases/kernel/syscalls/bpf/bpf_prog03 CC testcases/kernel/syscalls/bpf/bpf_map01 CC testcases/kernel/syscalls/bpf/bpf_prog05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/brk/brk01 CC testcases/kernel/syscalls/brk/brk02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/cacheflush/cacheflush01 capget02.c:87:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 87 | }; | ^ capget01.c:62:1: warning: missing initializer for field 'tags' of 'struct tst_test' [-Wmissing-field-initializers] 62 | }; | ^ In file included from capget02.c:19: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ In file included from capget01.c:11: ../../../../include/tst_test.h:262:24: note: 'tags' declared here 262 | const struct tst_tag *tags; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/capget/capget02 CC testcases/kernel/syscalls/capget/capget01 capset01.c:57:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 57 | }; | ^ In file included from capset01.c:12: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ capset04.c:54:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 54 | }; | ^ In file included from capset04.c:13: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ capset02.c:106:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 106 | }; | ^ In file included from capset02.c:24: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ capset03.c:51:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 51 | }; | ^ In file included from capset03.c:12: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/capset/capset01 CC testcases/kernel/syscalls/capset/capset04 CC testcases/kernel/syscalls/capset/capset02 CC testcases/kernel/syscalls/capset/capset03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/chdir/chdir04 CC testcases/kernel/syscalls/chdir/chdir01 CC testcases/kernel/syscalls/chmod/chmod01 CC testcases/kernel/syscalls/chmod/chmod02 CC testcases/kernel/syscalls/chmod/chmod03 CC testcases/kernel/syscalls/chmod/chmod04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/chmod/chmod05 CC testcases/kernel/syscalls/chmod/chmod07 CC testcases/kernel/syscalls/chmod/chmod06 CC testcases/kernel/syscalls/chown/chown01_16.o CC testcases/kernel/syscalls/chown/chown02_16.o CC testcases/kernel/syscalls/chown/chown03_16.o CC testcases/kernel/syscalls/chown/chown01.o CC testcases/kernel/syscalls/chown/chown05.o CC testcases/kernel/syscalls/chown/chown04_16.o CC testcases/kernel/syscalls/chown/chown05_16.o CC testcases/kernel/syscalls/chown/chown02.o CC testcases/kernel/syscalls/chown/chown04.o CC testcases/kernel/syscalls/chown/chown03.o LD testcases/kernel/syscalls/chown/chown04 LD testcases/kernel/syscalls/chown/chown04_16 LD testcases/kernel/syscalls/chown/chown01_16 LD testcases/kernel/syscalls/chown/chown02 LD testcases/kernel/syscalls/chown/chown03 LD testcases/kernel/syscalls/chown/chown01 LD testcases/kernel/syscalls/chown/chown05 LD testcases/kernel/syscalls/chown/chown02_16 LD testcases/kernel/syscalls/chown/chown03_16 LD testcases/kernel/syscalls/chown/chown05_16 rm chown01.o chown03.o chown02.o chown04_16.o chown05.o chown02_16.o chown01_16.o chown04.o chown03_16.o chown05_16.o CC testcases/kernel/syscalls/chroot/chroot02 CC testcases/kernel/syscalls/chroot/chroot01 CC testcases/kernel/syscalls/chroot/chroot04 CC testcases/kernel/syscalls/chroot/chroot03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/clock_adjtime/clock_adjtime02 CC testcases/kernel/syscalls/clock_adjtime/clock_adjtime01 clock_getres01.c:100:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 100 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from clock_getres01.c:15: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/clock_getres/clock_getres01 BUILD libltpvdso.a make[5]: Nothing to be done for 'all'. clock_gettime04.c:186:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 186 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_gettime04.c:24: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ clock_gettime03.c:138:1: warning: missing initializer for field 'bufs' of 'struct tst_test' [-Wmissing-field-initializers] 138 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_gettime03.c:18: ../../../../include/tst_test.h:252:22: note: 'bufs' declared here 252 | struct tst_buffers *bufs; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/clock_gettime/clock_gettime01 CC testcases/kernel/syscalls/clock_gettime/clock_gettime02 CC testcases/kernel/syscalls/clock_gettime/clock_gettime03 CC testcases/kernel/syscalls/clock_gettime/leapsec01 CC testcases/kernel/syscalls/clock_gettime/clock_gettime04 clock_nanosleep01.c:225:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 225 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_nanosleep01.c:20: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ clock_nanosleep03.c:111:1: warning: missing initializer for field 'bufs' of 'struct tst_test' [-Wmissing-field-initializers] 111 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_nanosleep03.c:18: ../../../../include/tst_test.h:252:22: note: 'bufs' declared here 252 | struct tst_buffers *bufs; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep02 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep01 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep03 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep04 clock_settime01.c:114:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 114 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from clock_settime01.c:17: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/clock_settime/clock_settime01 CC testcases/kernel/syscalls/clock_settime/clock_settime03 CC testcases/kernel/syscalls/clock_settime/clock_settime02 CC testcases/kernel/syscalls/clone/clone04 CC testcases/kernel/syscalls/clone/clone01 CC testcases/kernel/syscalls/clone/clone06 CC testcases/kernel/syscalls/clone/clone05 CC testcases/kernel/syscalls/clone/clone03 CC testcases/kernel/syscalls/clone/clone07 CC testcases/kernel/syscalls/clone/clone02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/clone/clone08 CC testcases/kernel/syscalls/clone/clone09 clone302.c:113:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 113 | }; | ^ In file included from clone302.c:16: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ clone301.c:185:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 185 | }; | ^ In file included from clone301.c:17: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/clone3/clone302 CC testcases/kernel/syscalls/clone3/clone301 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/close/close02 CC testcases/kernel/syscalls/close/close01 close_range01.c:209:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 209 | }; | ^ In file included from close_range01.c:28: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/close_range/close_range02 CC testcases/kernel/syscalls/close_range/close_range01 CC testcases/kernel/syscalls/cma/process_vm_readv02 CC testcases/kernel/syscalls/cma/process_vm_writev02 CC testcases/kernel/syscalls/cma/process_vm_readv03 CC testcases/kernel/syscalls/cma/process_vm01 CC testcases/kernel/syscalls/confstr/confstr01 connect02.c:139:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 139 | }; | ^ In file included from connect02.c:36: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/connect/connect01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/connect/connect02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/copy_file_range/copy_file_range03 CC testcases/kernel/syscalls/copy_file_range/copy_file_range02 CC testcases/kernel/syscalls/copy_file_range/copy_file_range01 creat08.c: In function 'main': creat08.c:105:25: warning: '%s' directive writing 6 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 105 | sprintf(setgid_A, "%s/%s", DIR_A, SETGID); | ^~ In file included from /usr/include/stdio.h:866, from creat08.c:47: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 157 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creat08.c:106:27: warning: '%s' directive writing 8 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 106 | sprintf(nosetgid_A, "%s/%s", DIR_A, NOSETGID); | ^~ In file included from /usr/include/stdio.h:866, from creat08.c:47: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 10 and 159 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creat08.c:107:25: warning: '%s' directive writing 6 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 107 | sprintf(setgid_B, "%s/%s", DIR_B, SETGID); | ^~ In file included from /usr/include/stdio.h:866, from creat08.c:47: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 157 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creat08.c:108:27: warning: '%s' directive writing 8 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 108 | sprintf(nosetgid_B, "%s/%s", DIR_B, NOSETGID); | ^~ In file included from /usr/include/stdio.h:866, from creat08.c:47: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 10 and 159 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creat08.c:109:30: warning: '%s' directive writing 11 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 109 | sprintf(root_setgid_B, "%s/%s", DIR_B, ROOT_SETGID); | ^~ In file included from /usr/include/stdio.h:866, from creat08.c:47: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 13 and 162 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/creat/creat07_child CC testcases/kernel/syscalls/creat/creat08 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/creat/creat01 CC testcases/kernel/syscalls/creat/creat07 CC testcases/kernel/syscalls/creat/creat06 CC testcases/kernel/syscalls/creat/creat03 CC testcases/kernel/syscalls/creat/creat05 CC testcases/kernel/syscalls/creat/creat04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/delete_module/delete_module01 CC testcases/kernel/syscalls/delete_module/delete_module02 CC testcases/kernel/syscalls/delete_module/delete_module03 CC testcases/kernel/syscalls/dup/dup06 CC testcases/kernel/syscalls/dup/dup05 CC testcases/kernel/syscalls/dup/dup07 CC testcases/kernel/syscalls/dup/dup04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/dup/dup02 CC testcases/kernel/syscalls/dup/dup01 CC testcases/kernel/syscalls/dup/dup03 CC testcases/kernel/syscalls/dup2/dup201 CC testcases/kernel/syscalls/dup2/dup205 CC testcases/kernel/syscalls/dup2/dup202 CC testcases/kernel/syscalls/dup2/dup204 CC testcases/kernel/syscalls/dup2/dup203 CC testcases/kernel/syscalls/dup3/dup3_01 CC testcases/kernel/syscalls/dup3/dup3_02 CC testcases/kernel/syscalls/epoll/epoll-ltp ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/epoll_create1/epoll_create1_01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl02 CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl01 CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait01 CC testcases/kernel/syscalls/epoll_wait/epoll_wait03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/epoll_wait/epoll_wait02 CC testcases/kernel/syscalls/epoll_wait/epoll_wait01 CC testcases/kernel/syscalls/eventfd/eventfd01 CC testcases/kernel/syscalls/eventfd2/eventfd2_03 CC testcases/kernel/syscalls/eventfd2/eventfd2_01 CC testcases/kernel/syscalls/eventfd2/eventfd2_02 CC testcases/kernel/syscalls/execl/execl01_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/execl/execl01 CC testcases/kernel/syscalls/execle/execle01_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/execle/execle01 CC testcases/kernel/syscalls/execlp/execlp01_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/execlp/execlp01 CC testcases/kernel/syscalls/execv/execv01_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/execv/execv01 execve03.c: In function 'setup': execve03.c:97:25: 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); | ^~~~~ In file included from /usr/include/stdio.h:866, from execve03.c:47: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 6 and 1029 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/execve/execve01_child CC testcases/kernel/syscalls/execve/execve_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/execve/execve01 CC testcases/kernel/syscalls/execve/execve03 CC testcases/kernel/syscalls/execve/execve05 CC testcases/kernel/syscalls/execve/execve04 CC testcases/kernel/syscalls/execve/execve02 execveat03.c:91:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 91 | }; | ^ In file included from execveat03.c:33: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ execveat01.c: In function 'setup': execveat01.c:72:28: 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); | ^~ In file included from /usr/include/stdio.h:866, from execveat01.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 24 and 535 bytes into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execveat02.c: In function 'setup': execveat02.c:80:28: 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); | ^~ In file included from /usr/include/stdio.h:866, from execveat02.c:20: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 24 and 535 bytes into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ execveat02.c:81:28: 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); | ^~ In file included from /usr/include/stdio.h:866, from execveat02.c:20: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 26 and 537 bytes into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/execveat/execveat_errno CC testcases/kernel/syscalls/execveat/execveat_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/execveat/execveat03 CC testcases/kernel/syscalls/execveat/execveat01 CC testcases/kernel/syscalls/execveat/execveat02 CC testcases/kernel/syscalls/execvp/execvp01_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/execvp/execvp01 CC testcases/kernel/syscalls/exit/exit01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/exit/exit02 CC testcases/kernel/syscalls/exit_group/exit_group01 CC testcases/kernel/syscalls/faccessat/faccessat01 CC testcases/kernel/syscalls/fadvise/posix_fadvise01_64.o CC testcases/kernel/syscalls/fadvise/posix_fadvise02_64.o CC testcases/kernel/syscalls/fadvise/posix_fadvise03_64.o CC testcases/kernel/syscalls/fadvise/posix_fadvise04_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/fadvise/posix_fadvise04_64 CC testcases/kernel/syscalls/fadvise/posix_fadvise03 LD testcases/kernel/syscalls/fadvise/posix_fadvise02_64 CC testcases/kernel/syscalls/fadvise/posix_fadvise02 CC testcases/kernel/syscalls/fadvise/posix_fadvise01 LD testcases/kernel/syscalls/fadvise/posix_fadvise03_64 CC testcases/kernel/syscalls/fadvise/posix_fadvise04 LD testcases/kernel/syscalls/fadvise/posix_fadvise01_64 rm posix_fadvise03_64.o posix_fadvise02_64.o posix_fadvise04_64.o posix_fadvise01_64.o fallocate06.c:274:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 274 | }; | ^ In file included from fallocate06.c:41: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/fallocate/fallocate03 CC testcases/kernel/syscalls/fallocate/fallocate01 CC testcases/kernel/syscalls/fallocate/fallocate02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fallocate/fallocate05 CC testcases/kernel/syscalls/fallocate/fallocate04 CC testcases/kernel/syscalls/fallocate/fallocate06 fanotify06.c:252:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 252 | }; | ^ In file included from fanotify06.c:41: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fanotify/fanotify02 fanotify09.c:381:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 381 | }; | ^ In file included from fanotify09.c:43: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/fanotify/fanotify01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fanotify/fanotify06 CC testcases/kernel/syscalls/fanotify/fanotify05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ fanotify10.c:562:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 562 | }; | ^ In file included from fanotify10.c:45: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fanotify/fanotify08 fanotify13.c:303:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 303 | }; | ^ In file included from fanotify13.c:30: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/fanotify/fanotify03 CC testcases/kernel/syscalls/fanotify/fanotify04 fanotify15.c:298:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 298 | }; | ^ In file included from fanotify15.c:27: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fanotify/fanotify07 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fanotify/fanotify11 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fanotify/fanotify09 CC testcases/kernel/syscalls/fanotify/fanotify10 CC testcases/kernel/syscalls/fanotify/fanotify12 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fanotify/fanotify_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fanotify/fanotify13 CC testcases/kernel/syscalls/fanotify/fanotify14 CC testcases/kernel/syscalls/fanotify/fanotify15 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fanotify/fanotify16 CC testcases/kernel/syscalls/fanotify/fanotify17 CC testcases/kernel/syscalls/fanotify/fanotify18 CC testcases/kernel/syscalls/fanotify/fanotify19 CC testcases/kernel/syscalls/fchdir/fchdir02 CC testcases/kernel/syscalls/fchdir/fchdir01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fchdir/fchdir03 CC testcases/kernel/syscalls/fchmod/fchmod04 CC testcases/kernel/syscalls/fchmod/fchmod03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fchmod/fchmod05 CC testcases/kernel/syscalls/fchmod/fchmod02 CC testcases/kernel/syscalls/fchmod/fchmod01 CC testcases/kernel/syscalls/fchmod/fchmod06 CC testcases/kernel/syscalls/fchmodat/fchmodat01 CC testcases/kernel/syscalls/fchown/fchown01_16.o CC testcases/kernel/syscalls/fchown/fchown02_16.o CC testcases/kernel/syscalls/fchown/fchown03_16.o CC testcases/kernel/syscalls/fchown/fchown01.o CC testcases/kernel/syscalls/fchown/fchown04_16.o CC testcases/kernel/syscalls/fchown/fchown05_16.o CC testcases/kernel/syscalls/fchown/fchown02.o CC testcases/kernel/syscalls/fchown/fchown04.o CC testcases/kernel/syscalls/fchown/fchown05.o CC testcases/kernel/syscalls/fchown/fchown03.o LD testcases/kernel/syscalls/fchown/fchown01 LD testcases/kernel/syscalls/fchown/fchown02 LD testcases/kernel/syscalls/fchown/fchown01_16 LD testcases/kernel/syscalls/fchown/fchown05 LD testcases/kernel/syscalls/fchown/fchown02_16 LD testcases/kernel/syscalls/fchown/fchown03 LD testcases/kernel/syscalls/fchown/fchown03_16 LD testcases/kernel/syscalls/fchown/fchown04 LD testcases/kernel/syscalls/fchown/fchown05_16 LD testcases/kernel/syscalls/fchown/fchown04_16 rm fchown04_16.o fchown05.o fchown02_16.o fchown02.o fchown03_16.o fchown03.o fchown04.o fchown01.o fchown05_16.o fchown01_16.o CC testcases/kernel/syscalls/fchownat/fchownat01 CC testcases/kernel/syscalls/fchownat/fchownat02 fcntl06.c: In function 'main': fcntl06.c:74:6: warning: variable 'fail' set but not used [-Wunused-but-set-variable] 74 | int fail = 0; | ^~~~ CC testcases/kernel/syscalls/fcntl/fcntl06 CC testcases/kernel/syscalls/fcntl/fcntl05 CC testcases/kernel/syscalls/fcntl/fcntl01 CC testcases/kernel/syscalls/fcntl/fcntl08 CC testcases/kernel/syscalls/fcntl/fcntl07 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fcntl/fcntl09 fcntl14.c: In function 'run_test': fcntl14.c:826:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 826 | (void)sighold(SIGUSR1); | ^ In file included from fcntl14.c:46: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ fcntl14.c:854:4: warning: 'sigpause' is deprecated: Use the sigsuspend function instead [-Wdeprecated-declarations] 854 | sigpause(SIGUSR1); | ^~~~~~~~ In file included from fcntl14.c:46: /usr/include/signal.h:151:12: note: declared here 151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") | ^~~~~~~~ fcntl14.c: In function 'main': fcntl14.c:1079:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1079 | if (sighold(SIGUSR1) < 0) | ^~ In file included from fcntl14.c:46: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ fcntl14.c:1105:3: warning: 'sigpause' is deprecated: Use the sigsuspend function instead [-Wdeprecated-declarations] 1105 | (void)sigpause(SIGUSR1); | ^ In file included from fcntl14.c:46: /usr/include/signal.h:151:12: note: declared here 151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") | ^~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl13 CC testcases/kernel/syscalls/fcntl/fcntl10 CC testcases/kernel/syscalls/fcntl/fcntl12 fcntl17.c: In function 'catch_alarm': fcntl17.c:414:2: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 414 | sighold(SIGCHLD); | ^~~~~~~ In file included from fcntl17.c:50: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl11 CC testcases/kernel/syscalls/fcntl/fcntl02 CC testcases/kernel/syscalls/fcntl/fcntl03 CC testcases/kernel/syscalls/fcntl/fcntl04 CC testcases/kernel/syscalls/fcntl/fcntl14 CC testcases/kernel/syscalls/fcntl/fcntl18 CC testcases/kernel/syscalls/fcntl/fcntl16 CC testcases/kernel/syscalls/fcntl/fcntl15 CC testcases/kernel/syscalls/fcntl/fcntl17 CC testcases/kernel/syscalls/fcntl/fcntl19 CC testcases/kernel/syscalls/fcntl/fcntl22 CC testcases/kernel/syscalls/fcntl/fcntl20 CC testcases/kernel/syscalls/fcntl/fcntl23 CC testcases/kernel/syscalls/fcntl/fcntl24 CC testcases/kernel/syscalls/fcntl/fcntl21 CC testcases/kernel/syscalls/fcntl/fcntl25 CC testcases/kernel/syscalls/fcntl/fcntl26 fcntl33.c:229:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 229 | }; | ^ In file included from fcntl33.c:21: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl27 CC testcases/kernel/syscalls/fcntl/fcntl28 fcntl35.c:128:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 128 | }; | ^ In file included from fcntl35.c:33: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl29 fcntl37.c:98:1: warning: missing initializer for field 'tags' of 'struct tst_test' [-Wmissing-field-initializers] 98 | }; | ^ CC testcases/kernel/syscalls/fcntl/fcntl30 In file included from fcntl37.c:21: ../../../../include/tst_test.h:262:24: note: 'tags' declared here 262 | const struct tst_tag *tags; | ^~~~ CC testcases/kernel/syscalls/fcntl/fcntl32 CC testcases/kernel/syscalls/fcntl/fcntl01_64.o CC testcases/kernel/syscalls/fcntl/fcntl31 CC testcases/kernel/syscalls/fcntl/fcntl02_64.o CC testcases/kernel/syscalls/fcntl/fcntl03_64.o CC testcases/kernel/syscalls/fcntl/fcntl04_64.o CC testcases/kernel/syscalls/fcntl/fcntl05_64.o CC testcases/kernel/syscalls/fcntl/fcntl06_64.o fcntl06.c: In function 'main': fcntl06.c:74:6: warning: variable 'fail' set but not used [-Wunused-but-set-variable] 74 | int fail = 0; | ^~~~ CC testcases/kernel/syscalls/fcntl/fcntl07_64.o CC testcases/kernel/syscalls/fcntl/fcntl08_64.o 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 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fcntl/fcntl13_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fcntl/fcntl14_64.o CC testcases/kernel/syscalls/fcntl/fcntl15_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ fcntl14.c: In function 'run_test': fcntl14.c:826:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 826 | (void)sighold(SIGUSR1); | ^ In file included from fcntl14.c:46: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ fcntl14.c:854:4: warning: 'sigpause' is deprecated: Use the sigsuspend function instead [-Wdeprecated-declarations] 854 | sigpause(SIGUSR1); | ^~~~~~~~ In file included from fcntl14.c:46: /usr/include/signal.h:151:12: note: declared here 151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") | ^~~~~~~~ fcntl14.c: In function 'main': fcntl14.c:1079:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1079 | if (sighold(SIGUSR1) < 0) | ^~ In file included from fcntl14.c:46: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ fcntl14.c:1105:3: warning: 'sigpause' is deprecated: Use the sigsuspend function instead [-Wdeprecated-declarations] 1105 | (void)sigpause(SIGUSR1); | ^ In file included from fcntl14.c:46: /usr/include/signal.h:151:12: note: declared here 151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") | ^~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl16_64.o CC testcases/kernel/syscalls/fcntl/fcntl17_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ fcntl17.c: In function 'catch_alarm': fcntl17.c:414:2: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 414 | sighold(SIGCHLD); | ^~~~~~~ In file included from fcntl17.c:50: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl18_64.o CC testcases/kernel/syscalls/fcntl/fcntl19_64.o CC testcases/kernel/syscalls/fcntl/fcntl33 CC testcases/kernel/syscalls/fcntl/fcntl20_64.o CC testcases/kernel/syscalls/fcntl/fcntl34 CC testcases/kernel/syscalls/fcntl/fcntl35 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/fcntl38 CC testcases/kernel/syscalls/fcntl/fcntl27_64.o CC testcases/kernel/syscalls/fcntl/fcntl28_64.o CC testcases/kernel/syscalls/fcntl/fcntl29_64.o CC testcases/kernel/syscalls/fcntl/fcntl30_64.o CC testcases/kernel/syscalls/fcntl/fcntl31_64.o CC testcases/kernel/syscalls/fcntl/fcntl32_64.o CC testcases/kernel/syscalls/fcntl/fcntl33_64.o fcntl33.c:229:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 229 | }; | ^ In file included from fcntl33.c:21: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl36 CC testcases/kernel/syscalls/fcntl/fcntl37 CC testcases/kernel/syscalls/fcntl/fcntl34_64.o CC testcases/kernel/syscalls/fcntl/fcntl35_64.o CC testcases/kernel/syscalls/fcntl/fcntl36_64.o CC testcases/kernel/syscalls/fcntl/fcntl37_64.o CC testcases/kernel/syscalls/fcntl/fcntl38_64.o fcntl35.c:128:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 128 | }; | ^ In file included from fcntl35.c:33: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ fcntl37.c:98:1: warning: missing initializer for field 'tags' of 'struct tst_test' [-Wmissing-field-initializers] 98 | }; | ^ In file included from fcntl37.c:21: ../../../../include/tst_test.h:262:24: note: 'tags' declared here 262 | const struct tst_tag *tags; | ^~~~ LD testcases/kernel/syscalls/fcntl/fcntl01_64 LD testcases/kernel/syscalls/fcntl/fcntl05_64 LD testcases/kernel/syscalls/fcntl/fcntl07_64 LD testcases/kernel/syscalls/fcntl/fcntl06_64 LD testcases/kernel/syscalls/fcntl/fcntl08_64 LD testcases/kernel/syscalls/fcntl/fcntl09_64 LD testcases/kernel/syscalls/fcntl/fcntl10_64 LD testcases/kernel/syscalls/fcntl/fcntl11_64 LD testcases/kernel/syscalls/fcntl/fcntl13_64 LD testcases/kernel/syscalls/fcntl/fcntl12_64 LD testcases/kernel/syscalls/fcntl/fcntl03_64 LD testcases/kernel/syscalls/fcntl/fcntl04_64 LD testcases/kernel/syscalls/fcntl/fcntl02_64 LD testcases/kernel/syscalls/fcntl/fcntl14_64 LD testcases/kernel/syscalls/fcntl/fcntl15_64 LD testcases/kernel/syscalls/fcntl/fcntl16_64 LD testcases/kernel/syscalls/fcntl/fcntl18_64 LD testcases/kernel/syscalls/fcntl/fcntl17_64 LD testcases/kernel/syscalls/fcntl/fcntl19_64 LD testcases/kernel/syscalls/fcntl/fcntl22_64 LD testcases/kernel/syscalls/fcntl/fcntl20_64 LD testcases/kernel/syscalls/fcntl/fcntl21_64 LD testcases/kernel/syscalls/fcntl/fcntl23_64 LD testcases/kernel/syscalls/fcntl/fcntl24_64 LD testcases/kernel/syscalls/fcntl/fcntl25_64 LD testcases/kernel/syscalls/fcntl/fcntl26_64 LD testcases/kernel/syscalls/fcntl/fcntl27_64 LD testcases/kernel/syscalls/fcntl/fcntl28_64 LD testcases/kernel/syscalls/fcntl/fcntl30_64 LD testcases/kernel/syscalls/fcntl/fcntl29_64 LD testcases/kernel/syscalls/fcntl/fcntl31_64 LD testcases/kernel/syscalls/fcntl/fcntl32_64 LD testcases/kernel/syscalls/fcntl/fcntl33_64 LD testcases/kernel/syscalls/fcntl/fcntl35_64 LD testcases/kernel/syscalls/fcntl/fcntl34_64 LD testcases/kernel/syscalls/fcntl/fcntl37_64 LD testcases/kernel/syscalls/fcntl/fcntl36_64 LD testcases/kernel/syscalls/fcntl/fcntl38_64 rm fcntl35_64.o fcntl08_64.o fcntl03_64.o fcntl23_64.o fcntl29_64.o fcntl25_64.o fcntl30_64.o fcntl34_64.o fcntl37_64.o fcntl19_64.o fcntl14_64.o fcntl20_64.o fcntl21_64.o fcntl31_64.o fcntl15_64.o fcntl07_64.o fcntl12_64.o fcntl26_64.o fcntl10_64.o fcntl22_64.o fcntl13_64.o fcntl11_64.o fcntl02_64.o fcntl06_64.o fcntl17_64.o fcntl38_64.o fcntl24_64.o fcntl16_64.o fcntl04_64.o fcntl28_64.o fcntl18_64.o fcntl09_64.o fcntl33_64.o fcntl32_64.o fcntl05_64.o fcntl27_64.o fcntl36_64.o fcntl01_64.o fdatasync03.c:65:1: warning: missing initializer for field 'scall' of 'struct tst_test' [-Wmissing-field-initializers] 65 | }; | ^ In file included from fdatasync03.c:20: ../../../../include/tst_test.h:226:14: note: 'scall' declared here 226 | const char *scall; | ^~~~~ CC testcases/kernel/syscalls/fdatasync/fdatasync01 CC testcases/kernel/syscalls/fdatasync/fdatasync02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fdatasync/fdatasync03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fgetxattr/fgetxattr03 CC testcases/kernel/syscalls/fgetxattr/fgetxattr01 CC testcases/kernel/syscalls/fgetxattr/fgetxattr02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/finit_module/finit_module01 CC testcases/kernel/syscalls/finit_module/finit_module02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/flistxattr/flistxattr01 CC testcases/kernel/syscalls/flistxattr/flistxattr02 CC testcases/kernel/syscalls/flistxattr/flistxattr03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/flock/flock01 CC testcases/kernel/syscalls/flock/flock06 CC testcases/kernel/syscalls/flock/flock03 CC testcases/kernel/syscalls/flock/flock04 CC testcases/kernel/syscalls/flock/flock02 CC testcases/kernel/syscalls/fmtmsg/fmtmsg01 CC testcases/kernel/syscalls/fork/fork05 CC testcases/kernel/syscalls/fork/fork02 CC testcases/kernel/syscalls/fork/fork01 CC testcases/kernel/syscalls/fork/fork04 CC testcases/kernel/syscalls/fork/fork06 CC testcases/kernel/syscalls/fork/fork07 CC testcases/kernel/syscalls/fork/fork08 CC testcases/kernel/syscalls/fork/fork03 CC testcases/kernel/syscalls/fork/fork09 CC testcases/kernel/syscalls/fork/fork11 CC testcases/kernel/syscalls/fork/fork12 CC testcases/kernel/syscalls/fork/fork10 CC testcases/kernel/syscalls/fork/fork13 CC testcases/kernel/syscalls/fork/fork14 CC testcases/kernel/syscalls/fpathconf/fpathconf01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fremovexattr/fremovexattr01 CC testcases/kernel/syscalls/fremovexattr/fremovexattr02 fsconfig01.c:93:1: warning: missing initializer for field 'scall' of 'struct tst_test' [-Wmissing-field-initializers] 93 | }; | ^ In file included from fsconfig01.c:8: ../../../../include/tst_test.h:226:14: note: 'scall' declared here 226 | const char *scall; | ^~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fsconfig/fsconfig02 CC testcases/kernel/syscalls/fsconfig/fsconfig01 fsetxattr02.c:256:1: warning: missing initializer for field 'save_restore' of 'struct tst_test' [-Wmissing-field-initializers] 256 | }; | ^ In file included from fsetxattr02.c:44: ../../../../include/tst_test.h:241:22: note: 'save_restore' declared here 241 | const char * const *save_restore; | ^~~~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fsetxattr/fsetxattr01 CC testcases/kernel/syscalls/fsetxattr/fsetxattr02 fsmount02.c:80:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 80 | }; | ^ fsmount01.c:99:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 99 | }; | ^ In file included from fsmount02.c:7: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ In file included from fsmount01.c:9: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fsmount/fsmount01 CC testcases/kernel/syscalls/fsmount/fsmount02 fsopen01.c:80:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 80 | }; | ^ In file included from fsopen01.c:8: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fsopen/fsopen02 CC testcases/kernel/syscalls/fsopen/fsopen01 fspick02.c:54:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 54 | }; | ^ In file included from fspick02.c:7: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ fspick01.c:67:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 67 | }; | ^ In file included from fspick01.c:7: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fspick/fspick02 CC testcases/kernel/syscalls/fspick/fspick01 CC testcases/kernel/syscalls/fstat/fstat02_64.o CC testcases/kernel/syscalls/fstat/fstat03_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fstat/fstat02 LD testcases/kernel/syscalls/fstat/fstat03_64 LD testcases/kernel/syscalls/fstat/fstat02_64 CC testcases/kernel/syscalls/fstat/fstat03 rm fstat02_64.o fstat03_64.o CC testcases/kernel/syscalls/fstatat/fstatat01 CC testcases/kernel/syscalls/fstatfs/fstatfs01_64.o CC testcases/kernel/syscalls/fstatfs/fstatfs02_64.o CC testcases/kernel/syscalls/fstatfs/fstatfs02 CC testcases/kernel/syscalls/fstatfs/fstatfs01 LD testcases/kernel/syscalls/fstatfs/fstatfs02_64 LD testcases/kernel/syscalls/fstatfs/fstatfs01_64 rm fstatfs02_64.o fstatfs01_64.o fsync04.c:65:1: warning: missing initializer for field 'scall' of 'struct tst_test' [-Wmissing-field-initializers] 65 | }; | ^ In file included from fsync04.c:20: ../../../../include/tst_test.h:226:14: note: 'scall' declared here 226 | const char *scall; | ^~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/fsync/fsync03 CC testcases/kernel/syscalls/fsync/fsync02 CC testcases/kernel/syscalls/fsync/fsync01 CC testcases/kernel/syscalls/fsync/fsync04 CC testcases/kernel/syscalls/ftruncate/ftruncate01_64.o CC testcases/kernel/syscalls/ftruncate/ftruncate03_64.o CC testcases/kernel/syscalls/ftruncate/ftruncate04_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ftruncate/ftruncate03 CC testcases/kernel/syscalls/ftruncate/ftruncate01 CC testcases/kernel/syscalls/ftruncate/ftruncate04 LD testcases/kernel/syscalls/ftruncate/ftruncate03_64 LD testcases/kernel/syscalls/ftruncate/ftruncate01_64 LD testcases/kernel/syscalls/ftruncate/ftruncate04_64 rm ftruncate03_64.o ftruncate01_64.o ftruncate04_64.o futex_cmp_requeue02.c:98:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 98 | }; | ^ In file included from futex_cmp_requeue02.c:19: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/futex/futex_wait02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/futex/futex_cmp_requeue01 CC testcases/kernel/syscalls/futex/futex_wait01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/futex/futex_wait_bitset01 CC testcases/kernel/syscalls/futex/futex_wait03 CC testcases/kernel/syscalls/futex/futex_cmp_requeue02 CC testcases/kernel/syscalls/futex/futex_wait05 CC testcases/kernel/syscalls/futex/futex_wait04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/futex/futex_wake01 CC testcases/kernel/syscalls/futex/futex_wake03 CC testcases/kernel/syscalls/futex/futex_wake02 CC testcases/kernel/syscalls/futex/futex_wake04 CC testcases/kernel/syscalls/futimesat/futimesat01 BUILD libltpnuma.a make[5]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/get_mempolicy/get_mempolicy02 CC testcases/kernel/syscalls/get_mempolicy/get_mempolicy01 CC testcases/kernel/syscalls/get_robust_list/get_robust_list01 CC testcases/kernel/syscalls/getcontext/getcontext01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getcpu/getcpu01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getcwd/getcwd01 CC testcases/kernel/syscalls/getcwd/getcwd04 CC testcases/kernel/syscalls/getcwd/getcwd02 CC testcases/kernel/syscalls/getcwd/getcwd03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getdents/getdents02 CC testcases/kernel/syscalls/getdents/getdents01 CC testcases/kernel/syscalls/getdomainname/getdomainname01 CC testcases/kernel/syscalls/getdtablesize/getdtablesize01 CC testcases/kernel/syscalls/getegid/getegid01_16.o CC testcases/kernel/syscalls/getegid/getegid02_16.o CC testcases/kernel/syscalls/getegid/getegid01.o CC testcases/kernel/syscalls/getegid/getegid02.o LD testcases/kernel/syscalls/getegid/getegid02_16 LD testcases/kernel/syscalls/getegid/getegid01 LD testcases/kernel/syscalls/getegid/getegid02 LD testcases/kernel/syscalls/getegid/getegid01_16 rm getegid01.o getegid01_16.o getegid02_16.o getegid02.o CC testcases/kernel/syscalls/geteuid/geteuid01_16.o CC testcases/kernel/syscalls/geteuid/geteuid02_16.o CC testcases/kernel/syscalls/geteuid/geteuid01.o CC testcases/kernel/syscalls/geteuid/geteuid02.o LD testcases/kernel/syscalls/geteuid/geteuid01 LD testcases/kernel/syscalls/geteuid/geteuid01_16 LD testcases/kernel/syscalls/geteuid/geteuid02_16 LD testcases/kernel/syscalls/geteuid/geteuid02 rm geteuid01_16.o geteuid02_16.o geteuid01.o geteuid02.o CC testcases/kernel/syscalls/getgid/getgid01_16.o CC testcases/kernel/syscalls/getgid/getgid03_16.o CC testcases/kernel/syscalls/getgid/getgid01.o CC testcases/kernel/syscalls/getgid/getgid03.o LD testcases/kernel/syscalls/getgid/getgid03_16 LD testcases/kernel/syscalls/getgid/getgid01_16 LD testcases/kernel/syscalls/getgid/getgid01 LD testcases/kernel/syscalls/getgid/getgid03 rm getgid01.o getgid03_16.o getgid01_16.o getgid03.o CC testcases/kernel/syscalls/getgroups/getgroups01_16.o 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/getgroups03_16 LD testcases/kernel/syscalls/getgroups/getgroups01_16 LD testcases/kernel/syscalls/getgroups/getgroups01 LD testcases/kernel/syscalls/getgroups/getgroups03 rm getgroups01.o getgroups01_16.o getgroups03_16.o getgroups03.o CC testcases/kernel/syscalls/gethostbyname_r/gethostbyname_r01 In file included from /usr/include/string.h:532, from gethostid01.c:122: In function 'strncpy', inlined from 'main' at gethostid01.c:214:5: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gethostid01.c: In function 'main': gethostid01.c:215:6: note: length computed here 215 | strlen(hostid) + 1); | ^~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at gethostid01.c:214:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ gethostid01.c: In function 'main': gethostid01.c:215:6: note: length computed here 215 | strlen(hostid) + 1); | ^ CC testcases/kernel/syscalls/gethostid/gethostid01 CC testcases/kernel/syscalls/gethostname/gethostname01 CC testcases/kernel/syscalls/getitimer/getitimer02 CC testcases/kernel/syscalls/getitimer/getitimer03 CC testcases/kernel/syscalls/getitimer/getitimer01 CC testcases/kernel/syscalls/getpagesize/getpagesize01 CC testcases/kernel/syscalls/getpeername/getpeername01 CC testcases/kernel/syscalls/getpgid/getpgid02 CC testcases/kernel/syscalls/getpgid/getpgid01 CC testcases/kernel/syscalls/getpgrp/getpgrp01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getpid/getpid01 CC testcases/kernel/syscalls/getpid/getpid02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getppid/getppid01 CC testcases/kernel/syscalls/getppid/getppid02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getpriority/getpriority01 CC testcases/kernel/syscalls/getpriority/getpriority02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getrandom/getrandom03 CC testcases/kernel/syscalls/getrandom/getrandom02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getrandom/getrandom01 CC testcases/kernel/syscalls/getrandom/getrandom04 CC testcases/kernel/syscalls/getresgid/getresgid01_16.o CC testcases/kernel/syscalls/getresgid/getresgid02_16.o CC testcases/kernel/syscalls/getresgid/getresgid03_16.o CC testcases/kernel/syscalls/getresgid/getresgid01.o CC testcases/kernel/syscalls/getresgid/getresgid03.o CC testcases/kernel/syscalls/getresgid/getresgid02.o LD testcases/kernel/syscalls/getresgid/getresgid03_16 LD testcases/kernel/syscalls/getresgid/getresgid01 LD testcases/kernel/syscalls/getresgid/getresgid03 LD testcases/kernel/syscalls/getresgid/getresgid02_16 LD testcases/kernel/syscalls/getresgid/getresgid01_16 LD testcases/kernel/syscalls/getresgid/getresgid02 rm getresgid03.o getresgid03_16.o getresgid01_16.o getresgid02_16.o getresgid01.o getresgid02.o CC testcases/kernel/syscalls/getresuid/getresuid01_16.o CC testcases/kernel/syscalls/getresuid/getresuid02_16.o CC testcases/kernel/syscalls/getresuid/getresuid03_16.o CC testcases/kernel/syscalls/getresuid/getresuid01.o CC testcases/kernel/syscalls/getresuid/getresuid02.o CC testcases/kernel/syscalls/getresuid/getresuid03.o LD testcases/kernel/syscalls/getresuid/getresuid03_16 LD testcases/kernel/syscalls/getresuid/getresuid02_16 LD testcases/kernel/syscalls/getresuid/getresuid01 LD testcases/kernel/syscalls/getresuid/getresuid01_16 LD testcases/kernel/syscalls/getresuid/getresuid02 LD testcases/kernel/syscalls/getresuid/getresuid03 rm getresuid02_16.o getresuid02.o getresuid01_16.o getresuid01.o getresuid03.o getresuid03_16.o CC testcases/kernel/syscalls/getrlimit/getrlimit01 CC testcases/kernel/syscalls/getrlimit/getrlimit02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getrlimit/getrlimit03 CC testcases/kernel/syscalls/getrusage/getrusage01 CC testcases/kernel/syscalls/getrusage/getrusage02 CC testcases/kernel/syscalls/getrusage/getrusage03_child CC testcases/kernel/syscalls/getrusage/getrusage04 CC testcases/kernel/syscalls/getrusage/getrusage03 CC testcases/kernel/syscalls/getsid/getsid01 CC testcases/kernel/syscalls/getsid/getsid02 CC testcases/kernel/syscalls/getsockname/getsockname01 CC testcases/kernel/syscalls/getsockopt/getsockopt01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getsockopt/getsockopt02 CC testcases/kernel/syscalls/gettid/gettid01 CC testcases/kernel/syscalls/gettimeofday/gettimeofday01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/gettimeofday/gettimeofday02 CC testcases/kernel/syscalls/getuid/getuid01_16.o CC testcases/kernel/syscalls/getuid/getuid03_16.o CC testcases/kernel/syscalls/getuid/getuid03.o CC testcases/kernel/syscalls/getuid/getuid01.o LD testcases/kernel/syscalls/getuid/getuid03 LD testcases/kernel/syscalls/getuid/getuid01_16 LD testcases/kernel/syscalls/getuid/getuid03_16 LD testcases/kernel/syscalls/getuid/getuid01 rm getuid03.o getuid03_16.o getuid01.o getuid01_16.o getxattr04.c:120:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 120 | }; | ^ In file included from getxattr04.c:33: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/getxattr/getxattr01 CC testcases/kernel/syscalls/getxattr/getxattr03 CC testcases/kernel/syscalls/getxattr/getxattr02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/getxattr/getxattr05 CC testcases/kernel/syscalls/getxattr/getxattr04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/init_module/init_module01 CC testcases/kernel/syscalls/init_module/init_module02 inotify02.c: In function 'verify_inotify': inotify02.c:99:32: 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); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from inotify02.c:15: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 264 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inotify02.c:116:32: 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); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from inotify02.c:15: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 264 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/inotify/inotify01 inotify09.c:101:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 101 | }; | ^ In file included from inotify09.c:30: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/inotify/inotify08 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/inotify/inotify07 inotify10.c:215:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 215 | }; | ^ In file included from inotify10.c:24: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/inotify/inotify03 CC testcases/kernel/syscalls/inotify/inotify05 CC testcases/kernel/syscalls/inotify/inotify06 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/inotify/inotify02 CC testcases/kernel/syscalls/inotify/inotify04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/inotify/inotify09 CC testcases/kernel/syscalls/inotify/inotify10 CC testcases/kernel/syscalls/inotify_init/inotify_init1_01 CC testcases/kernel/syscalls/inotify_init/inotify_init1_02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/io_cancel/io_cancel01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/io_destroy/io_destroy01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/io_getevents/io_getevents01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/io_pgetevents/io_pgetevents01 CC testcases/kernel/syscalls/io_pgetevents/io_pgetevents02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/io_setup/io_setup01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/io_submit/io_submit01 io_uring01.c:268:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 268 | }; | ^ In file included from io_uring01.c:19: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ io_uring02.c:267:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 267 | }; | ^ In file included from io_uring02.c:33: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/io_uring/io_uring01 CC testcases/kernel/syscalls/io_uring/io_uring02 ioctl01.c:113:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 113 | }; | ^ In file included from ioctl01.c:22: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ ioctl08.c:130:1: warning: missing initializer for field 'save_restore' of 'struct tst_test' [-Wmissing-field-initializers] 130 | }; | ^ In file included from ioctl08.c:23: ../../../../include/tst_test.h:241:22: note: 'save_restore' declared here 241 | const char * const *save_restore; | ^~~~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl08 ioctl_loop02.c:164:1: warning: missing initializer for field 'save_restore' of 'struct tst_test' [-Wmissing-field-initializers] 164 | }; | ^ In file included from ioctl_loop02.c:24: ../../../../include/tst_test.h:241:22: note: 'save_restore' declared here 241 | const char * const *save_restore; | ^~~~~~~~~~~~ CC testcases/kernel/syscalls/ioctl/ioctl03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ioctl_loop03.c:75:1: warning: missing initializer for field 'save_restore' of 'struct tst_test' [-Wmissing-field-initializers] 75 | }; | ^ In file included from ioctl_loop03.c:16: ../../../../include/tst_test.h:241:22: note: 'save_restore' declared here 241 | const char * const *save_restore; | ^~~~~~~~~~~~ CC testcases/kernel/syscalls/ioctl/ioctl04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ioctl_loop04.c:98:1: warning: missing initializer for field 'save_restore' of 'struct tst_test' [-Wmissing-field-initializers] 98 | }; | ^ In file included from ioctl_loop04.c:17: ../../../../include/tst_test.h:241:22: note: 'save_restore' declared here 241 | const char * const *save_restore; | ^~~~~~~~~~~~ CC testcases/kernel/syscalls/ioctl/ioctl07 ioctl_loop05.c:157:1: warning: missing initializer for field 'save_restore' of 'struct tst_test' [-Wmissing-field-initializers] 157 | }; | ^ In file included from ioctl_loop05.c:30: ../../../../include/tst_test.h:241:22: note: 'save_restore' declared here 241 | const char * const *save_restore; | ^~~~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl01 CC testcases/kernel/syscalls/ioctl/ioctl06 ioctl_loop06.c:143:1: warning: missing initializer for field 'save_restore' of 'struct tst_test' [-Wmissing-field-initializers] 143 | }; | ^ In file included from ioctl_loop06.c:15: ../../../../include/tst_test.h:241:22: note: 'save_restore' declared here 241 | const char * const *save_restore; | ^~~~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ioctl_loop07.c:165:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 165 | }; | ^ In file included from ioctl_loop07.c:22: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/ioctl/ioctl_loop01 CC testcases/kernel/syscalls/ioctl/ioctl_loop04 CC testcases/kernel/syscalls/ioctl/ioctl09 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl_loop02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl_loop06 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl_loop03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl_loop05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl_ns02 ioctl_sg01.c:134:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 134 | }; | ^ CC testcases/kernel/syscalls/ioctl/ioctl_ns04 In file included from ioctl_sg01.c:29: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/ioctl/ioctl_ns03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl_loop07 CC testcases/kernel/syscalls/ioctl/ioctl_ns01 CC testcases/kernel/syscalls/ioctl/ioctl_ns06 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioctl/ioctl_ns05 CC testcases/kernel/syscalls/ioctl/ioctl_ns07 CC testcases/kernel/syscalls/ioctl/ioctl_sg01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioperm/ioperm01 CC testcases/kernel/syscalls/ioperm/ioperm02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/iopl/iopl01 CC testcases/kernel/syscalls/iopl/iopl02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ioprio/ioprio_get01 CC testcases/kernel/syscalls/ioprio/ioprio_set02 CC testcases/kernel/syscalls/ioprio/ioprio_set01 CC testcases/kernel/syscalls/ioprio/ioprio_set03 BUILD libltpnewipc.a make[6]: Nothing to be done for 'all'. ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/msgctl/msgctl05 CC testcases/kernel/syscalls/ipc/msgctl/msgctl01 CC testcases/kernel/syscalls/ipc/msgctl/msgctl04 CC testcases/kernel/syscalls/ipc/msgctl/msgctl12 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/msgctl/msgctl02 CC testcases/kernel/syscalls/ipc/msgctl/msgctl06 CC testcases/kernel/syscalls/ipc/msgctl/msgctl03 BUILD libltpnewipc.a make[6]: Nothing to be done for 'all'. ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/msgget/msgget03 CC testcases/kernel/syscalls/ipc/msgget/msgget01 CC testcases/kernel/syscalls/ipc/msgget/msgget04 CC testcases/kernel/syscalls/ipc/msgget/msgget02 CC testcases/kernel/syscalls/ipc/msgget/msgget05 BUILD libltpnewipc.a make[6]: Nothing to be done for 'all'. msgrcv08.c:84:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 84 | }; | ^ In file included from msgrcv08.c:28: ../../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv02 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv03 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv05 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv06 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv07 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv01 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv08 BUILD libltpnewipc.a make[6]: Nothing to be done for 'all'. ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd02 CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd06 CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd01 CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd05 BUILD libltpipc.a make[6]: Nothing to be done for 'all'. msgstress01.c: In function 'dotest': msgstress01.c:207:2: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 207 | sighold(SIGTERM); | ^~~~~~~ In file included from msgstress01.c:27: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ msgstress01.c:216:2: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 216 | sigrelse(SIGTERM); | ^~~~~~~~ In file included from msgstress01.c:27: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ msgstress02.c: In function 'main': msgstress02.c:134:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 134 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /usr/include/sys/wait.h:36, from msgstress02.c:31: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ msgstress02.c: In function 'dotest': msgstress02.c:239:2: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 239 | sighold(SIGTERM); | ^~~~~~~ In file included from /usr/include/sys/wait.h:36, from msgstress02.c:31: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ msgstress02.c:246:2: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 246 | sigrelse(SIGTERM); | ^~~~~~~~ In file included from /usr/include/sys/wait.h:36, from msgstress02.c:31: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ msgstress04.c: In function 'main': msgstress04.c:139:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 139 | if (sigset(SIGTERM, term) == SIG_ERR) | ^~ In file included from /usr/include/sys/wait.h:36, from msgstress04.c:32: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ msgstress04.c: In function 'dotest': msgstress04.c:266:2: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 266 | sighold(SIGTERM); | ^~~~~~~ In file included from /usr/include/sys/wait.h:36, from msgstress04.c:32: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ msgstress04.c:273:2: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 273 | sigrelse(SIGTERM); | ^~~~~~~~ In file included from /usr/include/sys/wait.h:36, from msgstress04.c:32: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ msgstress03.c: In function 'dotest': msgstress03.c:204:2: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 204 | sighold(SIGTERM); | ^~~~~~~ In file included from msgstress03.c:28: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ msgstress03.c:212:2: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 212 | sigrelse(SIGTERM); | ^~~~~~~~ In file included from msgstress03.c:28: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ CC testcases/kernel/syscalls/ipc/msgstress/msgstress01 CC testcases/kernel/syscalls/ipc/msgstress/msgstress03 CC testcases/kernel/syscalls/ipc/msgstress/msgstress04 CC testcases/kernel/syscalls/ipc/msgstress/msgstress02 BUILD libltpipc.a BUILD libltpnewipc.a make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/semctl/semctl06 semctl09.c:229:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 229 | }; | ^ In file included from semctl09.c:43: ../../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/semctl/semctl03 CC testcases/kernel/syscalls/ipc/semctl/semctl02 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/semctl/semctl09 CC testcases/kernel/syscalls/ipc/semctl/semctl07 CC testcases/kernel/syscalls/ipc/semctl/semctl01 CC testcases/kernel/syscalls/ipc/semctl/semctl05 CC testcases/kernel/syscalls/ipc/semctl/semctl04 CC testcases/kernel/syscalls/ipc/semctl/semctl08 BUILD libltpipc.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/semget/semget06 CC testcases/kernel/syscalls/ipc/semget/semget03 CC testcases/kernel/syscalls/ipc/semget/semget05 CC testcases/kernel/syscalls/ipc/semget/semget02 CC testcases/kernel/syscalls/ipc/semget/semget01 BUILD libltpnewipc.a make[6]: Nothing to be done for 'all'. ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/semop/semop01 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/semop/semop03 CC testcases/kernel/syscalls/ipc/semop/semop02 BUILD libltpnewipc.a make[6]: Nothing to be done for 'all'. shmat03.c:109:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 109 | }; | ^ In file included from shmat03.c:43: ../../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/shmat/shmat01 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/shmat/shmat03 CC testcases/kernel/syscalls/ipc/shmat/shmat02 BUILD libltpipc.a BUILD libltpnewipc.a make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. shmctl08.c: In function 'check_mode': shmctl05.c:107:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 107 | }; | ^ In file included from shmctl05.c:21: ../../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ shmctl08.c:41:24: warning: comparison of integer expressions of different signedness: '__mode_t' {aka 'unsigned int'} and 'short int' [-Wsign-compare] 41 | if (ds->shm_perm.mode == exp_mode) { | ^~ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/shmctl/shmctl02 CC testcases/kernel/syscalls/ipc/shmctl/shmctl04 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/shmctl/shmctl06 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/shmctl/shmctl03 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ipc/shmctl/shmctl05 CC testcases/kernel/syscalls/ipc/shmctl/shmctl07 CC testcases/kernel/syscalls/ipc/shmctl/shmctl01 CC testcases/kernel/syscalls/ipc/shmctl/shmctl08 BUILD libltpipc.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/shmdt/shmdt02 CC testcases/kernel/syscalls/ipc/shmdt/shmdt01 BUILD libltpipc.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/shmget/shmget05 CC testcases/kernel/syscalls/ipc/shmget/shmget02 CC testcases/kernel/syscalls/ipc/shmget/shmget03 CC testcases/kernel/syscalls/ipc/shmget/shmget01 CC testcases/kernel/syscalls/ipc/shmget/shmget04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/kcmp/kcmp02 CC testcases/kernel/syscalls/kcmp/kcmp01 CC testcases/kernel/syscalls/kcmp/kcmp03 keyctl03.c:48:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 48 | }; | ^ In file included from keyctl03.c:22: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ keyctl04.c:51:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 51 | }; | ^ In file included from keyctl04.c:19: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ keyctl07.c:111:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 111 | }; | ^ In file included from keyctl07.c:15: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ keyctl02.c:143:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 143 | }; | ^ In file included from keyctl02.c:31: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ keyctl05.c:228:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 228 | }; | ^ In file included from keyctl05.c:31: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ keyctl06.c:70:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 70 | }; | ^ In file included from keyctl06.c:21: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ keyctl08.c:37:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 37 | }; | ^ In file included from keyctl08.c:11: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/keyctl/keyctl07 CC testcases/kernel/syscalls/keyctl/keyctl03 CC testcases/kernel/syscalls/keyctl/keyctl01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/keyctl/keyctl06 CC testcases/kernel/syscalls/keyctl/keyctl04 CC testcases/kernel/syscalls/keyctl/keyctl08 CC testcases/kernel/syscalls/keyctl/keyctl02 CC testcases/kernel/syscalls/keyctl/keyctl05 BUILD libltpipc.a BUILD libltpnewipc.a make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. kill02.c: In function 'setup': kill02.c:694:6: warning: variable 'errno_buf' set but not used [-Wunused-but-set-variable] 694 | int errno_buf; /*indicates the errno if pipe set up fails. */ | ^~~~~~~~~ kill07.c: In function 'main': kill07.c:90:32: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 90 | int exno, status, nsig, asig, ret; | ^~~ kill07.c:90:6: warning: variable 'exno' set but not used [-Wunused-but-set-variable] 90 | int exno, status, nsig, asig, ret; | ^~~~ In file included from /usr/include/string.h:532, from kill02.c:136: In function 'strncpy', inlined from 'parent_rout' at kill02.c:315:2, inlined from 'parent_rout' at kill02.c:294:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parent_rout' at kill02.c:321:2, inlined from 'parent_rout' at kill02.c:294:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parent_rout' at kill02.c:435:3, inlined from 'parent_rout' at kill02.c:294:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/kill/kill09 CC testcases/kernel/syscalls/kill/kill02 CC testcases/kernel/syscalls/kill/kill07 kill12.c: In function 'main': kill12.c:89:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 89 | if (sigset(SIGCHLD, chsig) == SIG_ERR) { | ^~ In file included from kill12.c:43: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ kill12.c:168:11: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 168 | } else; | ^ kill12.c:79:6: warning: variable 'core' set but not used [-Wunused-but-set-variable] 79 | int core; | ^~~~ kill12.c:77:12: warning: variable 'exno' set but not used [-Wunused-but-set-variable] 77 | int nsig, exno, nexno, status; | ^~~~ kill12.c: In function 'do_child': kill12.c:201:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 201 | sigset(sig, SIG_IGN); /* set to ignore signal */ | ^~~~~~ In file included from kill12.c:43: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ CC testcases/kernel/syscalls/kill/kill08 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/kill/kill10 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/kill/kill12 CC testcases/kernel/syscalls/kill/kill05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/kill/kill11 CC testcases/kernel/syscalls/kill/kill03 CC testcases/kernel/syscalls/kill/kill06 CC testcases/kernel/syscalls/lchown/lchown01_16.o CC testcases/kernel/syscalls/lchown/lchown02_16.o CC testcases/kernel/syscalls/lchown/lchown03_16.o CC testcases/kernel/syscalls/lchown/lchown01.o CC testcases/kernel/syscalls/lchown/lchown03.o CC testcases/kernel/syscalls/lchown/lchown02.o LD testcases/kernel/syscalls/lchown/lchown03 LD testcases/kernel/syscalls/lchown/lchown01 LD testcases/kernel/syscalls/lchown/lchown02_16 LD testcases/kernel/syscalls/lchown/lchown03_16 LD testcases/kernel/syscalls/lchown/lchown01_16 LD testcases/kernel/syscalls/lchown/lchown02 rm lchown01_16.o lchown03.o lchown02_16.o lchown03_16.o lchown01.o lchown02.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/lgetxattr/lgetxattr02 CC testcases/kernel/syscalls/lgetxattr/lgetxattr01 link03.c: In function 'main': link03.c:104:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 104 | sprintf(lname, "%s%d", fname, i); | ^~ link03.c:104:19: note: directive argument in the range [1, 2147483646] 104 | sprintf(lname, "%s%d", fname, i); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from link03.c:47: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 265 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link03.c:123:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 123 | sprintf(lname, "%s%d", fname, i); | ^~ link03.c:123:19: note: directive argument in the range [1, 2147483646] 123 | sprintf(lname, "%s%d", fname, i); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from link03.c:47: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 265 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link03.c:138:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 138 | sprintf(lname, "%s%d", fname, i); | ^~ link03.c:138:19: note: directive argument in the range [1, 2147483646] 138 | sprintf(lname, "%s%d", fname, i); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from link03.c:47: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 265 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link05.c: In function 'main': link05.c:94:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 94 | sprintf(lname, "%s%d", fname, cnt); | ^~ link05.c:94:19: note: directive argument in the range [1, 2147483647] 94 | sprintf(lname, "%s%d", fname, cnt); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from link05.c:46: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 265 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link05.c:108:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 108 | sprintf(lname, "%s%d", fname, cnt); | ^~ link05.c:108:19: note: directive argument in the range [1, 2147483647] 108 | sprintf(lname, "%s%d", fname, cnt); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from link05.c:46: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 265 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link05.c:132:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 132 | sprintf(lname, "%s%d", fname, cnt); | ^~ link05.c:132:19: note: directive argument in the range [1, 2147483647] 132 | sprintf(lname, "%s%d", fname, cnt); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from link05.c:46: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 265 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/link/link06 CC testcases/kernel/syscalls/link/link04 CC testcases/kernel/syscalls/link/link05 CC testcases/kernel/syscalls/link/link03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/link/link02 CC testcases/kernel/syscalls/link/link07 CC testcases/kernel/syscalls/link/link08 CC testcases/kernel/syscalls/linkat/linkat01 CC testcases/kernel/syscalls/linkat/linkat02 CC testcases/kernel/syscalls/listen/listen01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/listxattr/listxattr01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/listxattr/listxattr03 CC testcases/kernel/syscalls/listxattr/listxattr02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/llistxattr/llistxattr03 CC testcases/kernel/syscalls/llistxattr/llistxattr02 CC testcases/kernel/syscalls/llistxattr/llistxattr01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/llseek/llseek03 CC testcases/kernel/syscalls/llseek/llseek02 CC testcases/kernel/syscalls/llseek/llseek01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/lremovexattr/lremovexattr01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/lseek/lseek02 CC testcases/kernel/syscalls/lseek/lseek07 CC testcases/kernel/syscalls/lseek/lseek01 CC testcases/kernel/syscalls/lseek/lseek11 CC testcases/kernel/syscalls/lstat/lstat01_64.o CC testcases/kernel/syscalls/lstat/lstat02_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/lstat/lstat01_64 CC testcases/kernel/syscalls/lstat/lstat02 LD testcases/kernel/syscalls/lstat/lstat02_64 CC testcases/kernel/syscalls/lstat/lstat01 rm lstat02_64.o lstat01_64.o madvise05.c:55:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 55 | }; | ^ In file included from madvise05.c:20: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ madvise08.c:220:1: warning: missing initializer for field 'needs_kconfigs' of 'struct tst_test' [-Wmissing-field-initializers] 220 | }; | ^ In file included from madvise08.c:33: ../../../../include/tst_test.h:247:21: note: 'needs_kconfigs' declared here 247 | const char *const *needs_kconfigs; | ^~~~~~~~~~~~~~ madvise08.c: In function 'find_sequence': madvise08.c:137:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 137 | if (expectc == 'z') { | ^ madvise08.c:141:3: note: here 141 | default: | ^~~~~~~ madvise06.c:247:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 247 | }; | ^ In file included from madvise06.c:44: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ madvise09.c: In function 'setup_cgroup_paths': madvise09.c:97:46: 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); | ^~~~~~ In file included from /usr/include/stdio.h:866, from madvise09.c:42: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ madvise09.c:99:7: 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); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from madvise09.c:42: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ madvise09.c:101:7: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from madvise09.c:42: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 29 and 4124 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/madvise/madvise10 CC testcases/kernel/syscalls/madvise/madvise07 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/madvise/madvise08 CC testcases/kernel/syscalls/madvise/madvise02 CC testcases/kernel/syscalls/madvise/madvise05 CC testcases/kernel/syscalls/madvise/madvise06 CC testcases/kernel/syscalls/madvise/madvise01 CC testcases/kernel/syscalls/madvise/madvise09 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mallinfo/mallinfo02 CC testcases/kernel/syscalls/mallinfo/mallinfo01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mallopt/mallopt01 make -C /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/lib -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/lib/Makefile" all BUILD libltpnuma.a make[5]: 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 mbind02.c:112:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 112 | }; | ^ In file included from mbind02.c:24: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mbind/mbind02 CC testcases/kernel/syscalls/mbind/mbind01 CC testcases/kernel/syscalls/mbind/mbind03 CC testcases/kernel/syscalls/mbind/mbind04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/membarrier/membarrier01 CC testcases/kernel/syscalls/memcmp/memcmp01 CC testcases/kernel/syscalls/memcpy/memcpy01 CC testcases/kernel/syscalls/memfd_create/memfd_create_common.o memfd_create04.c:28: warning: "PATH_HUGEPAGES" redefined 28 | #define PATH_HUGEPAGES "/sys/kernel/mm/hugepages" | In file included from ../../../../include/tst_test.h:40, from memfd_create04.c:22: ../../../../include/tst_hugepage.h:9: note: this is the location of the previous definition 9 | #define PATH_HUGEPAGES "/sys/kernel/mm/hugepages/" | memfd_create03.c: In function 'setup': memfd_create03.c:208:16: warning: '%ld' directive writing between 1 and 20 bytes into a region of size 8 [-Wformat-overflow=] 208 | sprintf(buf, "%ld", og_total_pages + 1); | ^~~ memfd_create03.c:208:15: note: directive argument in the range [-9223372036854775807, 9223372036854775807] 208 | sprintf(buf, "%ld", og_total_pages + 1); | ^~~~~ In file included from /usr/include/stdio.h:866, from memfd_create03.c:32: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 21 bytes into a destination of size 8 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/memfd_create/memfd_create02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/memfd_create/memfd_create04 CC testcases/kernel/syscalls/memfd_create/memfd_create03 CC testcases/kernel/syscalls/memfd_create/memfd_create01 CC testcases/kernel/syscalls/memset/memset01 CC testcases/kernel/syscalls/migrate_pages/migrate_pages_common.o migrate_pages03.c:146:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 146 | }; | ^ In file included from migrate_pages03.c:26: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ migrate_pages02.c:334:1: warning: missing initializer for field 'needs_kconfigs' of 'struct tst_test' [-Wmissing-field-initializers] 334 | }; | ^ In file included from migrate_pages02.c:25: ../../../../include/tst_test.h:247:21: note: 'needs_kconfigs' declared here 247 | const char *const *needs_kconfigs; | ^~~~~~~~~~~~~~ CC testcases/kernel/syscalls/migrate_pages/migrate_pages01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/migrate_pages/migrate_pages03 CC testcases/kernel/syscalls/migrate_pages/migrate_pages02 CC testcases/kernel/syscalls/mincore/mincore02 CC testcases/kernel/syscalls/mincore/mincore01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mincore/mincore03 CC testcases/kernel/syscalls/mincore/mincore04 CC testcases/kernel/syscalls/mkdir/mkdir09 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mkdir/mkdir02 CC testcases/kernel/syscalls/mkdir/mkdir03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mkdir/mkdir05 CC testcases/kernel/syscalls/mkdir/mkdir04 CC testcases/kernel/syscalls/mkdirat/mkdirat01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mkdirat/mkdirat02 CC testcases/kernel/syscalls/mknod/mknod01 CC testcases/kernel/syscalls/mknod/mknod06 CC testcases/kernel/syscalls/mknod/mknod02 CC testcases/kernel/syscalls/mknod/mknod08 CC testcases/kernel/syscalls/mknod/mknod05 CC testcases/kernel/syscalls/mknod/mknod09 CC testcases/kernel/syscalls/mknod/mknod03 CC testcases/kernel/syscalls/mknod/mknod04 CC testcases/kernel/syscalls/mknod/mknod07 CC testcases/kernel/syscalls/mknodat/mknodat01 CC testcases/kernel/syscalls/mknodat/mknodat02 CC testcases/kernel/syscalls/mlock/mlock02 CC testcases/kernel/syscalls/mlock/mlock01 CC testcases/kernel/syscalls/mlock/mlock04 CC testcases/kernel/syscalls/mlock/mlock03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mlock2/mlock203 CC testcases/kernel/syscalls/mlock2/mlock202 CC testcases/kernel/syscalls/mlock2/mlock201 CC testcases/kernel/syscalls/mlockall/mlockall01 CC testcases/kernel/syscalls/mlockall/mlockall03 CC testcases/kernel/syscalls/mlockall/mlockall02 mmap05.c: In function 'main': mmap05.c:70:7: warning: variable 'file_content' set but not used [-Wunused-but-set-variable] 70 | char file_content; | ^~~~~~~~~~~~ CC testcases/kernel/syscalls/mmap/mmap06 CC testcases/kernel/syscalls/mmap/mmap02 CC testcases/kernel/syscalls/mmap/mmap05 CC testcases/kernel/syscalls/mmap/mmap04 CC testcases/kernel/syscalls/mmap/mmap01 CC testcases/kernel/syscalls/mmap/mmap001 CC testcases/kernel/syscalls/mmap/mmap03 CC testcases/kernel/syscalls/mmap/mmap07 CC testcases/kernel/syscalls/mmap/mmap08 CC testcases/kernel/syscalls/mmap/mmap10 mmap16.c: In function 'do_test': mmap16.c:107:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 107 | do_child(); | ^~~~~~~~~~ mmap16.c:108:2: note: here 108 | default: | ^~~~~~~ CC testcases/kernel/syscalls/mmap/mmap11 CC testcases/kernel/syscalls/mmap/mmap09 CC testcases/kernel/syscalls/mmap/mmap14 CC testcases/kernel/syscalls/mmap/mmap13 CC testcases/kernel/syscalls/mmap/mmap15 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mmap/mmap16 CC testcases/kernel/syscalls/mmap/mmap12 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mmap/mmap17 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mmap/mmap18 CC testcases/kernel/syscalls/mmap/mmap19 CC testcases/kernel/syscalls/modify_ldt/modify_ldt01 CC testcases/kernel/syscalls/modify_ldt/modify_ldt02 CC testcases/kernel/syscalls/modify_ldt/modify_ldt03 mount06.c: In function 'main': mount06.c:145:39: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 145 | snprintf(mntpoint_src, PATH_MAX, "%s/%s", path_name, MNTPOINT_SRC); | ^~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount06.c:30: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount06.c:146:39: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 146 | snprintf(mntpoint_des, PATH_MAX, "%s/%s", path_name, MNTPOINT_DES); | ^~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount06.c:30: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount03.c: In function 'setup': mount03.c:366:36: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 366 | snprintf(path_name, PATH_MAX, "%s/%s/", path, mntpoint); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount03.c:47: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount03.c:371:30: warning: 'mount03_setuid_test' directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 371 | snprintf(file, PATH_MAX, "%smount03_setuid_test", path_name); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount03.c:47: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 20 and 4115 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount03.c: In function 'main': mount03.c:292:31: warning: 'atime' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 292 | snprintf(file, PATH_MAX, "%satime", path_name); | ^~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount03.c:47: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount03.c:264:31: warning: 'mount03_setuid_test' directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 264 | snprintf(file, PATH_MAX, "%smount03_setuid_test", path_name); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount03.c:47: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 20 and 4115 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount03.c:250:32: warning: 'tmp2' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 250 | snprintf(file, PATH_MAX, "%stmp2", path_name); | ^~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount03.c:47: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount03.c:200:31: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 200 | snprintf(file, PATH_MAX, "%s%s", path_name, TEMP_FILE); | ^~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount03.c:47: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount03.c:180:31: warning: 'tmp1' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 180 | snprintf(file, PATH_MAX, "%stmp1", path_name); | ^~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount03.c:47: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount03.c:157:31: warning: 'mynod_' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 157 | snprintf(file, PATH_MAX, "%smynod_%d_%d", path_name, getpid(), | ^~~~~~ mount03.c:157:28: note: directive argument in the range [0, 2147483647] 157 | snprintf(file, PATH_MAX, "%smynod_%d_%d", path_name, getpid(), | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount03.c:47: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 10 and 4124 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount03.c:141:31: warning: 'tmp' directive output may be truncated writing 3 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 141 | snprintf(file, PATH_MAX, "%stmp", path_name); | ^~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from mount03.c:47: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 4 and 4099 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/mount/mount03_setuid_test CC testcases/kernel/syscalls/mount/mount04 CC testcases/kernel/syscalls/mount/mount06 CC testcases/kernel/syscalls/mount/mount03 CC testcases/kernel/syscalls/mount/mount02 CC testcases/kernel/syscalls/mount/mount05 CC testcases/kernel/syscalls/mount/mount01 move_mount01.c:83:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 83 | }; | ^ In file included from move_mount01.c:7: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ move_mount02.c:92:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 92 | }; | ^ In file included from move_mount02.c:7: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/move_mount/move_mount01 CC testcases/kernel/syscalls/move_mount/move_mount02 move_pages_support.c: In function 'free_pages': move_pages_support.c:43:16: 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:9: 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:9: 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:6: 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:405:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 405 | } else if (num_allowed_nodes < min_nodes) { | ^ CC testcases/kernel/syscalls/move_pages/move_pages_support.o CC testcases/kernel/syscalls/move_pages/move_pages03 CC testcases/kernel/syscalls/move_pages/move_pages05 CC testcases/kernel/syscalls/move_pages/move_pages06 CC testcases/kernel/syscalls/move_pages/move_pages09 move_pages12.c:351:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 351 | }; | ^ In file included from move_pages12.c:73: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/move_pages/move_pages02 CC testcases/kernel/syscalls/move_pages/move_pages01 CC testcases/kernel/syscalls/move_pages/move_pages07 CC testcases/kernel/syscalls/move_pages/move_pages04 CC testcases/kernel/syscalls/move_pages/move_pages10 CC testcases/kernel/syscalls/move_pages/move_pages11 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/move_pages/move_pages12 CC testcases/kernel/syscalls/mprotect/mprotect02 CC testcases/kernel/syscalls/mprotect/mprotect04 CC testcases/kernel/syscalls/mprotect/mprotect01 CC testcases/kernel/syscalls/mprotect/mprotect03 CC testcases/kernel/syscalls/mq_notify/mq_notify02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mq_notify/mq_notify01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mq_open/mq_open01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mq_timedsend/mq_timedsend01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/mq_unlink/mq_unlink01 BUILD libltpipc.a make[5]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/mremap/mremap02 CC testcases/kernel/syscalls/mremap/mremap05 CC testcases/kernel/syscalls/mremap/mremap01 CC testcases/kernel/syscalls/mremap/mremap03 CC testcases/kernel/syscalls/mremap/mremap04 CC testcases/kernel/syscalls/msync/msync02 CC testcases/kernel/syscalls/msync/msync03 CC testcases/kernel/syscalls/msync/msync01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/msync/msync04 CC testcases/kernel/syscalls/munlock/munlock01 CC testcases/kernel/syscalls/munlock/munlock02 CC testcases/kernel/syscalls/munlockall/munlockall01 CC testcases/kernel/syscalls/munmap/munmap01 CC testcases/kernel/syscalls/munmap/munmap03 CC testcases/kernel/syscalls/munmap/munmap02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/name_to_handle_at/name_to_handle_at02 CC testcases/kernel/syscalls/name_to_handle_at/name_to_handle_at01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/nanosleep/nanosleep01 CC testcases/kernel/syscalls/nanosleep/nanosleep04 CC testcases/kernel/syscalls/nanosleep/nanosleep02 CC testcases/kernel/syscalls/newuname/newuname01 CC testcases/kernel/syscalls/nftw/tools.o lib.c: In function 'get_long_name_buffer': lib.c:65:55: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 65 | if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib.c:72:55: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 183 | if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib.c:208:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 208 | while (pathLength < pcPathMax) { | ^ lib.c:219:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | while (pathLength <= pcPathMax) { | ^~ lib.c:226:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 226 | if (pathLength != pcPathMax + 1) { | ^~ CC testcases/kernel/syscalls/nftw/nftw.o lib64.c: In function 'get_long_name_buffer': lib64.c:65:55: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 65 | if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib64.c:72:55: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 183 | if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib64.c:208:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 208 | while (pathLength < pcPathMax) { | ^ lib64.c:219:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | while (pathLength <= pcPathMax) { | ^~ lib64.c:226:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 226 | if (pathLength != pcPathMax + 1) { | ^~ CC testcases/kernel/syscalls/nftw/nftw64.o CC testcases/kernel/syscalls/nftw/test.o CC testcases/kernel/syscalls/nftw/test_func64.o CC testcases/kernel/syscalls/nftw/tools64.o CC testcases/kernel/syscalls/nftw/lib.o CC testcases/kernel/syscalls/nftw/lib64.o CC testcases/kernel/syscalls/nftw/test64.o x86_64-alt-linux-gcc -L../../../../lib nftw64.o tools64.o test_func64.o test64.o lib64.o -lltp -o nftw6401 CC testcases/kernel/syscalls/nftw/test_func.o x86_64-alt-linux-gcc -L../../../../lib nftw.o tools.o test_func.o test.o lib.o -lltp -o nftw01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/nice/nice01 CC testcases/kernel/syscalls/nice/nice02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/nice/nice03 CC testcases/kernel/syscalls/nice/nice04 open06.c: In function 'main': open06.c:79:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 99 [-Wformat-overflow=] 79 | sprintf(fname, "%s.%d", fname, getpid()); | ^~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from open06.c:34: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 112 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/open/open05 CC testcases/kernel/syscalls/open/open06 CC testcases/kernel/syscalls/open/open03 open10.c: In function 'main': open10.c:92:25: warning: '%s' directive writing 6 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 92 | sprintf(setgid_A, "%s/%s", DIR_A, SETGID); | ^~ In file included from /usr/include/stdio.h:866, from open10.c:37: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 157 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open10.c:93:27: warning: '%s' directive writing 8 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 93 | sprintf(nosetgid_A, "%s/%s", DIR_A, NOSETGID); | ^~ In file included from /usr/include/stdio.h:866, from open10.c:37: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 10 and 159 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open10.c:94:25: warning: '%s' directive writing 6 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 94 | sprintf(setgid_B, "%s/%s", DIR_B, SETGID); | ^~ In file included from /usr/include/stdio.h:866, from open10.c:37: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 157 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open10.c:95:27: warning: '%s' directive writing 8 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 95 | sprintf(nosetgid_B, "%s/%s", DIR_B, NOSETGID); | ^~ In file included from /usr/include/stdio.h:866, from open10.c:37: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 10 and 159 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open10.c:96:30: warning: '%s' directive writing 11 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 96 | sprintf(root_setgid_B, "%s/%s", DIR_B, ROOT_SETGID); | ^~ In file included from /usr/include/stdio.h:866, from open10.c:37: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 13 and 162 bytes into a destination of size 150 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/open/open04 CC testcases/kernel/syscalls/open/open07 CC testcases/kernel/syscalls/open/open12_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/open/open09 CC testcases/kernel/syscalls/open/open02 CC testcases/kernel/syscalls/open/open12 CC testcases/kernel/syscalls/open/open13 CC testcases/kernel/syscalls/open/open10 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/open/open01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/open/open11 CC testcases/kernel/syscalls/open/open14 CC testcases/kernel/syscalls/open/open08 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/open_by_handle_at/open_by_handle_at02 CC testcases/kernel/syscalls/open_by_handle_at/open_by_handle_at01 open_tree02.c:55:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 55 | }; | ^ In file included from open_tree02.c:7: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ open_tree01.c:74:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 74 | }; | ^ In file included from open_tree01.c:7: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/open_tree/open_tree02 CC testcases/kernel/syscalls/open_tree/open_tree01 CC testcases/kernel/syscalls/openat/openat02_child CC testcases/kernel/syscalls/openat/openat01 CC testcases/kernel/syscalls/openat/openat03 CC testcases/kernel/syscalls/openat/openat02 openat201.c:98:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 98 | }; | ^ In file included from openat201.c:7: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ openat202.c:87:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 87 | }; | ^ In file included from openat202.c:7: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ openat203.c:80:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 80 | }; | ^ In file included from openat203.c:7: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/openat2/openat202 CC testcases/kernel/syscalls/openat2/openat203 CC testcases/kernel/syscalls/openat2/openat201 make[4]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/pathconf/pathconf01 CC testcases/kernel/syscalls/pause/pause03 CC testcases/kernel/syscalls/pause/pause02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pause/pause01 CC testcases/kernel/syscalls/perf_event_open/perf_event_open01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/perf_event_open/perf_event_open02 CC testcases/kernel/syscalls/personality/personality02 CC testcases/kernel/syscalls/personality/personality01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pidfd_open/pidfd_open02 CC testcases/kernel/syscalls/pidfd_open/pidfd_open01 CC testcases/kernel/syscalls/pidfd_open/pidfd_open03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal02 CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal01 CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal03 CC testcases/kernel/syscalls/pipe/pipe05 CC testcases/kernel/syscalls/pipe/pipe08 CC testcases/kernel/syscalls/pipe/pipe04 CC testcases/kernel/syscalls/pipe/pipe06 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pipe/pipe09 pipe13.c:103:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 103 | }; | ^ In file included from pipe13.c:19: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/pipe/pipe07 CC testcases/kernel/syscalls/pipe/pipe02 CC testcases/kernel/syscalls/pipe/pipe10 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pipe/pipe03 CC testcases/kernel/syscalls/pipe/pipe01 CC testcases/kernel/syscalls/pipe/pipe13 CC testcases/kernel/syscalls/pipe/pipe12 CC testcases/kernel/syscalls/pipe/pipe11 CC testcases/kernel/syscalls/pipe2/pipe2_02_child ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pipe2/pipe2_04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pipe2/pipe2_01 CC testcases/kernel/syscalls/pipe2/pipe2_02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pivot_root/pivot_root01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pkeys/pkey01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/poll/poll01 CC testcases/kernel/syscalls/poll/poll02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ppoll/ppoll01 prctl02.c:195:1: warning: missing initializer for field 'tags' of 'struct tst_test' [-Wmissing-field-initializers] 195 | }; | ^ In file included from prctl02.c:49: ../../../../include/tst_test.h:262:24: note: 'tags' declared here 262 | const struct tst_tag *tags; | ^~~~ CC testcases/kernel/syscalls/prctl/prctl06_execve ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/prctl/prctl01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/prctl/prctl05 CC testcases/kernel/syscalls/prctl/prctl02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/prctl/prctl06 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/prctl/prctl03 CC testcases/kernel/syscalls/prctl/prctl04 CC testcases/kernel/syscalls/prctl/prctl09 CC testcases/kernel/syscalls/prctl/prctl07 CC testcases/kernel/syscalls/prctl/prctl08 CC testcases/kernel/syscalls/pread/pread01_64.o CC testcases/kernel/syscalls/pread/pread02_64.o CC testcases/kernel/syscalls/pread/pread03_64.o LD testcases/kernel/syscalls/pread/pread03_64 CC testcases/kernel/syscalls/pread/pread02 CC testcases/kernel/syscalls/pread/pread01 CC testcases/kernel/syscalls/pread/pread03 LD testcases/kernel/syscalls/pread/pread01_64 LD testcases/kernel/syscalls/pread/pread02_64 rm pread01_64.o pread02_64.o pread03_64.o CC testcases/kernel/syscalls/preadv/preadv01_64.o CC testcases/kernel/syscalls/preadv/preadv02_64.o CC testcases/kernel/syscalls/preadv/preadv03_64.o preadv03.c:142:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 142 | }; | ^ In file included from preadv03.c:21: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ preadv03.c:142:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 142 | }; | ^ In file included from preadv03.c:21: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ preadv01.c:114:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 114 | }; | ^ In file included from preadv01.c:21: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ preadv01.c:114:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 114 | }; | ^ In file included from preadv01.c:21: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/preadv/preadv03 LD testcases/kernel/syscalls/preadv/preadv02_64 CC testcases/kernel/syscalls/preadv/preadv01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/preadv/preadv01_64 CC testcases/kernel/syscalls/preadv/preadv02 LD testcases/kernel/syscalls/preadv/preadv03_64 rm preadv01_64.o preadv03_64.o preadv02_64.o CC testcases/kernel/syscalls/preadv2/preadv201_64.o CC testcases/kernel/syscalls/preadv2/preadv202_64.o CC testcases/kernel/syscalls/preadv2/preadv203_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/preadv2/preadv202 CC testcases/kernel/syscalls/preadv2/preadv201 LD testcases/kernel/syscalls/preadv2/preadv201_64 LD testcases/kernel/syscalls/preadv2/preadv202_64 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/preadv2/preadv203_64 CC testcases/kernel/syscalls/preadv2/preadv203 rm preadv201_64.o preadv202_64.o preadv203_64.o CC testcases/kernel/syscalls/profil/profil01 CC testcases/kernel/syscalls/pselect/pselect01_64.o CC testcases/kernel/syscalls/pselect/pselect02_64.o CC testcases/kernel/syscalls/pselect/pselect03_64.o LD testcases/kernel/syscalls/pselect/pselect02_64 CC testcases/kernel/syscalls/pselect/pselect02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/pselect/pselect03_64 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pselect/pselect03 CC testcases/kernel/syscalls/pselect/pselect01 LD testcases/kernel/syscalls/pselect/pselect01_64 rm pselect03_64.o pselect01_64.o pselect02_64.o ptrace07.c:187:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 187 | }; | ^ In file included from ptrace07.c:37: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ptrace09.c:100:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 100 | }; | ^ ptrace08.c:173:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 173 | }; | ^ In file included from ptrace08.c:43: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ In file included from ptrace09.c:23: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/ptrace/ptrace04 ptrace10.c:83:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 83 | }; | ^ In file included from ptrace10.c:23: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/ptrace/ptrace05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ptrace/ptrace01 CC testcases/kernel/syscalls/ptrace/ptrace03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ptrace/ptrace02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ptrace/ptrace10 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ptrace/ptrace07 CC testcases/kernel/syscalls/ptrace/ptrace08 CC testcases/kernel/syscalls/ptrace/ptrace09 CC testcases/kernel/syscalls/ptrace/ptrace11 CC testcases/kernel/syscalls/pwrite/pwrite01_64.o CC testcases/kernel/syscalls/pwrite/pwrite02_64.o CC testcases/kernel/syscalls/pwrite/pwrite03_64.o CC testcases/kernel/syscalls/pwrite/pwrite04_64.o CC testcases/kernel/syscalls/pwrite/pwrite01 LD testcases/kernel/syscalls/pwrite/pwrite04_64 CC testcases/kernel/syscalls/pwrite/pwrite04 LD testcases/kernel/syscalls/pwrite/pwrite01_64 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/pwrite/pwrite03_64 CC testcases/kernel/syscalls/pwrite/pwrite02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pwrite/pwrite03 LD testcases/kernel/syscalls/pwrite/pwrite02_64 rm pwrite01_64.o pwrite03_64.o pwrite04_64.o pwrite02_64.o CC testcases/kernel/syscalls/pwritev/pwritev01_64.o CC testcases/kernel/syscalls/pwritev/pwritev02_64.o CC testcases/kernel/syscalls/pwritev/pwritev03_64.o pwritev03.c:141:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 141 | }; | ^ In file included from pwritev03.c:21: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ pwritev03.c:141:1: warning: missing initializer for field 'test_all' of 'struct tst_test' [-Wmissing-field-initializers] 141 | }; | ^ In file included from pwritev03.c:21: ../../../../include/tst_test.h:223:9: note: 'test_all' declared here 223 | void (*test_all)(void); | ^~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/pwritev/pwritev01 LD testcases/kernel/syscalls/pwritev/pwritev03_64 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/pwritev/pwritev02_64 LD testcases/kernel/syscalls/pwritev/pwritev01_64 CC testcases/kernel/syscalls/pwritev/pwritev02 CC testcases/kernel/syscalls/pwritev/pwritev03 rm pwritev01_64.o pwritev02_64.o pwritev03_64.o CC testcases/kernel/syscalls/pwritev2/pwritev201_64.o CC testcases/kernel/syscalls/pwritev2/pwritev202_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/pwritev2/pwritev202_64 CC testcases/kernel/syscalls/pwritev2/pwritev201 LD testcases/kernel/syscalls/pwritev2/pwritev201_64 CC testcases/kernel/syscalls/pwritev2/pwritev202 rm pwritev201_64.o pwritev202_64.o quotactl07.c:64:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 64 | }; | ^ In file included from quotactl07.c:16: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/quotactl/quotactl06 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/quotactl/quotactl07 CC testcases/kernel/syscalls/quotactl/quotactl01 CC testcases/kernel/syscalls/quotactl/quotactl04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/quotactl/quotactl02 CC testcases/kernel/syscalls/quotactl/quotactl03 CC testcases/kernel/syscalls/quotactl/quotactl05 read03.c: In function 'setup': read03.c:113:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 99 [-Wformat-overflow=] 113 | sprintf(fifo, "%s.%d", fifo, getpid()); | ^~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from read03.c:51: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 112 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/read/read04 CC testcases/kernel/syscalls/read/read03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/read/read02 CC testcases/kernel/syscalls/read/read01 readahead02.c:414:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 414 | }; | ^ In file included from readahead02.c:33: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/readahead/readahead01 CC testcases/kernel/syscalls/readahead/readahead02 readdir01.c: In function 'main': readdir01.c:192:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 192 | sprintf(fname, "%s%d", Basename, cnt); | ^~ readdir01.c:192:19: note: directive argument in the range [0, 2147483646] 192 | sprintf(fname, "%s%d", Basename, cnt); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from readdir01.c:118: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 265 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readdir01.c:247:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 247 | sprintf(fname, "%s%d", Basename, cnt); | ^~ readdir01.c:247:19: note: directive argument in the range [0, 2147483646] 247 | sprintf(fname, "%s%d", Basename, cnt); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from readdir01.c:118: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 265 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/readdir/readdir21 CC testcases/kernel/syscalls/readdir/readdir01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/readlink/readlink01 CC testcases/kernel/syscalls/readlink/readlink03 CC testcases/kernel/syscalls/readlinkat/readlinkat02 CC testcases/kernel/syscalls/readlinkat/readlinkat01 readv01.c:125:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 125 | }; | ^ In file included from readv01.c:21: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/readv/readv03 CC testcases/kernel/syscalls/readv/readv02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/readv/readv01 realpath01.c:48:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 48 | }; | ^ In file included from realpath01.c:12: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/realpath/realpath01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/reboot/reboot01 CC testcases/kernel/syscalls/reboot/reboot02 CC testcases/kernel/syscalls/recv/recv01 CC testcases/kernel/syscalls/recvfrom/recvfrom01 recvmmsg01.c:147:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 147 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from ../sendmmsg/sendmmsg.h:9, from recvmmsg01.c:14: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/recvmmsg/recvmmsg01 recvmsg03.c:156:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 156 | }; | ^ In file included from recvmsg03.c:25: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ recvmsg02.c:104:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 104 | }; | ^ In file included from recvmsg02.c:23: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/recvmsg/recvmsg01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/recvmsg/recvmsg02 CC testcases/kernel/syscalls/recvmsg/recvmsg03 CC testcases/kernel/syscalls/remap_file_pages/remap_file_pages01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/remap_file_pages/remap_file_pages02 CC testcases/kernel/syscalls/removexattr/removexattr01 CC testcases/kernel/syscalls/removexattr/removexattr02 rename04.c: In function 'setup': rename04.c:148:20: warning: '%s' directive writing up to 254 bytes into a region of size 40 [-Wformat-overflow=] 148 | sprintf(tstfile, "%s/tstfile_%d", mdir, getpid()); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from rename04.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 11 and 275 bytes into a destination of size 40 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rename06.c: In function 'setup': rename06.c:137:19: warning: '/rndir_' directive writing 7 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 137 | sprintf(mdir, "%s/rndir_%d", fdir, getpid()); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from rename06.c:65: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 9 and 273 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/rename/rename02 CC testcases/kernel/syscalls/rename/rename08 rename10.c: In function 'setup': rename10.c:159:20: warning: '/rnfile_' directive writing 8 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 159 | sprintf(mname, "%s/rnfile_%d", mdir, getpid()); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from rename10.c:67: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 10 and 274 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/rename/rename04 rename09.c: In function 'setup': rename09.c:246:20: warning: '/tfile_' directive writing 7 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 246 | sprintf(fname, "%s/tfile_%d", fdir, getpid()); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from rename09.c:81: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 9 and 273 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rename09.c:247:20: warning: '/rnfile_' directive writing 8 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 247 | sprintf(mname, "%s/rnfile_%d", mdir, getpid()); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from rename09.c:81: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 10 and 274 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/rename/rename01 rename12.c: In function 'setup': rename12.c:193:20: warning: '/tfile_' directive writing 7 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 193 | sprintf(fname, "%s/tfile_%d", fdir, getpid()); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from rename12.c:75: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 9 and 273 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rename12.c:194:20: warning: '/rnfile_' directive writing 8 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 194 | sprintf(mname, "%s/rnfile_%d", fdir, getpid()); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../../../include/old/test.h:14, from rename12.c:75: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 10 and 274 bytes into a destination of size 255 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/rename/rename06 CC testcases/kernel/syscalls/rename/rename05 CC testcases/kernel/syscalls/rename/rename07 rename14.c: In function 'main': rename14.c:75:19: warning: cast between incompatible function types from 'int (*)(void)' to 'void (*)()' [-Wcast-function-type] 75 | act.sa_handler = (void (*)())term; | ^ rename14.c:83:19: 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/rename03 CC testcases/kernel/syscalls/rename/rename10 CC testcases/kernel/syscalls/rename/rename09 CC testcases/kernel/syscalls/rename/rename11 CC testcases/kernel/syscalls/rename/rename13 CC testcases/kernel/syscalls/rename/rename12 CC testcases/kernel/syscalls/rename/rename14 CC testcases/kernel/syscalls/renameat/renameat01 CC testcases/kernel/syscalls/renameat2/renameat201 CC testcases/kernel/syscalls/renameat2/renameat202 request_key03.c:196:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 196 | }; | ^ In file included from request_key03.c:37: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ request_key04.c:80:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 80 | }; | ^ In file included from request_key04.c:19: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ request_key05.c:38:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 38 | }; | ^ In file included from request_key05.c:16: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/request_key/request_key04 CC testcases/kernel/syscalls/request_key/request_key03 CC testcases/kernel/syscalls/request_key/request_key05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/request_key/request_key01 CC testcases/kernel/syscalls/request_key/request_key02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/rmdir/rmdir01 CC testcases/kernel/syscalls/rmdir/rmdir03 CC testcases/kernel/syscalls/rmdir/rmdir02 CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction02 CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction03 CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction01 CC testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask02 CC testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/rt_sigsuspend/rt_sigsuspend01 BUILD libltpsigwait.a make[5]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/rt_sigtimedwait/rt_sigtimedwait01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01 sbrk03.c:73:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 73 | }; | ^ In file included from sbrk03.c:38: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/sbrk/sbrk01 CC testcases/kernel/syscalls/sbrk/sbrk02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sbrk/sbrk03 CC testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max02 CC testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max01 CC testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min02 CC testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sched_getaffinity/sched_getaffinity01 CC testcases/kernel/syscalls/sched_getattr/sched_getattr01 CC testcases/kernel/syscalls/sched_getattr/sched_getattr02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sched_getparam/sched_getparam03 CC testcases/kernel/syscalls/sched_getparam/sched_getparam01 CC testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler01 CC testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler02 sched_rr_get_interval01.c:84:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 84 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from sched_rr_get_interval01.c:15: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval02 CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01 CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01 CC testcases/kernel/syscalls/sched_setattr/sched_setattr01 CC testcases/kernel/syscalls/sched_setparam/sched_setparam05 CC testcases/kernel/syscalls/sched_setparam/sched_setparam02 CC testcases/kernel/syscalls/sched_setparam/sched_setparam04 CC testcases/kernel/syscalls/sched_setparam/sched_setparam01 CC testcases/kernel/syscalls/sched_setparam/sched_setparam03 CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler02 CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler03 CC testcases/kernel/syscalls/sched_yield/sched_yield01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/select/select02 CC testcases/kernel/syscalls/select/select04 CC testcases/kernel/syscalls/select/select03 CC testcases/kernel/syscalls/select/select01 CC testcases/kernel/syscalls/send/send01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/send/send02 sendfile02.c: In function 'do_sendfile': sendfile02.c:102:6: warning: variable 'wait_status' set but not used [-Wunused-but-set-variable] 102 | int wait_status; | ^~~~~~~~~~~ CC testcases/kernel/syscalls/sendfile/sendfile09 CC testcases/kernel/syscalls/sendfile/sendfile02_64.o sendfile02.c: In function 'do_sendfile': sendfile02.c:102:6: warning: variable 'wait_status' set but not used [-Wunused-but-set-variable] 102 | int wait_status; | ^~~~~~~~~~~ CC testcases/kernel/syscalls/sendfile/sendfile02 CC testcases/kernel/syscalls/sendfile/sendfile03_64.o CC testcases/kernel/syscalls/sendfile/sendfile04_64.o CC testcases/kernel/syscalls/sendfile/sendfile05_64.o CC testcases/kernel/syscalls/sendfile/sendfile06_64.o CC testcases/kernel/syscalls/sendfile/sendfile07_64.o CC testcases/kernel/syscalls/sendfile/sendfile08_64.o CC testcases/kernel/syscalls/sendfile/sendfile09_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sendfile/sendfile04 CC testcases/kernel/syscalls/sendfile/sendfile08 CC testcases/kernel/syscalls/sendfile/sendfile06 LD testcases/kernel/syscalls/sendfile/sendfile02_64 CC testcases/kernel/syscalls/sendfile/sendfile07 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/sendfile/sendfile03_64 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/sendfile/sendfile06_64 LD testcases/kernel/syscalls/sendfile/sendfile09_64 LD testcases/kernel/syscalls/sendfile/sendfile08_64 LD testcases/kernel/syscalls/sendfile/sendfile04_64 LD testcases/kernel/syscalls/sendfile/sendfile05_64 CC testcases/kernel/syscalls/sendfile/sendfile03 CC testcases/kernel/syscalls/sendfile/sendfile05 LD testcases/kernel/syscalls/sendfile/sendfile07_64 rm sendfile08_64.o sendfile05_64.o sendfile07_64.o sendfile04_64.o sendfile06_64.o sendfile03_64.o sendfile02_64.o sendfile09_64.o sendmmsg01.c:118:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 118 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from sendmmsg.h:9, from sendmmsg01.c:10: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ sendmmsg02.c:75:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 75 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from sendmmsg.h:9, from sendmmsg02.c:11: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sendmmsg/sendmmsg02 CC testcases/kernel/syscalls/sendmmsg/sendmmsg01 sendmsg03.c:113:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 113 | }; | ^ In file included from sendmsg03.c:23: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/sendmsg/sendmsg02 CC testcases/kernel/syscalls/sendmsg/sendmsg01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sendmsg/sendmsg03 sendto02.c:84:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 84 | }; | ^ In file included from sendto02.c:27: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ sendto03.c:224:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 224 | }; | ^ In file included from sendto03.c:30: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/sendto/sendto01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sendto/sendto02 CC testcases/kernel/syscalls/sendto/sendto03 BUILD libltpnuma.a make[5]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy01 CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy02 CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy03 CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy04 CC testcases/kernel/syscalls/set_robust_list/set_robust_list01 CC testcases/kernel/syscalls/set_thread_area/set_thread_area01 CC testcases/kernel/syscalls/set_tid_address/set_tid_address01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setdomainname/setdomainname01 CC testcases/kernel/syscalls/setdomainname/setdomainname03 CC testcases/kernel/syscalls/setdomainname/setdomainname02 CC testcases/kernel/syscalls/setegid/setegid01 CC testcases/kernel/syscalls/setegid/setegid02 CC testcases/kernel/syscalls/setfsgid/setfsgid01_16.o CC testcases/kernel/syscalls/setfsgid/setfsgid02_16.o CC testcases/kernel/syscalls/setfsgid/setfsgid03_16.o CC testcases/kernel/syscalls/setfsgid/setfsgid01.o CC testcases/kernel/syscalls/setfsgid/setfsgid02.o CC testcases/kernel/syscalls/setfsgid/setfsgid03.o LD testcases/kernel/syscalls/setfsgid/setfsgid02_16 LD testcases/kernel/syscalls/setfsgid/setfsgid03_16 LD testcases/kernel/syscalls/setfsgid/setfsgid01 LD testcases/kernel/syscalls/setfsgid/setfsgid03 LD testcases/kernel/syscalls/setfsgid/setfsgid02 LD testcases/kernel/syscalls/setfsgid/setfsgid01_16 rm setfsgid01.o setfsgid03.o setfsgid01_16.o setfsgid02_16.o setfsgid03_16.o setfsgid02.o CC testcases/kernel/syscalls/setfsuid/setfsuid01_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid02_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid03_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid04_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid01.o CC testcases/kernel/syscalls/setfsuid/setfsuid02.o CC testcases/kernel/syscalls/setfsuid/setfsuid03.o CC testcases/kernel/syscalls/setfsuid/setfsuid04.o LD testcases/kernel/syscalls/setfsuid/setfsuid01 LD testcases/kernel/syscalls/setfsuid/setfsuid01_16 LD testcases/kernel/syscalls/setfsuid/setfsuid03 LD testcases/kernel/syscalls/setfsuid/setfsuid04_16 LD testcases/kernel/syscalls/setfsuid/setfsuid02_16 LD testcases/kernel/syscalls/setfsuid/setfsuid03_16 LD testcases/kernel/syscalls/setfsuid/setfsuid02 LD testcases/kernel/syscalls/setfsuid/setfsuid04 rm setfsuid04_16.o setfsuid01_16.o setfsuid03.o setfsuid04.o setfsuid03_16.o setfsuid02_16.o setfsuid02.o setfsuid01.o CC testcases/kernel/syscalls/setgid/setgid01_16.o CC testcases/kernel/syscalls/setgid/setgid02_16.o CC testcases/kernel/syscalls/setgid/setgid03_16.o CC testcases/kernel/syscalls/setgid/setgid01.o CC testcases/kernel/syscalls/setgid/setgid02.o CC testcases/kernel/syscalls/setgid/setgid03.o LD testcases/kernel/syscalls/setgid/setgid03 LD testcases/kernel/syscalls/setgid/setgid02_16 LD testcases/kernel/syscalls/setgid/setgid01_16 LD testcases/kernel/syscalls/setgid/setgid01 LD testcases/kernel/syscalls/setgid/setgid02 LD testcases/kernel/syscalls/setgid/setgid03_16 rm setgid01.o setgid02_16.o setgid02.o setgid03_16.o setgid01_16.o setgid03.o CC testcases/kernel/syscalls/setgroups/setgroups01_16.o CC testcases/kernel/syscalls/setgroups/setgroups02_16.o CC testcases/kernel/syscalls/setgroups/setgroups03_16.o CC testcases/kernel/syscalls/setgroups/setgroups04_16.o CC testcases/kernel/syscalls/setgroups/setgroups02.o CC testcases/kernel/syscalls/setgroups/setgroups04.o CC testcases/kernel/syscalls/setgroups/setgroups01.o CC testcases/kernel/syscalls/setgroups/setgroups03.o LD testcases/kernel/syscalls/setgroups/setgroups02 LD testcases/kernel/syscalls/setgroups/setgroups01 LD testcases/kernel/syscalls/setgroups/setgroups04 LD testcases/kernel/syscalls/setgroups/setgroups02_16 LD testcases/kernel/syscalls/setgroups/setgroups01_16 LD testcases/kernel/syscalls/setgroups/setgroups03 LD testcases/kernel/syscalls/setgroups/setgroups04_16 LD testcases/kernel/syscalls/setgroups/setgroups03_16 rm setgroups02.o setgroups03.o setgroups01.o setgroups02_16.o setgroups04_16.o setgroups03_16.o setgroups01_16.o setgroups04.o x86_64-alt-linux-gcc -pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname01.c -lltp -o sethostname01 x86_64-alt-linux-gcc -pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname02.c -lltp -o sethostname02 x86_64-alt-linux-gcc -pipe -grecord-gcc-switches -Wall -g -O2 -flto -ffat-lto-objects -Werror=implicit-function-declaration -fno-common -Wno-unused-parameter -Wno-unused-result -Wno-old-style-declaration -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname03.c -lltp -o sethostname03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setitimer/setitimer03 CC testcases/kernel/syscalls/setitimer/setitimer01 CC testcases/kernel/syscalls/setitimer/setitimer02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setns/setns02 CC testcases/kernel/syscalls/setns/setns01 CC testcases/kernel/syscalls/setpgid/setpgid03_child CC testcases/kernel/syscalls/setpgid/setpgid03 CC testcases/kernel/syscalls/setpgid/setpgid02 CC testcases/kernel/syscalls/setpgid/setpgid01 CC testcases/kernel/syscalls/setpgrp/setpgrp02 CC testcases/kernel/syscalls/setpgrp/setpgrp01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setpriority/setpriority02 CC testcases/kernel/syscalls/setpriority/setpriority01 CC testcases/kernel/syscalls/setregid/setregid01_16.o CC testcases/kernel/syscalls/setregid/setregid02_16.o CC testcases/kernel/syscalls/setregid/setregid03_16.o CC testcases/kernel/syscalls/setregid/setregid04_16.o CC testcases/kernel/syscalls/setregid/setregid01.o CC testcases/kernel/syscalls/setregid/setregid02.o CC testcases/kernel/syscalls/setregid/setregid04.o CC testcases/kernel/syscalls/setregid/setregid03.o LD testcases/kernel/syscalls/setregid/setregid04_16 LD testcases/kernel/syscalls/setregid/setregid01_16 LD testcases/kernel/syscalls/setregid/setregid02 LD testcases/kernel/syscalls/setregid/setregid01 LD testcases/kernel/syscalls/setregid/setregid02_16 LD testcases/kernel/syscalls/setregid/setregid04 LD testcases/kernel/syscalls/setregid/setregid03_16 LD testcases/kernel/syscalls/setregid/setregid03 rm setregid02_16.o setregid03_16.o setregid01.o setregid03.o setregid04_16.o setregid04.o setregid01_16.o setregid02.o CC testcases/kernel/syscalls/setresgid/setresgid01_16.o CC testcases/kernel/syscalls/setresgid/setresgid02_16.o CC testcases/kernel/syscalls/setresgid/setresgid03_16.o CC testcases/kernel/syscalls/setresgid/setresgid04_16.o CC testcases/kernel/syscalls/setresgid/setresgid02.o CC testcases/kernel/syscalls/setresgid/setresgid01.o CC testcases/kernel/syscalls/setresgid/setresgid04.o CC testcases/kernel/syscalls/setresgid/setresgid03.o LD testcases/kernel/syscalls/setresgid/setresgid02 LD testcases/kernel/syscalls/setresgid/setresgid03_16 LD testcases/kernel/syscalls/setresgid/setresgid03 LD testcases/kernel/syscalls/setresgid/setresgid04 LD testcases/kernel/syscalls/setresgid/setresgid04_16 LD testcases/kernel/syscalls/setresgid/setresgid01 LD testcases/kernel/syscalls/setresgid/setresgid01_16 LD testcases/kernel/syscalls/setresgid/setresgid02_16 rm setresgid02.o setresgid02_16.o setresgid04_16.o setresgid03.o setresgid01_16.o setresgid01.o setresgid04.o setresgid03_16.o CC testcases/kernel/syscalls/setresuid/setresuid01_16.o CC testcases/kernel/syscalls/setresuid/setresuid02_16.o CC testcases/kernel/syscalls/setresuid/setresuid03_16.o CC testcases/kernel/syscalls/setresuid/setresuid01.o CC testcases/kernel/syscalls/setresuid/setresuid04_16.o CC testcases/kernel/syscalls/setresuid/setresuid02.o CC testcases/kernel/syscalls/setresuid/setresuid05_16.o CC testcases/kernel/syscalls/setresuid/setresuid04.o CC testcases/kernel/syscalls/setresuid/setresuid03.o CC testcases/kernel/syscalls/setresuid/setresuid05.o LD testcases/kernel/syscalls/setresuid/setresuid02 LD testcases/kernel/syscalls/setresuid/setresuid04 LD testcases/kernel/syscalls/setresuid/setresuid01 LD testcases/kernel/syscalls/setresuid/setresuid04_16 LD testcases/kernel/syscalls/setresuid/setresuid03 LD testcases/kernel/syscalls/setresuid/setresuid01_16 LD testcases/kernel/syscalls/setresuid/setresuid03_16 LD testcases/kernel/syscalls/setresuid/setresuid05_16 LD testcases/kernel/syscalls/setresuid/setresuid05 LD testcases/kernel/syscalls/setresuid/setresuid02_16 rm setresuid02_16.o setresuid04.o setresuid03_16.o setresuid05_16.o setresuid05.o setresuid03.o setresuid02.o setresuid04_16.o setresuid01_16.o setresuid01.o CC testcases/kernel/syscalls/setreuid/setreuid01_16.o CC testcases/kernel/syscalls/setreuid/setreuid03.o CC testcases/kernel/syscalls/setreuid/setreuid02_16.o CC testcases/kernel/syscalls/setreuid/setreuid07.o CC testcases/kernel/syscalls/setreuid/setreuid03_16.o CC testcases/kernel/syscalls/setreuid/setreuid04_16.o CC testcases/kernel/syscalls/setreuid/setreuid05_16.o CC testcases/kernel/syscalls/setreuid/setreuid01.o CC testcases/kernel/syscalls/setreuid/setreuid06_16.o CC testcases/kernel/syscalls/setreuid/setreuid02.o CC testcases/kernel/syscalls/setreuid/setreuid07_16.o CC testcases/kernel/syscalls/setreuid/setreuid06.o CC testcases/kernel/syscalls/setreuid/setreuid04.o CC testcases/kernel/syscalls/setreuid/setreuid05.o LD testcases/kernel/syscalls/setreuid/setreuid03_16 LD testcases/kernel/syscalls/setreuid/setreuid03 LD testcases/kernel/syscalls/setreuid/setreuid07 LD testcases/kernel/syscalls/setreuid/setreuid01_16 LD testcases/kernel/syscalls/setreuid/setreuid05_16 LD testcases/kernel/syscalls/setreuid/setreuid06_16 LD testcases/kernel/syscalls/setreuid/setreuid02 LD testcases/kernel/syscalls/setreuid/setreuid04 LD testcases/kernel/syscalls/setreuid/setreuid07_16 LD testcases/kernel/syscalls/setreuid/setreuid02_16 LD testcases/kernel/syscalls/setreuid/setreuid01 LD testcases/kernel/syscalls/setreuid/setreuid05 LD testcases/kernel/syscalls/setreuid/setreuid06 LD testcases/kernel/syscalls/setreuid/setreuid04_16 rm setreuid03_16.o setreuid01.o setreuid06_16.o setreuid03.o setreuid04.o setreuid07.o setreuid06.o setreuid02_16.o setreuid01_16.o setreuid05_16.o setreuid05.o setreuid02.o setreuid04_16.o setreuid07_16.o setrlimit06.c:121:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 121 | }; | ^ In file included from setrlimit06.c:29: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setrlimit/setrlimit01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setrlimit/setrlimit03 CC testcases/kernel/syscalls/setrlimit/setrlimit06 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setrlimit/setrlimit05 CC testcases/kernel/syscalls/setrlimit/setrlimit02 CC testcases/kernel/syscalls/setrlimit/setrlimit04 CC testcases/kernel/syscalls/setsid/setsid01 setsockopt05.c:107:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 107 | }; | ^ In file included from setsockopt05.c:28: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ setsockopt04.c:69:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 69 | }; | ^ In file included from setsockopt04.c:20: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ setsockopt06.c:133:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 133 | }; | ^ In file included from setsockopt06.c:25: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ setsockopt07.c:145:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 145 | }; | ^ In file included from setsockopt07.c:28: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setsockopt/setsockopt01 CC testcases/kernel/syscalls/setsockopt/setsockopt04 CC testcases/kernel/syscalls/setsockopt/setsockopt02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setsockopt/setsockopt05 CC testcases/kernel/syscalls/setsockopt/setsockopt03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setsockopt/setsockopt06 CC testcases/kernel/syscalls/setsockopt/setsockopt07 settimeofday02.c:49:1: warning: missing initializer for field 'tags' of 'struct tst_test' [-Wmissing-field-initializers] 49 | }; | ^ In file included from settimeofday02.c:12: ../../../../include/tst_test.h:262:24: note: 'tags' declared here 262 | const struct tst_tag *tags; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/settimeofday/settimeofday01 CC testcases/kernel/syscalls/settimeofday/settimeofday02 CC testcases/kernel/syscalls/setuid/setuid03_16.o CC testcases/kernel/syscalls/setuid/setuid01_16.o CC testcases/kernel/syscalls/setuid/setuid04_16.o CC testcases/kernel/syscalls/setuid/setuid04.o CC testcases/kernel/syscalls/setuid/setuid03.o CC testcases/kernel/syscalls/setuid/setuid01.o LD testcases/kernel/syscalls/setuid/setuid01_16 LD testcases/kernel/syscalls/setuid/setuid01 LD testcases/kernel/syscalls/setuid/setuid03_16 LD testcases/kernel/syscalls/setuid/setuid04_16 LD testcases/kernel/syscalls/setuid/setuid04 LD testcases/kernel/syscalls/setuid/setuid03 rm setuid01.o setuid04_16.o setuid04.o setuid03.o setuid01_16.o setuid03_16.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/setxattr/setxattr03 CC testcases/kernel/syscalls/setxattr/setxattr01 CC testcases/kernel/syscalls/setxattr/setxattr02 CC testcases/kernel/syscalls/sgetmask/sgetmask01 sigaction02.c:53: warning: "_GNU_SOURCE" redefined 53 | #define _GNU_SOURCE | : note: this is the location of the previous definition CC testcases/kernel/syscalls/sigaction/sigaction02 CC testcases/kernel/syscalls/sigaction/sigaction01 CC testcases/kernel/syscalls/sigaltstack/sigaltstack02 CC testcases/kernel/syscalls/sigaltstack/sigaltstack01 sighold02.c: In function 'do_child': sighold02.c:162:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 162 | TEST(sighold(sig)); | ^~~~ In file included from sighold02.c:44: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ CC testcases/kernel/syscalls/sighold/sighold02 CC testcases/kernel/syscalls/signal/signal04 CC testcases/kernel/syscalls/signal/signal02 CC testcases/kernel/syscalls/signal/signal01 CC testcases/kernel/syscalls/signal/signal06 CC testcases/kernel/syscalls/signal/signal05 CC testcases/kernel/syscalls/signal/signal03 In file included from signalfd01.c:40: signalfd01.c: In function 'do_test2': ../../../../include/old/test.h:123:5: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ signalfd01.c:251:3: note: in expansion of macro 'tst_resm' 251 | tst_resm(TFAIL, "got unexpected signal: signal=%d : %s", | ^~~~~~~~ CC testcases/kernel/syscalls/signalfd/signalfd01 CC testcases/kernel/syscalls/signalfd4/signalfd4_01 CC testcases/kernel/syscalls/signalfd4/signalfd4_02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sigpending/sigpending02 CC testcases/kernel/syscalls/sigprocmask/sigprocmask01 In function 'write_pipe', inlined from 'parent' at sigrelse01.c:286:6: sigrelse01.c:639:6: warning: 'write' reading 512 bytes from a region of size 6 [-Wstringop-overflow=] 639 | if (write(fd, msg, MAXMESG) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from sigrelse01.c:109: sigrelse01.c: In function 'parent': /usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)' 367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ In function 'write_pipe', inlined from 'parent' at sigrelse01.c:286:6: sigrelse01.c:639:6: warning: 'write' reading 512 bytes from a region of size 6 [-Wstringop-overflow=] 639 | if (write(fd, msg, MAXMESG) < 0) { | ^ sigrelse01.c: In function 'parent': /usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)' 367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ CC testcases/kernel/syscalls/sigrelse/sigrelse01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sigsuspend/sigsuspend01 BUILD libltpsigwait.a make[5]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sigtimedwait/sigtimedwait01 BUILD libltpsigwait.a make[5]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sigwait/sigwait01 BUILD libltpsigwait.a make[5]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/socket/socket02 CC testcases/kernel/syscalls/socket/socket01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/socketcall/socketcall02 CC testcases/kernel/syscalls/socketcall/socketcall01 CC testcases/kernel/syscalls/socketcall/socketcall03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/socketpair/socketpair01 CC testcases/kernel/syscalls/socketpair/socketpair02 CC testcases/kernel/syscalls/sockioctl/sockioctl01 splice02.c:163:1: warning: missing initializer for field 'scall' of 'struct tst_test' [-Wmissing-field-initializers] 163 | }; | ^ In file included from splice02.c:31: ../../../../include/tst_test.h:226:14: note: 'scall' declared here 226 | const char *scall; | ^~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/splice/splice05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/splice/splice03 CC testcases/kernel/syscalls/splice/splice01 CC testcases/kernel/syscalls/splice/splice04 CC testcases/kernel/syscalls/splice/splice02 CC testcases/kernel/syscalls/ssetmask/ssetmask01 CC testcases/kernel/syscalls/stat/stat01_64.o CC testcases/kernel/syscalls/stat/stat02_64.o CC testcases/kernel/syscalls/stat/stat03_64.o LD testcases/kernel/syscalls/stat/stat02_64 LD testcases/kernel/syscalls/stat/stat03_64 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/stat/stat02 CC testcases/kernel/syscalls/stat/stat03 CC testcases/kernel/syscalls/stat/stat01 LD testcases/kernel/syscalls/stat/stat01_64 rm stat01_64.o stat02_64.o stat03_64.o CC testcases/kernel/syscalls/statfs/statfs01_64.o CC testcases/kernel/syscalls/statfs/statfs02_64.o CC testcases/kernel/syscalls/statfs/statfs03_64.o statfs03.c: In function 'setup': statfs03.c:126:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 29 [-Wformat-overflow=] 126 | sprintf(fname, "%s.%d", fname, getpid()); | ^~ In file included from /usr/include/stdio.h:866, from statfs03.c:55: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 42 bytes into a destination of size 30 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ statfs03.c:130:21: warning: '%s' directive writing up to 29 bytes into a region of size between 20 and 49 [-Wformat-overflow=] 130 | sprintf(path, "%s/%s", fname, fname); | ^~ ~~~~~ In file included from /usr/include/stdio.h:866, from statfs03.c:55: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 60 bytes into a destination of size 50 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ statfs03.c: In function 'setup': statfs03.c:126:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 29 [-Wformat-overflow=] 126 | sprintf(fname, "%s.%d", fname, getpid()); | ^~ In file included from /usr/include/stdio.h:866, from statfs03.c:55: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 42 bytes into a destination of size 30 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ statfs03.c:130:21: warning: '%s' directive writing up to 29 bytes into a region of size between 20 and 49 [-Wformat-overflow=] 130 | sprintf(path, "%s/%s", fname, fname); | ^~ ~~~~~ In file included from /usr/include/stdio.h:866, from statfs03.c:55: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 60 bytes into a destination of size 50 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD testcases/kernel/syscalls/statfs/statfs01_64 CC testcases/kernel/syscalls/statfs/statfs03 CC testcases/kernel/syscalls/statfs/statfs02 CC testcases/kernel/syscalls/statfs/statfs01 LD testcases/kernel/syscalls/statfs/statfs03_64 LD testcases/kernel/syscalls/statfs/statfs02_64 rm statfs01_64.o statfs02_64.o statfs03_64.o CC testcases/kernel/syscalls/statvfs/statvfs01 CC testcases/kernel/syscalls/statvfs/statvfs02 In file included from statx01.c:41: statx01.c: In function 'test_normal_file': ../../../../include/tst_test.h:57:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__u64' {aka 'long long unsigned int'} [-Wformat=] 57 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ statx01.c:81:3: note: in expansion of macro 'tst_res' 81 | tst_res(TPASS, | ^~~~~~~ ../../../../include/tst_test.h:57:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__u64' {aka 'long long unsigned int'} [-Wformat=] 57 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ statx01.c:84:3: note: in expansion of macro 'tst_res' 84 | tst_res(TFAIL, | ^~~~~~~ ../../../../include/tst_test.h:57:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__u64' {aka 'long long unsigned int'} [-Wformat=] 57 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ statx01.c:96:3: note: in expansion of macro 'tst_res' 96 | tst_res(TPASS, "stx_blocks(%"PRIu64") is valid", | ^~~~~~~ ../../../../include/tst_test.h:57:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__u64' {aka 'long long unsigned int'} [-Wformat=] 57 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ statx01.c:99:3: note: in expansion of macro 'tst_res' 99 | tst_res(TFAIL, "stx_blocks(%"PRIu64") is invalid", | ^~~~~~~ In file included from statx02.c:28: statx02.c: In function 'test_empty_path': ../../../../include/tst_test.h:57:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__u64' {aka 'long long unsigned int'} [-Wformat=] 57 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ statx02.c:52:3: note: in expansion of macro 'tst_res' 52 | tst_res(TPASS, | ^~~~~~~ ../../../../include/tst_test.h:57:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__u64' {aka 'long long unsigned int'} [-Wformat=] 57 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~ statx02.c:55:3: note: in expansion of macro 'tst_res' 55 | tst_res(TFAIL, | ^~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/statx/statx01 CC testcases/kernel/syscalls/statx/statx06 CC testcases/kernel/syscalls/statx/statx05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/statx/statx04 CC testcases/kernel/syscalls/statx/statx07 CC testcases/kernel/syscalls/statx/statx03 CC testcases/kernel/syscalls/statx/statx02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/stime/stime02 CC testcases/kernel/syscalls/stime/stime01 CC testcases/kernel/syscalls/string/string01 BUILD libltpswap.a make[5]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/swapoff/swapoff01 CC testcases/kernel/syscalls/swapoff/swapoff02 BUILD libltpswap.a make[5]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/swapon/swapon01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/swapon/swapon02 CC testcases/kernel/syscalls/swapon/swapon03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/switch/endian_switch01 In file included from symlink01.c:219: symlink01.c: In function 'do_link': ../../../../include/old/test.h:123:5: warning: format '%d' expects argument of type 'int', but argument 8 has type '__nlink_t' {aka 'long unsigned int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1563:6: note: in expansion of macro 'tst_resm' 1563 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%d' expects argument of type 'int', but argument 10 has type '__nlink_t' {aka 'long unsigned int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1563:6: note: in expansion of macro 'tst_resm' 1563 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%d' expects argument of type 'int', but argument 12 has type '__nlink_t' {aka 'long unsigned int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1563:6: note: in expansion of macro 'tst_resm' 1563 | tst_resm(TFAIL, | ^~~~~~~~ In function 'delete_files', inlined from 'do_EXDEV.part.0' at symlink01.c:1290:4: symlink01.c:639:2: warning: argument 1 null where non-null expected [-Wnonnull] 639 | unlink(path2); | ^~~~~~~~~~~~~ In file included from symlink01.c:217: symlink01.c: In function 'do_EXDEV.part.0': /usr/include/unistd.h:838:12: note: in a call to function 'unlink' declared here 838 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ In function 'delete_files', inlined from 'do_ENOENT' at symlink01.c:1107:4: symlink01.c:639:2: warning: argument 1 null where non-null expected [-Wnonnull] 639 | unlink(path2); | ^~~~~~~~~~~~~ In file included from symlink01.c:217: symlink01.c: In function 'do_ENOENT': /usr/include/unistd.h:838:12: note: in a call to function 'unlink' declared here 838 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ CC testcases/kernel/syscalls/symlink/symlink02 In function 'delete_files', inlined from 'do_link' at symlink01.c:1576:3: symlink01.c:639:2: warning: argument 1 null where non-null expected [-Wnonnull] 639 | unlink(path2); | ^~~~~~~~~~~~~ In file included from symlink01.c:217: symlink01.c: In function 'do_link': /usr/include/unistd.h:838:12: note: in a call to function 'unlink' declared here 838 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ CC testcases/kernel/syscalls/symlink/symlink05 CC testcases/kernel/syscalls/symlink/symlink03 CC testcases/kernel/syscalls/symlink/symlink04 CC testcases/kernel/syscalls/symlink/symlink01 CC testcases/kernel/syscalls/symlinkat/symlinkat01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sync/sync01 CC testcases/kernel/syscalls/sync_file_range/sync_file_range01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sync_file_range/sync_file_range02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/syncfs/syncfs01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/syscall/syscall01 CC testcases/kernel/syscalls/sysconf/sysconf01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sysctl/sysctl04 CC testcases/kernel/syscalls/sysctl/sysctl01 CC testcases/kernel/syscalls/sysctl/sysctl03 CC testcases/kernel/syscalls/sysfs/sysfs02 CC testcases/kernel/syscalls/sysfs/sysfs01 CC testcases/kernel/syscalls/sysfs/sysfs04 CC testcases/kernel/syscalls/sysfs/sysfs03 CC testcases/kernel/syscalls/sysfs/sysfs05 CC testcases/kernel/syscalls/sysfs/sysfs06 sysinfo03.c:84:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 84 | }; | ^ In file included from sysinfo03.c:19: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/sysinfo/sysinfo02 CC testcases/kernel/syscalls/sysinfo/sysinfo01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/sysinfo/sysinfo03 CC testcases/kernel/syscalls/syslog/syslogtst CC testcases/kernel/syscalls/syslog/syslog11 CC testcases/kernel/syscalls/syslog/syslog12 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/tee/tee02 CC testcases/kernel/syscalls/tee/tee01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/tgkill/tgkill02 CC testcases/kernel/syscalls/tgkill/tgkill01 CC testcases/kernel/syscalls/tgkill/tgkill03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/time/time01 timer_create01.c:114:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 114 | }; | ^ In file included from timer_create01.c:28: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ timer_create03.c:72:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 72 | }; | ^ In file included from timer_create03.c:25: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/timer_create/timer_create02 CC testcases/kernel/syscalls/timer_create/timer_create03 CC testcases/kernel/syscalls/timer_create/timer_create01 timer_delete01.c:70:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 70 | }; | ^ In file included from timer_delete01.c:22: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/timer_delete/timer_delete02 CC testcases/kernel/syscalls/timer_delete/timer_delete01 CC testcases/kernel/syscalls/timer_getoverrun/timer_getoverrun01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/timer_gettime/timer_gettime01 timer_settime03.c:127:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 127 | }; | ^ In file included from timer_settime03.c:29: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ timer_settime01.c:191:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 191 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timer_settime01.c:29: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ timer_settime02.c:153:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 153 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timer_settime02.c:28: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/timer_settime/timer_settime03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/timer_settime/timer_settime02 CC testcases/kernel/syscalls/timer_settime/timer_settime01 timerfd04.c:132:1: warning: missing initializer for field 'bufs' of 'struct tst_test' [-Wmissing-field-initializers] 132 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timerfd04.c:18: ../../../../include/tst_test.h:252:22: note: 'bufs' declared here 252 | struct tst_buffers *bufs; | ^~~~ timerfd_settime02.c:120:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 120 | }; | ^ In file included from ../../../../include/tst_timer.h:19, from ../../../../include/time64_variants.h:20, from timerfd_settime02.c:18: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/timerfd/timerfd03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/timerfd/timerfd_gettime01 CC testcases/kernel/syscalls/timerfd/timerfd02 CC testcases/kernel/syscalls/timerfd/timerfd_create01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/timerfd/timerfd_settime01 CC testcases/kernel/syscalls/timerfd/timerfd01 CC testcases/kernel/syscalls/timerfd/timerfd04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/timerfd/timerfd_settime02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/times/times01 CC testcases/kernel/syscalls/times/times03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/tkill/tkill01 CC testcases/kernel/syscalls/tkill/tkill02 CC testcases/kernel/syscalls/truncate/truncate02_64.o CC testcases/kernel/syscalls/truncate/truncate03_64.o ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ LD testcases/kernel/syscalls/truncate/truncate03_64 CC testcases/kernel/syscalls/truncate/truncate03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/truncate/truncate02 LD testcases/kernel/syscalls/truncate/truncate02_64 rm truncate02_64.o truncate03_64.o CC testcases/kernel/syscalls/ulimit/ulimit01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/umask/umask01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/umount/umount01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/umount/umount02 CC testcases/kernel/syscalls/umount/umount03 CC testcases/kernel/syscalls/umount2/umount2_03 CC testcases/kernel/syscalls/umount2/umount2_01 CC testcases/kernel/syscalls/umount2/umount2_02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/uname/uname04 CC testcases/kernel/syscalls/uname/uname02 CC testcases/kernel/syscalls/uname/uname01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/unlink/unlink08 CC testcases/kernel/syscalls/unlink/unlink07 CC testcases/kernel/syscalls/unlink/unlink05 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/unlinkat/unlinkat01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/unshare/unshare01 CC testcases/kernel/syscalls/unshare/unshare02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/userfaultfd/userfaultfd01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/ustat/ustat01 CC testcases/kernel/syscalls/ustat/ustat02 CC testcases/kernel/syscalls/utime/utime05 CC testcases/kernel/syscalls/utime/utime01 CC testcases/kernel/syscalls/utime/utime04 CC testcases/kernel/syscalls/utime/utime03 CC testcases/kernel/syscalls/utime/utime02 CC testcases/kernel/syscalls/utime/utime06 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/utimensat/utimensat01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/utimes/utimes01 vfork02.c: In function 'setup': vfork02.c:183:2: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 183 | if (sighold(SIGUSR1) == -1) { | ^~ In file included from vfork02.c:76: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ vfork02.c: In function 'cleanup': vfork02.c:225:2: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 225 | if (sigrelse(SIGUSR1) == -1) { | ^~ In file included from vfork02.c:76: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ CC testcases/kernel/syscalls/vfork/vfork02 CC testcases/kernel/syscalls/vfork/vfork01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/vhangup/vhangup02 CC testcases/kernel/syscalls/vhangup/vhangup01 vmsplice03.c:70:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers] 70 | }; | ^ In file included from vmsplice03.c:11: ../../../../include/tst_test.h:257:18: note: 'caps' declared here 257 | struct tst_cap *caps; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/vmsplice/vmsplice01 CC testcases/kernel/syscalls/vmsplice/vmsplice02 CC testcases/kernel/syscalls/vmsplice/vmsplice03 CC testcases/kernel/syscalls/vmsplice/vmsplice04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/wait/wait01 CC testcases/kernel/syscalls/wait/wait02 CC testcases/kernel/syscalls/wait4/wait402 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/wait4/wait401 waitid01.c: In function 'main': waitid01.c:94:9: warning: variable 'a' set but not used [-Wunused-but-set-variable] 94 | int a, b = 0; | ^ CC testcases/kernel/syscalls/waitid/waitid01 CC testcases/kernel/syscalls/waitid/waitid02 waitpid05.c: In function 'main': waitpid05.c:79:6: warning: variable 'exno' set but not used [-Wunused-but-set-variable] 79 | int exno, nexno, status; | ^~~~ CC testcases/kernel/syscalls/waitpid/waitpid04 CC testcases/kernel/syscalls/waitpid/waitpid05 CC testcases/kernel/syscalls/waitpid/waitpid03 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/waitpid/waitpid02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/waitpid/waitpid08 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/waitpid/waitpid06 CC testcases/kernel/syscalls/waitpid/waitpid12 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/waitpid/waitpid07 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/waitpid/waitpid01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/waitpid/waitpid09 CC testcases/kernel/syscalls/waitpid/waitpid13 CC testcases/kernel/syscalls/waitpid/waitpid10 CC testcases/kernel/syscalls/waitpid/waitpid11 write04.c: In function 'setup': write04.c:55:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 99 [-Wformat-overflow=] 55 | sprintf(fifo, "%s.%d", fifo, getpid()); | ^~ In file included from /usr/include/stdio.h:866, from write04.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 112 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/write/write02 CC testcases/kernel/syscalls/write/write03 CC testcases/kernel/syscalls/write/write01 CC testcases/kernel/syscalls/write/write04 CC testcases/kernel/syscalls/write/write05 writev03.c:153:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 153 | }; | ^ In file included from writev03.c:26: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/syscalls/writev/writev06 CC testcases/kernel/syscalls/writev/writev05 CC testcases/kernel/syscalls/writev/writev02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/syscalls/writev/writev01 CC testcases/kernel/syscalls/writev/writev07 CC testcases/kernel/syscalls/writev/writev03 make[3]: Nothing to be done for 'all'. CC testcases/kernel/connectors/pec/pec_listener CC testcases/kernel/connectors/pec/event_generator make -C ../libclone -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/containers/mountns/../libclone/Makefile" all CC testcases/kernel/containers/libclone/libclone.o AR libclone.a RANLIB libclone.a CC testcases/kernel/containers/mountns/mountns04 CC testcases/kernel/containers/mountns/mountns03 CC testcases/kernel/containers/mountns/mountns02 CC testcases/kernel/containers/mountns/mountns01 mqns_03.c: In function 'check_mqueue': mqns_03.c:117:3: warning: 'write' reading 7 bytes from a region of size 6 [-Wstringop-overflow=] 117 | write(p2[1], "stat2", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from mqns_03.c:42: /usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)' 367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ mqns_03.c:123:3: warning: 'write' reading 7 bytes from a region of size 6 [-Wstringop-overflow=] 123 | write(p2[1], "stat3", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from mqns_03.c:42: /usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)' 367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ mqns_03.c: In function 'check_mqueue': mqns_03.c:117:3: warning: 'write' reading 7 bytes from a region of size 6 [-Wstringop-overflow=] 117 | write(p2[1], "stat2", 7); | ^ /usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)' 367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ mqns_03.c:123:3: warning: 'write' reading 7 bytes from a region of size 6 [-Wstringop-overflow=] 123 | write(p2[1], "stat3", 7); | ^ /usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)' 367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ CC testcases/kernel/containers/mqns/mqns_03 CC testcases/kernel/containers/mqns/mqns_01 CC testcases/kernel/containers/mqns/mqns_04 CC testcases/kernel/containers/mqns/mqns_02 netns_netlink.c:126:1: warning: missing initializer for field 'bufs' of 'struct tst_test' [-Wmissing-field-initializers] 126 | }; | ^ In file included from netns_netlink.c:38: ../../../../include/tst_test.h:252:22: note: 'bufs' declared here 252 | struct tst_buffers *bufs; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/containers/netns/netns_netlink pidns10.c: In function 'main': pidns10.c:92:8: warning: variable 'pid' set but not used [-Wunused-but-set-variable] 92 | pid_t pid; | ^~~ pidns05.c: In function 'kill_nested_containers': pidns05.c:153:6: warning: old-style function definition [-Wold-style-definition] 153 | void kill_nested_containers() | ^~~~~~~~~~~~~~~~~~~~~~ pidns05.c: In function 'main': pidns05.c:199:13: warning: variable 'pgid' set but not used [-Wunused-but-set-variable] 199 | pid_t pid, pgid; | ^~~~ pidns05.c:197:6: warning: unused variable 'ret' [-Wunused-variable] 197 | int ret, nbytes, status; | ^~~ CC testcases/kernel/containers/pidns/pidns10 CC testcases/kernel/containers/pidns/pidns01 pidns16.c: In function 'main': pidns16.c:129:5: warning: old-style function definition [-Wold-style-definition] 129 | int main() | ^~~~ CC testcases/kernel/containers/pidns/pidns04 CC testcases/kernel/containers/pidns/pidns05 pidns17.c: In function 'child_fn': pidns17.c:75:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 75 | for (i = 0; i < ARRAY_SIZE(children); i++) { | ^ pidns17.c:99:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 99 | for (i = 0; i < ARRAY_SIZE(children); i++) { | ^ pidns17.c: In function 'main': pidns17.c:137:8: warning: variable 'pid' set but not used [-Wunused-but-set-variable] 137 | pid_t pid; | ^~~ CC testcases/kernel/containers/pidns/pidns06 CC testcases/kernel/containers/pidns/pidns02 CC testcases/kernel/containers/pidns/pidns03 CC testcases/kernel/containers/pidns/pidns12 CC testcases/kernel/containers/pidns/pidns17 CC testcases/kernel/containers/pidns/pidns16 CC testcases/kernel/containers/pidns/pidns20 CC testcases/kernel/containers/pidns/pidns30 CC testcases/kernel/containers/pidns/pidns32 CC testcases/kernel/containers/pidns/pidns31 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/containers/pidns/pidns13 CC testcases/kernel/containers/share/setns_check CC testcases/kernel/containers/share/ns_create CC testcases/kernel/containers/share/ns_ifmove CC testcases/kernel/containers/share/ns_exec CC testcases/kernel/containers/sysvipc/sem_nstest CC testcases/kernel/containers/sysvipc/sem_comm CC testcases/kernel/containers/sysvipc/mesgq_nstest 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 CC testcases/kernel/containers/sysvipc/msg_comm timens01.c:69:1: warning: missing initializer for field 'bufs' of 'struct tst_test' [-Wmissing-field-initializers] 69 | }; | ^ In file included from timens01.c:20: ../../../../include/tst_test.h:252:22: note: 'bufs' declared here 252 | struct tst_buffers *bufs; | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/containers/timens/timens01 CC testcases/kernel/containers/userns/userns06_capcheck CC testcases/kernel/containers/userns/userns07 CC testcases/kernel/containers/userns/userns01 CC testcases/kernel/containers/userns/userns02 CC testcases/kernel/containers/userns/userns03 CC testcases/kernel/containers/userns/userns05 CC testcases/kernel/containers/userns/userns04 CC testcases/kernel/containers/userns/userns06 utstest.c: In function 'P1': utstest.c:120:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] 120 | int len; | ^~~ utstest.c: In function 'main': utstest.c:289:6: warning: variable 'r' set but not used [-Wunused-but-set-variable] 289 | int r, pid, use_clone = T_UNSHARE; | ^ CC testcases/kernel/containers/utsname/utstest make -C ../libcontrollers -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/cgroup/../libcontrollers/Makefile" all CC testcases/kernel/controllers/libcontrollers/libcontrollers.o AR libcontrollers.a RANLIB libcontrollers.a In file included from /usr/include/string.h:532, from cgroup_regression_getdelays.c:16: In function 'strncpy', inlined from 'main' at cgroup_regression_getdelays.c:314:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 292 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at cgroup_regression_getdelays.c:300:4: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgroup_regression_getdelays.c: In function 'main': cgroup_regression_getdelays.c:300:35: note: length computed here 300 | strncpy(containerpath, optarg, strlen(optarg) + 1); | ^~~~~~~~~~~~~~ CC testcases/kernel/controllers/cgroup/cgroup_regression_6_2 CC testcases/kernel/controllers/cgroup/cgroup_regression_fork_processes In function 'strncpy', inlined from 'main' at cgroup_regression_getdelays.c:300:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ cgroup_regression_getdelays.c: In function 'main': cgroup_regression_getdelays.c:300:35: note: length computed here 300 | strncpy(containerpath, optarg, strlen(optarg) + 1); | ^ CC testcases/kernel/controllers/cgroup/cgroup_regression_getdelays make -C ../libcontrollers -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/cgroup_fj/../libcontrollers/Makefile" all make[5]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cgroup_fj/cgroup_fj_proc CC testcases/kernel/controllers/cgroup_xattr/cgroup_xattr make -C ../libcontrollers -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/cpuacct/../libcontrollers/Makefile" all make[5]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cpuacct/cpuacct_task make -C ../libcontrollers -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/cpuctl/../libcontrollers/Makefile" all make[5]: Nothing to be done for 'all'. In file included from cpuctl_def_task03.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_latency_check_task.c: In function 'main': cpuctl_latency_check_task.c:131:13: 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: cpuctl_latency_check_task.c: At top level: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from cpuctl_def_task01.c:58: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from cpuctl_def_task03.c:53: In function 'strncpy', inlined from 'main' at cpuctl_def_task03.c:159:7: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task03.c: In function 'main': cpuctl_def_task03.c:158:8: note: length computed here 158 | len = strlen(path); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:532, from cpuctl_latency_check_task.c:49: In function 'strncpy', inlined from 'main' at cpuctl_latency_check_task.c:97:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cpuctl_latency_test.c:52: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from cpuctl_test02.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from cpuctl_def_task01.c:49: In function 'strncpy', inlined from 'main' at cpuctl_def_task01.c:152:7: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task01.c: In function 'main': cpuctl_def_task01.c:151:8: note: length computed here 151 | len = strlen(path); | ^~~~~~~~~~~~ In file included from cpuctl_def_task04.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from cpuctl_test02.c:52: In function 'strncpy', inlined from 'main' at cpuctl_test02.c:167:7: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test02.c: In function 'main': cpuctl_test02.c:166:8: note: length computed here 166 | len = strlen(path); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:532, from cpuctl_latency_test.c:49: In function 'strncpy', inlined from 'main' at cpuctl_latency_test.c:89:3: In file included from cpuctl_def_task02.c:61: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cpuctl_test01.c:63: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from cpuctl_def_task04.c:52: In function 'strncpy', inlined from 'main' at cpuctl_def_task04.c:169:7: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task04.c: In function 'main': cpuctl_def_task04.c:168:8: note: length computed here 168 | len = strlen(path); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:532, from cpuctl_def_task02.c:52: In function 'strncpy', inlined from 'main' at cpuctl_def_task02.c:163:7: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task02.c: In function 'main': cpuctl_def_task02.c:162:8: note: length computed here 162 | len = strlen(path); | ^~~~~~~~~~~~ CC testcases/kernel/controllers/cpuctl/cpuctl_latency_check_task In file included from /usr/include/string.h:532, from cpuctl_test01.c:53: In function 'strncpy', inlined from 'main' at cpuctl_test01.c:155:7: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test01.c: In function 'main': cpuctl_test01.c:154:8: note: length computed here 154 | len = strlen(path); | ^~~~~~~~~~~~ In file included from cpuctl_test03.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from cpuctl_test03.c:53: In function 'strncpy', inlined from 'main' at cpuctl_test03.c:162:7: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test03.c: In function 'main': cpuctl_test03.c:161:8: note: length computed here 161 | len = strlen(path); | ^~~~~~~~~~~~ CC testcases/kernel/controllers/cpuctl/cpuctl_latency_test In function 'strncpy', inlined from 'main' at cpuctl_test02.c:167:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ cpuctl_test02.c: In function 'main': cpuctl_test02.c:166:8: note: length computed here 166 | len = strlen(path); | ^ CC testcases/kernel/controllers/cpuctl/cpuctl_test02 In file included from cpuctl_test04.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at cpuctl_def_task01.c:152:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ cpuctl_def_task01.c: In function 'main': cpuctl_def_task01.c:151:8: note: length computed here 151 | len = strlen(path); | ^ CC testcases/kernel/controllers/cpuctl/cpuctl_def_task01 In file included from /usr/include/string.h:532, from cpuctl_test04.c:52: In function 'strncpy', inlined from 'main' at cpuctl_test04.c:173:7: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test04.c: In function 'main': cpuctl_test04.c:172:8: note: length computed here 172 | len = strlen(path); | ^~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at cpuctl_test03.c:162:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ cpuctl_test03.c: In function 'main': cpuctl_test03.c:161:8: note: length computed here 161 | len = strlen(path); | ^ In function 'strncpy', inlined from 'main' at cpuctl_def_task03.c:159:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ cpuctl_def_task03.c: In function 'main': cpuctl_def_task03.c:158:8: note: length computed here 158 | len = strlen(path); | ^ CC testcases/kernel/controllers/cpuctl/cpuctl_test03 CC testcases/kernel/controllers/cpuctl/cpuctl_def_task03 In function 'strncpy', inlined from 'main' at cpuctl_test04.c:173:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ cpuctl_test04.c: In function 'main': cpuctl_test04.c:172:8: note: length computed here 172 | len = strlen(path); | ^ CC testcases/kernel/controllers/cpuctl/cpuctl_test04 In function 'strncpy', inlined from 'main' at cpuctl_def_task04.c:169:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ cpuctl_def_task04.c: In function 'main': cpuctl_def_task04.c:168:8: note: length computed here 168 | len = strlen(path); | ^ In function 'strncpy', inlined from 'main' at cpuctl_def_task02.c:163:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ cpuctl_def_task02.c: In function 'main': cpuctl_def_task02.c:162:8: note: length computed here 162 | len = strlen(path); | ^ In function 'strncpy', inlined from 'main' at cpuctl_test01.c:155:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ cpuctl_test01.c: In function 'main': cpuctl_test01.c:154:8: note: length computed here 154 | len = strlen(path); | ^ CC testcases/kernel/controllers/cpuctl/cpuctl_def_task02 CC testcases/kernel/controllers/cpuctl/cpuctl_def_task04 CC testcases/kernel/controllers/cpuctl/cpuctl_test01 make -C ../libcontrollers -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/cpuctl_fj/../libcontrollers/Makefile" all make[5]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cpuctl_fj/cpuctl_fj_cpu-hog CC testcases/kernel/controllers/cpuctl_fj/cpuctl_fj_simple_echo 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 -C ../cpuset_lib -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/../cpuset_lib/Makefile" all CC testcases/kernel/controllers/cpuset/cpuset_lib/meminfo.o 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:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_migrate': libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 23 and 4118 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 32 and 4127 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 27 and 4122 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 33 and 4128 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 13 and 4108 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 13 and 4108 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_collides_exclusive': libcpuset.c:492:34: 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 file included from /usr/include/stdio.h:866, from libcpuset.c:36: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.o AR libcpu_set.a RANLIB libcpu_set.a CC testcases/kernel/controllers/cpuset/cpuset_hotplug_test/cpuset_list_compute make[5]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cpuset/cpuset_load_balance_test/cpuset_cpu_hog CC testcases/kernel/controllers/cpuset/cpuset_load_balance_test/cpuset_sched_domains_check CC testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/cpuset_memory_pressure CC testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/cpuset_mem_hog CC testcases/kernel/controllers/cpuset/cpuset_memory_test/cpuset_memory_test CC testcases/kernel/controllers/cpuset/cpuset_syscall_test/cpuset_syscall_test timed_forkbomb.c: In function 'main': timed_forkbomb.c:58:18: 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:30: 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 '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/fork_exec_loop CC testcases/kernel/controllers/freezer/vfork make -C ../libcontrollers -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/io-throttle/../libcontrollers/Makefile" all make[5]: Nothing to be done for 'all'. iobw.c: In function 'memparse': iobw.c:197:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 197 | ret <<= 10; | ~~~~^~~~~~ iobw.c:198:2: note: here 198 | case 'M': | ^~~~ iobw.c:200:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 200 | ret <<= 10; | ~~~~^~~~~~ iobw.c:201:2: note: here 201 | case 'K': | ^~~~ iobw.c: In function 'spawn': iobw.c:161:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 161 | thread(id); | ^~~~~~~~~~ iobw.c:162:2: note: here 162 | default: | ^~~~~~~ iobw.c: In function 'main': iobw.c:147:2: warning: 'buf' may be used uninitialized in this function [-Wmaybe-uninitialized] 147 | free(buf); | ^~~~~~~~~ iobw.c:85:8: note: 'buf' was declared here 85 | void *buf; | ^~~ iobw.c: In function 'main': iobw.c:147:2: warning: 'buf' may be used uninitialized in this function [-Wmaybe-uninitialized] 147 | free(buf); | ^ iobw.c:85:8: note: 'buf' was declared here 85 | void *buf; | ^ CC testcases/kernel/controllers/io-throttle/iobw CC testcases/kernel/controllers/memcg/control/mem_process CC testcases/kernel/controllers/memcg/functional/memcg_process 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_2 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/controllers/memcg/regression/memcg_test_3 CC testcases/kernel/controllers/memcg/stress/memcg_process_stress make -C ../libcontrollers -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/memctl/../libcontrollers/Makefile" all make[5]: Nothing to be done for 'all'. memctl_test01.c: In function 'main': memctl_test01.c:68:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 68 | int ret; | ^~~ In file included from memctl_test01.c:49: memctl_test01.c: At top level: /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/memctl/../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ CC testcases/kernel/controllers/memctl/memctl_test01 make -C ../libcontrollers -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/controllers/pids/../libcontrollers/Makefile" all make[5]: Nothing to be done for 'all'. CC testcases/kernel/controllers/pids/pids_task2 CC testcases/kernel/controllers/pids/pids_task1 af_alg01.c:84:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 84 | }; | ^ In file included from af_alg01.c:15: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ af_alg02.c:82:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 82 | }; | ^ af_alg03.c:35:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 35 | }; | ^ In file included from af_alg03.c:12: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ In file included from af_alg02.c:18: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ af_alg04.c:62:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 62 | }; | ^ In file included from af_alg04.c:15: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ af_alg05.c:55:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 55 | }; | ^ In file included from af_alg05.c:23: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ af_alg07.c:135:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 135 | }; | ^ In file included from af_alg07.c:42: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ af_alg06.c:55:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 55 | }; | ^ In file included from af_alg06.c:13: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ crypto_user01.c:201:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 201 | }; | ^ In file included from crypto_user01.c:18: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/crypto/af_alg01 crypto_user02.c:141:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 141 | }; | ^ In file included from crypto_user02.c:26: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/crypto/af_alg04 pcrypt_aead01.c:83:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 83 | }; | ^ In file included from pcrypt_aead01.c:22: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/crypto/crypto_user01 ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/crypto/af_alg07 ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/crypto/af_alg06 CC testcases/kernel/crypto/af_alg02 CC testcases/kernel/crypto/af_alg05 CC testcases/kernel/crypto/af_alg03 CC testcases/kernel/crypto/crypto_user02 CC testcases/kernel/crypto/pcrypt_aead01 CC testcases/kernel/device-drivers/acpi/ltp_acpi make[5]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/block/block_dev_user/block_dev CC testcases/kernel/device-drivers/cpufreq/cpufreq_boost make[4]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/pci/tpci_user/tpci make[4]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/rtc/rtc01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/device-drivers/rtc/rtc02 make[5]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/tbio/tbio_user/tbio CC testcases/kernel/device-drivers/uaccess/uaccess CC testcases/kernel/device-drivers/zram/zram03 make[4]: Nothing to be done for 'all'. CC testcases/kernel/firmware/fw_load_user/fw_load make[5]: Nothing to be done for 'all'. CC testcases/kernel/fs/doio/dataascii.o CC testcases/kernel/fs/doio/datapid.o CC testcases/kernel/fs/doio/forker.o CC testcases/kernel/fs/doio/databin.o CC testcases/kernel/fs/doio/file_lock.o CC testcases/kernel/fs/doio/open_flags.o write_log.c: In function 'wlog_open': write_log.c:145:37: warning: '%s' directive writing up to 1023 bytes into a region of size 224 [-Wformat-overflow=] 145 | "Could not open write log - open(%s, %#o) failed: %s\n", | ^~ In file included from /usr/include/stdio.h:866, from write_log.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 49 or more bytes (assuming 1072) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ write_log.c:133:37: warning: '%s' directive writing up to 1023 bytes into a region of size 224 [-Wformat-overflow=] 133 | "Could not open write_log - open(%s, %#o, %#o) failed: %s\n", | ^~ write_log.c:133:4: note: directive argument in the range [1089, 1601] 133 | "Could not open write_log - open(%s, %#o, %#o) failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ write_log.c:133:4: note: assuming directive output of 2 bytes write_log.c:133:4: note: using the range [0, 4294967295] for directive argument In file included from /usr/include/stdio.h:866, from write_log.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 55 or more bytes (assuming 1079) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/doio/string_to_tokens.o CC testcases/kernel/fs/doio/pattern.o write_log.c: In function 'wlog_record_write': write_log.c:243:35: warning: '%s' directive writing up to 1023 bytes into a region of size 228 [-Wformat-overflow=] 243 | "Could not write log - write(%s, %s, %d) failed: %s\n", | ^~ In file included from /usr/include/stdio.h:866, from write_log.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 47 or more bytes (assuming 1521) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ write_log.c:237:48: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 237 | "Could not reposition file pointer - lseek(%s, %ld, SEEK_SET) failed: %s\n", | ^~ write_log.c:237:5: note: directive argument in the range [0, 9223372036854775807] 237 | "Could not reposition file pointer - lseek(%s, %ld, SEEK_SET) failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from write_log.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 68 or more bytes (assuming 1109) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ write_log.c:229:49: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 229 | "Could not reposition file pointer - lseek(%s, 0, SEEK_CUR) failed: %s\n", | ^~ In file included from /usr/include/stdio.h:866, from write_log.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 68 or more bytes (assuming 1091) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ write_log.c:222:34: warning: '%s' directive writing up to 1023 bytes into a region of size 228 [-Wformat-overflow=] 222 | "Could not write log - write(%s, %s, %d) failed: %s\n", | ^~ write_log.c:222:5: note: directive argument in the range [30, 235] 222 | "Could not write log - write(%s, %s, %d) failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from write_log.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 47 or more bytes (assuming 1522) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/doio/bytes_by_prefix.o write_log.c: In function 'wlog_scan_backward': write_log.c:313:48: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 313 | "Could not reposition file pointer - lseek(%s, %d, SEEK_SET) failed: %s\n", | ^~ In file included from /usr/include/stdio.h:866, from write_log.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 68 or more bytes (assuming 1091) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ write_log.c:285:47: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 285 | "Could not reposition file pointer - lseek(%s, 0, SEEK_CUR) failed: %s\n", | ^~ In file included from /usr/include/stdio.h:866, from write_log.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 68 or more bytes (assuming 1091) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ write_log.c:278:47: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 278 | "Could not reposition file pointer - lseek(%s, 0, SEEK_END) failed: %s\n", | ^~ In file included from /usr/include/stdio.h:866, from write_log.c:66: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 68 or more bytes (assuming 1091) into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/doio/write_log.o iogen.c:190:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 190 | {"none", 0}, | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:207:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 207 | {NULL, -1} | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:223:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 223 | {"random", M_RANDOM}, | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:224:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 224 | {"sequential", M_SEQUENTIAL}, | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:225:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 225 | {"reverse", M_REVERSE}, | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:226:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 226 | {NULL, -1} | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:305:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 305 | {"readv", READV}, | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:307:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 307 | {"mmread", MMAPR}, | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:313:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 313 | {NULL, -1} | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:354:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 354 | {NULL, -1} | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:362:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 362 | {"regular", S_IFREG}, | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:363:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 363 | {"blk-spec", S_IFBLK}, | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:364:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 364 | {"chr-spec", S_IFCHR}, | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:365:2: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 365 | {NULL, 0} | ^ iogen.c:113:6: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ doio.c: In function 'do_write': doio.c:1601:26: warning: variable 'signo' set but not used [-Wunused-but-set-variable] 1601 | int fd, nbytes, oflags, signo; | ^~~~~ doio.c: In function 'sy_mmrw': doio.c:2895:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 2895 | int rc; | ^~ doio.c: At top level: doio.c:3038:3: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3038 | 0}, | ^ doio.c:192:6: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ doio.c:3041:3: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3041 | SY_WRITE}, | ^~~~~~~~ iogen.c: In function 'parse_cmdline': doio.c:192:6: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ iogen.c:1384:6: warning: variable 'nopenargs' set but not used [-Wunused-but-set-variable] 1384 | int nopenargs; | ^~~~~~~~~ doio.c:3044:3: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3044 | 0}, | ^ doio.c:192:6: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ doio.c:3047:3: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3047 | SY_WRITE}, | ^~~~~~~~ doio.c:192:6: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ doio.c:3052:3: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3052 | 0}, | ^ doio.c:192:6: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ 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:4: note: in expansion of macro 'exit' 453 | exit(0); | ^~~~ growfiles.c:455:3: note: here 455 | case 'b': /* batch */ | ^~~~ iogen.c:1522:28: warning: ')' directive writing 1 byte into a region of size between 0 and 39 [-Wformat-overflow=] 1522 | sprintf(TagName, "(%.39s)", optarg); | ^ In file included from /usr/include/stdio.h:866, from iogen.c:36: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 42 bytes into a destination of size 40 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ growfiles.c:938:28: warning: ')' directive writing 1 byte into a region of size between 0 and 39 [-Wformat-overflow=] 938 | sprintf(TagName, "(%.39s)", optarg); | ^ In file included from /usr/include/stdio.h:866, from growfiles.c:69: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 42 bytes into a destination of size 40 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doio.c: In function 'parse_cmdline': doio.c:5052:28: warning: ')' directive writing 1 byte into a region of size between 0 and 39 [-Wformat-overflow=] 5052 | sprintf(TagName, "(%.39s)", optarg); | ^ In file included from /usr/include/stdio.h:866, from doio.c:50: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 42 bytes into a destination of size 40 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/doio/iogen CC testcases/kernel/fs/doio/doio CC testcases/kernel/fs/doio/growfiles CC testcases/kernel/fs/fs-bench/boxmuler.o create-files.c: In function 'main': create-files.c:63:27: warning: '%s' directive writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 63 | sprintf(filename, "%s%s%s%2.2x", dir1, | ^~ 64 | dir2, dir3, l); | ~~~~ create-files.c:63:24: note: directive argument in the range [0, 254] 63 | sprintf(filename, "%s%s%s%2.2x", dir1, | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from create-files.c:3: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 12288 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/fs-bench/random-access-del-create.o CC testcases/kernel/fs/fs-bench/create-files.o CC testcases/kernel/fs/fs-bench/random-access LD testcases/kernel/fs/fs-bench/create-files LD testcases/kernel/fs/fs-bench/random-access-del-create CC testcases/kernel/fs/fs_bind/bin/smount CC testcases/kernel/fs/fs_bind/bin/nsclone CC testcases/kernel/fs/fs_di/create_datafile CC testcases/kernel/fs/fs_di/frag fs_fill.c: In function 'worker': fs_fill.c:50:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 50 | snprintf(file, sizeof(file), "%s/%s", | ^~ In file included from /usr/include/stdio.h:866, from fs_fill.c:12: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/fs/fs_fill/fs_fill make[4]: Nothing to be done for 'all'. CC testcases/kernel/fs/fs_perms/fs_perms make[4]: Nothing to be done for 'all'. fsstress.c: In function 'creat_f': fsstress.c:1684:6: warning: variable 'extsize' set but not used [-Wunused-but-set-variable] 1684 | int extsize; | ^~~~~~~ fsstress.c: In function 'dread_f': fsstress.c:1850:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1850 | else if (len > diob.d_maxiosz) | ^ In file included from global.h:39, from fsstress.c:34: fsstress.c: In function 'dwrite_f': xfscompat.h:6:22: warning: comparison of integer expressions of different signedness: '__off_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^ fsstress.c:1933:24: note: in expansion of macro 'MIN' 1933 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ xfscompat.h:6:29: warning: operand of '?:' changes signedness from '__off_t' {aka '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:1933:24: note: in expansion of macro 'MIN' 1933 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ fsstress.c:1940:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1940 | else if (len > diob.d_maxiosz) | ^ In file included from global.h:39, from fsstress.c:34: fsstress.c: In function 'truncate_f': xfscompat.h:6:22: warning: comparison of integer expressions of different signedness: '__off_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^ fsstress.c:2537:13: note: in expansion of macro 'MIN' 2537 | off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); | ^~~ xfscompat.h:6:29: warning: operand of '?:' changes signedness from '__off_t' {aka '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:2537:13: note: in expansion of macro 'MIN' 2537 | 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: '__off_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^ fsstress.c:2663:24: note: in expansion of macro 'MIN' 2663 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ xfscompat.h:6:29: warning: operand of '?:' changes signedness from '__off_t' {aka '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:2663:24: note: in expansion of macro 'MIN' 2663 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ In file included from /usr/include/unistd.h:1183, from global.h:60, from fsstress.c:34: In function 'getcwd', inlined from 'doproc' at fsstress.c:765:12: /usr/include/bits/unistd.h:217:10: warning: '*getcwd' specified size 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 217 | return __getcwd_alias (__buf, __size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/stat.h:25, from global.h:47, from fsstress.c:34: /usr/include/bits/unistd.h: In function 'doproc': /usr/include/bits/unistd.h:197:14: note: in a call to function '*getcwd' declared with attribute 'write_only (1, 2)' 197 | extern char *__REDIRECT_NTH (__getcwd_alias, | ^~~~~~~~~~~~~~ In function 'getcwd', inlined from 'doproc' at fsstress.c:765:12: /usr/include/bits/unistd.h:217:10: warning: '__getcwd_alias' specified size 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 217 | return __getcwd_alias (__buf, __size); | ^ /usr/include/bits/unistd.h: In function 'doproc': /usr/include/bits/unistd.h:197:14: note: in a call to function '__getcwd_alias' declared with attribute 'write_only (1, 2)' 197 | extern char *__REDIRECT_NTH (__getcwd_alias, | ^ CC testcases/kernel/fs/fsstress/fsstress fsx-linux.c: In function 'doread': fsx-linux.c:628:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 628 | if (iret == -1) | ^~ fsx-linux.c: In function 'dowrite': fsx-linux.c:766:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 766 | if (iret == -1) | ^~ fsx-linux.c: In function 'test': fsx-linux.c:1023:23: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'off_t' {aka 'long int'} [-Wsign-compare] 1023 | if (offset + size > file_size) | ^ fsx-linux.c:1034:29: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1034 | if (closeprob && (rv >> 3) < (1 << 28) / closeprob) | ^ fsx-linux.c: In function 'main': fsx-linux.c:1179:25: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1179 | if (progressinterval < 0) | ^ fsx-linux.c:1308:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1308 | for (i = 0; i < maxfilelen; i++) | ^ fsx-linux.c:1326:15: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1326 | if (written != maxfilelen) { | ^~ fsx-linux.c:1168:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1168 | debug = 1; | ~~~~~~^~~ fsx-linux.c:1169:3: note: here 1169 | case 'n': | ^~~~ In file included from /usr/include/string.h:532, from fsx-linux.c:46: In function 'strncpy', inlined from 'main' at fsx-linux.c:1225:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at fsx-linux.c:1227:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/fsx-linux/fsx-linux CC testcases/kernel/fs/ftest/libftest.o ftest01.c: In function 'setup': ftest01.c:144:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 144 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /usr/include/sys/wait.h:36, from ftest01.c:53: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest01.c:61: ftest01.c: In function 'dotest': ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest01.c:373:6: note: in expansion of macro 'tst_resm' 373 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest01.c:406:6: note: in expansion of macro 'tst_resm' 406 | tst_resm(TINFO, | ^~~~~~~~ ftest03.c: In function 'setup': ftest04.c: In function 'setup': ftest03.c:164:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 164 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /usr/include/sys/param.h:28, from ftest03.c:57: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest03.c:66: ftest03.c: In function 'dotest': ftest04.c:136:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 136 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /usr/include/sys/param.h:28, from ftest04.c:42: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest04.c:50: ftest04.c: In function 'dotest': ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest03.c:437:7: note: in expansion of macro 'tst_resm' 437 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest03.c:475:7: note: in expansion of macro 'tst_resm' 475 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest04.c:356:7: note: in expansion of macro 'tst_resm' 356 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest04.c:385:7: note: in expansion of macro 'tst_resm' 385 | tst_resm(TINFO, | ^~~~~~~~ ftest05.c: In function 'setup': ftest05.c:152:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 152 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /usr/include/sys/wait.h:36, from ftest05.c:57: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest05.c:65: ftest05.c: In function 'dotest': ftest05.c:333:7: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 7 has type 'long int' [-Wformat=] 333 | "\tTest[%d]: lseek64(0) fail at %Lx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/old/test.h:153:50: note: in definition of macro 'tst_brkm' 153 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \ | ^~~ ftest05.c:333:41: note: format string is defined here 333 | "\tTest[%d]: lseek64(0) fail at %Lx", | ~~^ | | | long long unsigned int | %lx In file included from ftest05.c:65: ftest05.c:338:7: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 7 has type 'long int' [-Wformat=] 338 | "\tTest[%d]: read fail at %Lx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/old/test.h:153:50: note: in definition of macro 'tst_brkm' 153 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \ | ^~~ ftest05.c:338:35: note: format string is defined here 338 | "\tTest[%d]: read fail at %Lx", | ~~^ | | | long long unsigned int | %lx In file included from ftest05.c:65: ../../../../include/old/test.h:123:5: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 6 has type 'long int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:357:6: note: in expansion of macro 'tst_resm' 357 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:365:6: note: in expansion of macro 'tst_resm' 365 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 6 has type 'long int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:388:6: note: in expansion of macro 'tst_resm' 388 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:396:6: note: in expansion of macro 'tst_resm' 396 | tst_resm(TINFO, | ^~~~~~~~ ftest05.c:415:7: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 7 has type 'long int' [-Wformat=] 415 | "\tTest[%d]: lseek64(1) fail at %Lx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/old/test.h:153:50: note: in definition of macro 'tst_brkm' 153 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \ | ^~~ ftest05.c:415:41: note: format string is defined here 415 | "\tTest[%d]: lseek64(1) fail at %Lx", | ~~^ | | | long long unsigned int | %lx In file included from ftest05.c:65: ../../../../include/old/test.h:123:5: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 6 has type 'long int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:425:6: note: in expansion of macro 'tst_resm' 425 | tst_resm(TFAIL | TERRNO, | ^~~~~~~~ ftest07.c: In function 'setup': ftest08.c: In function 'init': ftest07.c:168:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 168 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /usr/include/sys/param.h:28, from ftest07.c:62: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest07.c:72: ftest07.c: In function 'dotest': ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest07.c:432:7: note: in expansion of macro 'tst_resm' 432 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest07.c:470:7: note: in expansion of macro 'tst_resm' 470 | tst_resm(TINFO, | ^~~~~~~~ ftest07.c: In function 'domisc': ftest07.c:590:18: warning: comparison of integer expressions of different signedness: '__off_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 590 | if (sb.st_size != file_max) { | ^~ ftest08.c:141:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 141 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /usr/include/sys/param.h:28, from ftest08.c:47: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest08.c:57: ftest08.c: In function 'dotest': ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest08.c:371:7: note: in expansion of macro 'tst_resm' 371 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest08.c:402:7: note: in expansion of macro 'tst_resm' 402 | tst_resm(TINFO, | ^~~~~~~~ ftest01.c:447:19: warning: 'whenmisc' may be used uninitialized in this function [-Wmaybe-uninitialized] 447 | if (misc_intvl && --whenmisc <= 0) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ftest05.c:436:19: warning: 'whenmisc' may be used uninitialized in this function [-Wmaybe-uninitialized] 436 | if (misc_intvl && --whenmisc <= 0) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ftest06.c: In function 'main': ftest06.c:141:8: 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()); | ^~~~~~~~~ In file included from /usr/include/stdio.h:866, from ftest06.c:50: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 11 and 4116 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftest05.c: In function 'main': ftest05.c:436:19: warning: 'whenmisc' may be used uninitialized in this function [-Wmaybe-uninitialized] 436 | if (misc_intvl && --whenmisc <= 0) { | ^ ftest05.c:260:32: note: 'whenmisc' was declared here 260 | int i, count, collide, chunk, whenmisc, xfr; | ^ ftest01.c: In function 'main': ftest01.c:447:19: warning: 'whenmisc' may be used uninitialized in this function [-Wmaybe-uninitialized] 447 | if (misc_intvl && --whenmisc <= 0) { | ^ ftest01.c:262:29: note: 'whenmisc' was declared here 262 | int count, collide, chunk, whenmisc, xfr, i; | ^ CC testcases/kernel/fs/ftest/ftest04 CC testcases/kernel/fs/ftest/ftest05 CC testcases/kernel/fs/ftest/ftest02 CC testcases/kernel/fs/ftest/ftest01 CC testcases/kernel/fs/ftest/ftest06 CC testcases/kernel/fs/ftest/ftest03 CC testcases/kernel/fs/ftest/ftest08 CC testcases/kernel/fs/ftest/ftest07 inode02.c: In function 'main': inode02.c:124:22: 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:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 285 | if (snp_ret < 0 || snp_ret >= sizeof(path_list_string)) { | ^~ inode01.c: In function 'main': inode02.c: In function 'generate': inode01.c:122:22: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 122 | if (signal(SIGTERM, (void (*)())term) == SIG_ERR) { | ^ inode02.c:427:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 427 | if (snp_ret < 0 || snp_ret >= sizeof(new_string)) { | ^~ inode01.c:161:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 161 | if (snp_ret < 0 || snp_ret >= sizeof(path_list_string)) { | ^~ inode01.c: In function 'generate': inode01.c:330:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 330 | if (snp_ret < 0 || snp_ret >= sizeof(new_string)) { | ^~ CC testcases/kernel/fs/inode/inode01 CC testcases/kernel/fs/inode/inode02 make[4]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/fs/lftest/lftest make[4]: Nothing to be done for 'all'. CC testcases/kernel/fs/openfile/openfile CC testcases/kernel/fs/proc/proc01 make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/fs/read_all/read_all stream03.c: In function 'main': stream03.c:94:11: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 94 | if (pos != strlen(junk)) { | ^~ stream03.c:120:11: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 120 | if (pos != strlen(junk)) { | ^~ stream03.c:135:11: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 135 | if (pos != strlen(junk)) { | ^~ stream03.c:163:11: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 163 | if (pos != strlen(junk)) { | ^~ stream03.c:207:12: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (opos != strlen(junk)) { | ^~ stream03.c:233:12: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 233 | if (opos != strlen(junk)) { | ^~ stream03.c:248:12: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 248 | if (opos != strlen(junk)) { | ^~ stream03.c:277:12: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 277 | if (opos != strlen(junk)) { | ^~ In file included from stream04.c:38: stream04.c: In function 'main': ../../../../include/old/test.h:123:5: warning: format '%zi' expects argument of type 'signed size_t', but argument 6 has type 'int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ stream04.c:87:4: note: in expansion of macro 'tst_resm' 87 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:5: warning: format '%zi' expects argument of type 'signed size_t', but argument 6 has type 'int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ stream04.c:108:4: note: in expansion of macro 'tst_resm' 108 | tst_resm(TFAIL, | ^~~~~~~~ CC testcases/kernel/fs/stream/stream04 CC testcases/kernel/fs/stream/stream01 CC testcases/kernel/fs/stream/stream05 CC testcases/kernel/fs/stream/stream02 CC testcases/kernel/fs/stream/stream03 make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. memtoy.c: In function 'set_signals': memtoy.c:218:6: warning: old-style function definition [-Wold-style-definition] 218 | void set_signals() | ^~~~~~~~~~~ memtoy.c:243:8: 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() | ^~~~~~~~~~~~ memtoy.c:314:26: 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 memtoy.c: In function 'touch_memory': memtoy.c:326:30: warning: variable 'sink' set but not used [-Wunused-but-set-variable] 326 | unsigned long *memend, *pp, sink; | ^~~~ memtoy.c: In function 'cleanup': memtoy.c:389:13: warning: old-style function definition [-Wold-style-definition] 389 | static void cleanup() | ^~~~~~~ memtoy.c: In function 'parse_command_line_args': memtoy.c:413:9: warning: unused variable 'next' [-Wunused-variable] 413 | char *next; | ^~~~ memtoy.c:402:6: warning: unused variable 'argval' [-Wunused-variable] 402 | int argval; | ^~~~~~ memtoy.c: In function 'main': memtoy.c:457:7: warning: variable 'user_is_super' set but not used [-Wunused-but-set-variable] 457 | bool user_is_super; | ^~~~~~~~~~~~~ In file included from memtoy.c:43: 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: In function 'get_range': commands.c:170:21: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 170 | if (range->offset == BOGUS_SIZE) | ^~ commands.c: In function 'numa_info': commands.c:527:36: warning: passing argument 2 of 'numa_node_size' from incompatible pointer type [-Wincompatible-pointer-types] 527 | node_size = numa_node_size(node, &node_free); | ^~~~~~~~~~ | | | long int * In file included from commands.c:40: /usr/include/numa.h:146:47: note: expected 'long long int *' but argument is of type 'long int *' 146 | long long numa_node_size(int node, long long *freep); | ~~~~~~~~~~~^~~~~ commands.c: In function 'show_seg': commands.c:657:11: warning: unused variable 'gcp' [-Wunused-variable] 657 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'anon_seg': commands.c:676:11: warning: unused variable 'gcp' [-Wunused-variable] 676 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'file_seg': commands.c:714:11: warning: unused variable 'gcp' [-Wunused-variable] 714 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'remove_seg': commands.c:813:11: warning: unused variable 'gcp' [-Wunused-variable] 813 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'touch_seg': segment.c: In function 'map_file_segment': commands.c:835:11: warning: unused variable 'gcp' [-Wunused-variable] 835 | glctx_t *gcp = &glctx; | ^~~ segment.c:385:23: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 385 | if (segp->seg_offset > size) { | ^ commands.c: In function 'unmap_seg': commands.c:869:11: warning: unused variable 'gcp' [-Wunused-variable] 869 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'map_seg': commands.c:889:11: warning: unused variable 'gcp' [-Wunused-variable] 889 | glctx_t *gcp = &glctx; | ^~~ commands.c: In function 'mbind_seg': commands.c:929:11: warning: unused variable 'gcp' [-Wunused-variable] 929 | glctx_t *gcp = &glctx; | ^~~ segment.c: In function 'segment_touch': segment.c:688:13: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 688 | if (offset >= segp->seg_length) { | ^~ commands.c: In function 'shmem_seg': commands.c:992:11: warning: unused variable 'gcp' [-Wunused-variable] 992 | glctx_t *gcp = &glctx; | ^~~ segment.c:710:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 710 | printf("%s: touched %d pages in %6.3f secs\n", | ~^ | | | int | %ld 711 | gcp->program_name, length / gcp->pagesize, | ~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} commands.c: In function 'where_seg': commands.c:1033:6: warning: unused variable 'ret' [-Wunused-variable] 1033 | int ret; | ^~~ segment.c: In function 'segment_mbind': segment.c:837:13: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 837 | if (offset >= segp->seg_length) { | ^~ segment.c:818:8: warning: variable 'start' set but not used [-Wunused-but-set-variable] 818 | char *start; | ^~~~~ segment.c: In function 'segment_location': commands.c: In function 'process_commands': segment.c:900:13: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 900 | if (offset >= segp->seg_length) { | ^~ commands.c:1240:6: warning: old-style function definition [-Wold-style-definition] 1240 | void process_commands() | ^~~~~~~~~~~~~~~~ segment.c:947:20: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=] 947 | fprintf(stderr, "\n%s: " | ^~~~~~~~~ segment.c:948:51: note: format string is defined here 948 | "failed to get node for segment %s, offset 0x%x\n", | ~^ | | | unsigned int | %lx commands.c: At top level: commands.c:84:45: 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); | ^~~~~~~~~~ commands.c: In function 'get_current_nodeid_list': commands.c:447:20: warning: 'gcp' is used uninitialized in this function [-Wuninitialized] 447 | int nr_nodes = 0, max_node = gcp->numa_max_node; | ^~~~~~~~ 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) | ~~~~~~~~~~~~~~~^~~~ 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 CC testcases/kernel/input/input_helper.o CC testcases/kernel/input/input02 CC testcases/kernel/input/input01 CC testcases/kernel/input/input05 CC testcases/kernel/input/input06 CC testcases/kernel/input/input03 CC testcases/kernel/input/input04 CC testcases/kernel/io/aio/aio01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/io/aio/aio02 CC testcases/kernel/io/direct_io/diotest_routines.o CC testcases/kernel/io/direct_io/diotest3 CC testcases/kernel/io/direct_io/diotest5 CC testcases/kernel/io/direct_io/diotest1 CC testcases/kernel/io/direct_io/diotest4 CC testcases/kernel/io/direct_io/diotest2 CC testcases/kernel/io/direct_io/dma_thread_diotest CC testcases/kernel/io/direct_io/diotest6 CC testcases/kernel/io/disktest/Getopt.o dump.c: In function 'do_dump': dump.c:209:17: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 209 | if ((NumBytes > args->htrsiz * BLK_SIZE) || (NumBytes < 0)) { | ^ dump.c:216:23: warning: comparison of integer expressions of different signedness: 'OFF_T' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] 216 | } while ((TotalBytes < (args->htrsiz * BLK_SIZE)) && (NumBytes > 0)); | ^ childmain.c: In function 'action_in_use': childmain.c:73:84: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'OFF_T' {aka 'long long int'} [-Wsign-compare] 73 | ||((target.lba < env->action_list[i].lba) && (target.lba + target.trsiz - 1) >= env->action_list[i].lba) /* attempting transfer over an lba in use */ | ^~ childmain.c: In function 'write_error_mark': childmain.c:162:7: warning: variable 'tcnt' set but not used [-Wunused-but-set-variable] 162 | long tcnt = 0; | ^~~~ childmain.c: In function 'get_next_action': childmain.c:302:44: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'OFF_T' {aka 'long long int'} [-Wsign-compare] 302 | && ((*(tmpLBA) + (target.trsiz - 1)) <= | ^~ childmain.c:343:33: warning: comparison of integer expressions of different signedness: 'OFF_T' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 343 | if ((target.lba - guessLBA) <= | ^~ childmain.c:346:42: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'OFF_T' {aka 'long long int'} [-Wsign-compare] 346 | } else if ((guessLBA + target.trsiz) > | ^ childmain.c:353:42: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'OFF_T' {aka 'long long int'} [-Wsign-compare] 353 | if ((target.lba + (target.trsiz - 1)) > args->stop_lba) { | ^ childmain.c: In function 'complete_io': childmain.c:553:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 553 | for (i = 0; i < target.trsiz; i++) { | ^ childmain.c: In function 'ChildMain': childmain.c:678:19: warning: comparison of integer expressions of different signedness: 'OFF_T' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] 678 | while (delayMask <= (args->delayTimeMax - args->delayTimeMin)) { | ^~ CC testcases/kernel/io/disktest/globals.o signals.c: In function 'sig_handler': signals.c:61:6: warning: variable 'rv' set but not used [-Wunused-but-set-variable] 61 | int rv; | ^~ main.c: In function 'init_data': main.c:246:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 246 | for (i = 0; i < sizeof(test->args->pattern); i++) { | ^ main.c: In function 'threadedMain': main.c:407:34: warning: comparison of integer expressions of different signedness: 'OFF_T' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] 407 | && (test->env->pass_count >= test->args->cycles)) { | ^~ main.c: In function 'run': main.c:483:12: warning: old-style function definition [-Wold-style-definition] 483 | test_ll_t *run() | ^~~ parse.c: In function 'check_conclusions': CC testcases/kernel/io/disktest/io.o parse.c:1030:17: warning: comparison of integer expressions of different signedness: 'OFF_T' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] 1030 | if (args->vsiz < args->htrsiz) { | ^ parse.c:1169:44: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'OFF_T' {aka 'long long int'} [-Wsign-compare] 1169 | && ((args->offset + args->ltrsiz - 1) > args->stop_lba)) { | ^ In file included from /usr/include/string.h:532, from main.c:48: In function 'strncpy', inlined from 'main' at main.c:570:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/io/disktest/signals.o CC testcases/kernel/io/disktest/dump.o CC testcases/kernel/io/disktest/stats.o timer.c: In function 'ChildTimer': timer.c:80:8: warning: variable 'tmp_io_count' set but not used [-Wunused-but-set-variable] 80 | OFF_T tmp_io_count = 0; | ^~~~~~~~~~~~ timer.c:76:9: warning: variable 'total_time' set but not used [-Wunused-but-set-variable] 76 | time_t total_time = 0; | ^~~~~~~~~~ sfunc.c: In function 'pMsg': sfunc.c:156:21: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 8 and 15 [-Wformat-overflow=] 156 | #define TIME_FORMAT "%04d/%02d/%02d-%02d:%02d:%02d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfunc.c:156:27: note: format string is defined here 156 | #define TIME_FORMAT "%04d/%02d/%02d-%02d:%02d:%02d" | ^~~~ sfunc.c:156:21: note: directive argument in the range [-2147483647, 2147483647] 156 | #define TIME_FORMAT "%04d/%02d/%02d-%02d:%02d:%02d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfunc.c:29: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 20 and 72 bytes into a destination of size 20 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/io/disktest/threading.o CC testcases/kernel/io/disktest/usage.o In function 'strncpy', inlined from 'run' at main.c:518:6, inlined from 'run' at main.c:483:12: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'run': main.c:518:6: note: length computed here 518 | strncpy(newTest->args->device, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 519 | aFilespec, strlen(aFilespec)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/io/disktest/timer.o CC testcases/kernel/io/disktest/main.o CC testcases/kernel/io/disktest/sfunc.o childmain.c:598:6: warning: variable 'exit_code' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 598 | int exit_code = 0, rv = 0; | ^~~~~~~~~ childmain.c:598:21: warning: variable 'rv' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 598 | int exit_code = 0, rv = 0; | ^~ childmain.c:602:15: warning: variable 'retries' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 602 | unsigned int retries = 0; | ^~~~~~~ childmain.c:603:7: warning: variable 'is_retry' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 603 | BOOL is_retry = FALSE; | ^~~~~~~~ childmain.c:604:8: warning: variable 'msg_level' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 604 | lvl_t msg_level = WARN; | ^~~~~~~~~ CC testcases/kernel/io/disktest/childmain.o CC testcases/kernel/io/disktest/parse.o x86_64-alt-linux-gcc -L../../../../lib Getopt.o childmain.o dump.o globals.o io.o main.o parse.o sfunc.o signals.o stats.o threading.o timer.o usage.o -lpthread -o disktest In function 'strncpy', inlined from 'run' at main.c:518:6, inlined from 'run' at main.c:483:12, inlined from 'main' at main.c:588:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ main.c: In function 'main': main.c:518:6: note: length computed here 518 | strncpy(newTest->args->device, | ^ aio-stress.c: In function 'drop_shm': aio-stress.c:923:6: warning: old-style function definition [-Wold-style-definition] 923 | void drop_shm() | ^~~~~~~~ In file included from dio_sparse.c:53: common_sparse.h: In function 'scale_by_kmg': common_sparse.h:65:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 65 | value *= 1024; | ~~~~~~^~~~~~~ common_sparse.h:66:2: note: here 66 | case 'm': | ^~~~ common_sparse.h:68:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 68 | value *= 1024; | ~~~~~~^~~~~~~ common_sparse.h:69:2: note: here 69 | case 'k': | ^~~~ aio-stress.c: In function 'run_workers': aio-stress.c:1244:39: warning: cast between incompatible function types from 'int (*)(struct thread_info *)' to 'void * (*)(void *)' [-Wcast-function-type] 1244 | pthread_create(&t[i].tid, NULL, (start_routine) worker, | ^ aio-stress.c: In function 'restart_oper': aio-stress.c:812:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 812 | if (stages & (1 << READ)) | ^ aio-stress.c:814:2: note: here 814 | case READ: | ^~~~ aio-stress.c:815:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 815 | if (!new_rw && stages & (1 << RWRITE)) | ^ aio-stress.c:817:2: note: here 817 | case RWRITE: | ^~~~ aio-stress.c: In function 'main': aio-stress.c:1365:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 1365 | context_offset = parse_size(optarg, 1024 * 1024); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aio-stress.c:1366:3: note: here 1366 | case 'b': | ^~~~ aiocp.c: In function 'wr_done': aiocp.c:230:10: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 230 | if (res != iocb->u.c.nbytes) { | ^~ aiocp.c: In function 'scale_by_kmg': In file included from aiodio_sparse.c:58: common_sparse.h: In function 'scale_by_kmg': common_sparse.h:65:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 65 | value *= 1024; | ~~~~~~^~~~~~~ common_sparse.h:66:2: note: here 66 | case 'm': | ^~~~ common_sparse.h:68:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 68 | value *= 1024; | ~~~~~~^~~~~~~ common_sparse.h:69:2: note: here 69 | case 'k': | ^~~~ aiocp.c:305:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 305 | value *= 1024; | ~~~~~~^~~~~~~ aiocp.c:306:2: note: here 306 | case 'm': | ^~~~ aiocp.c:308:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 308 | value *= 1024; | ~~~~~~^~~~~~~ aiocp.c:309:2: note: here 309 | case 'k': | ^~~~ dio_truncate.c: In function 'check_zero': dio_sparse.c: In function 'dio_sparse': dio_sparse.c:72:12: warning: 'bufptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 72 | if ((w = write(fd, bufptr, writesize)) != writesize) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dio_truncate.c:54:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 54 | "non zero buffer at buf[%d] => 0x%02x,%02x,%02x,%02x\n", | ~^ | | | int | %ld 55 | buf - p, (unsigned int)buf[0], | ~~~~~~~ | | | long int dio_truncate.c:60:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 60 | return buf; | ^~~ dio_append.c: In function 'dio_append': dio_append.c:101:12: warning: 'bufptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 101 | if ((w = write(fd, bufptr, 64 * 1024)) != 64 * 1024) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/io/ltp-aiodio/dirty dio_truncate.c: In function 'dio_append': dio_truncate.c:129:12: warning: 'bufptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 129 | if ((w = write(fd, bufptr, 64 * 1024)) != 64 * 1024) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/io/ltp-aiodio/ltp-diorh dio_append.c: In function 'main': dio_append.c:101:12: warning: 'bufptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 101 | if ((w = write(fd, bufptr, 64 * 1024)) != 64 * 1024) { | ^ dio_append.c:81:8: note: 'bufptr' was declared here 81 | void *bufptr; | ^ CC testcases/kernel/io/ltp-aiodio/dio_append CC testcases/kernel/io/ltp-aiodio/read_checkzero dio_truncate.c: In function 'dio_append': dio_truncate.c:129:12: warning: 'bufptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 129 | if ((w = write(fd, bufptr, 64 * 1024)) != 64 * 1024) { | ^ dio_truncate.c:108:8: note: 'bufptr' was declared here 108 | void *bufptr; | ^ CC testcases/kernel/io/ltp-aiodio/aiocp dio_truncate.c: In function 'main': dio_truncate.c:93:6: warning: 'bufptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 93 | fprintf(stderr, | ^ dio_truncate.c:72:8: note: 'bufptr' was declared here 72 | void *bufptr; | ^ CC testcases/kernel/io/ltp-aiodio/dio_truncate dio_sparse.c: In function 'main': dio_sparse.c:72:12: warning: 'bufptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 72 | if ((w = write(fd, bufptr, writesize)) != writesize) { | ^ dio_sparse.c:60:8: note: 'bufptr' was declared here 60 | void *bufptr; | ^ CC testcases/kernel/io/ltp-aiodio/aiodio_append CC testcases/kernel/io/ltp-aiodio/aio-stress CC testcases/kernel/io/ltp-aiodio/dio_sparse CC testcases/kernel/io/ltp-aiodio/aiodio_sparse CC testcases/kernel/io/stress_cd/stress_cd Creating `10K_file' Creating `100K_file' Creating `1000K_file' writetest.c: In function 'setup': writetest.c:212:6: warning: old-style function definition [-Wold-style-definition] 212 | void setup() | ^~~~~ In file included from /usr/include/string.h:532, from writetest.c:41: In function 'strncpy', inlined from 'parse_args' at writetest.c:196:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/io/writetest/writetest CC testcases/kernel/ipc/pipeio/pipeio sem01.c: In function 'delayloop': sem01.c:77:6: warning: old-style function definition [-Wold-style-definition] 77 | void delayloop() | ^~~~~~~~~ sem02.c: In function 'main': sem02.c:74:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 74 | int i, rc; | ^~ CC testcases/kernel/ipc/semaphore/sem01 CC testcases/kernel/ipc/semaphore/sem02 In file included from kmsg01.c:27: kmsg01.c: In function 'timed_read_kmsg': ../../../../include/tst_test.h:79:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 79 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c:185:3: note: in expansion of macro 'tst_brk' 185 | tst_brk(TBROK|TERRNO, "failed to fork"); | ^~~~~~~ kmsg01.c:186:2: note: here 186 | case 0: | ^~~~ In file included from kmsg01.c:27: kmsg01.c: In function 'timed_read': ../../../../include/tst_test.h:79:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 79 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c:152:3: note: in expansion of macro 'tst_brk' 152 | tst_brk(TBROK|TERRNO, "select failed"); | ^~~~~~~ kmsg01.c:153:2: note: here 153 | case 0: | ^~~~ In file included from /usr/include/string.h:532, from kmsg01.c:24: In function 'strncpy', inlined from 'find_msg.constprop.0' at kmsg01.c:97:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c: In function 'test_inject': kmsg01.c:291:31: 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); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from kmsg01.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 4101 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c: In function 'test_messages_overwritten': kmsg01.c:409:6: warning: 'first_seqno' may be used uninitialized in this function [-Wmaybe-uninitialized] 409 | if (first_seqno != seqno) { | ^ kmsg01.c: In function 'test_messages_overwritten': kmsg01.c:409:6: warning: 'first_seqno' may be used uninitialized in this function [-Wmaybe-uninitialized] 409 | if (first_seqno != seqno) { | ^ kmsg01.c:387:16: note: 'first_seqno' was declared here 387 | unsigned long first_seqno, seqno; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/logging/kmsg/kmsg01 make -C ../../../../testcases/kernel/mem/lib -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/mem/lib/Makefile" all In file included from /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/mem/lib/../include/mem.h:4, from mem.c:25: mem.c: In function 'get_a_numa_node': ../../../../include/tst_test.h:79:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 79 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:666:3: note: in expansion of macro 'tst_brk' 666 | tst_brk(TCONF, "requires a NUMA system."); | ^~~~~~~ mem.c:667:2: note: here 667 | default: | ^~~~~~~ In file included from /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/mem/lib/../include/mem.h:4, from mem.c:25: ../../../../include/tst_test.h:79:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 79 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:677:3: note: in expansion of macro 'tst_brk' 677 | tst_brk(TCONF, "requires a NUMA system that has " | ^~~~~~~ mem.c:680:2: note: here 680 | default: | ^~~~~~~ mem.c: In function 'write_cpusets': mem.c:614:31: warning: '/online' directive output may be truncated writing 7 bytes into a region of size between 1 and 8192 [-Wformat-truncation=] 614 | snprintf(path1, BUFSIZ, "%s/online", path); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from mem.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 8 and 8199 bytes into a destination of size 8192 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/mem/lib/mem.o AR libmem.a RANLIB libmem.a ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/cpuset/cpuset01 make -C "../lib" -f "/usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/mem/hugetlb/hugemmap/../lib/Makefile" all CC testcases/kernel/mem/hugetlb/lib/hugetlb.o AR libhugetlb.a RANLIB libhugetlb.a hugemmap05.c: In function 'setup': hugemmap05.c:219:13: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 219 | if (hpages != size) | ^~ hugemmap06.c:133:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 133 | }; | ^ In file included from /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/mem/hugetlb/hugemmap/../lib/hugetlb.h:19, from hugemmap06.c:27: ../../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ hugemmap05.c:291:31: warning: '/nr_overcommit_hugepages' directive writing 24 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 291 | sprintf(path_sys_sz_over, "%s/nr_overcommit_hugepages", path_sys_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from hugemmap05.c:19: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 25 and 8216 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hugemmap05.c:292:31: warning: '/free_hugepages' directive writing 15 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 292 | sprintf(path_sys_sz_free, "%s/free_hugepages", path_sys_sz); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from hugemmap05.c:19: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 16 and 8207 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hugemmap05.c:293:31: warning: '/resv_hugepages' directive writing 15 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 293 | sprintf(path_sys_sz_resv, "%s/resv_hugepages", path_sys_sz); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from hugemmap05.c:19: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 16 and 8207 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hugemmap05.c:294:31: warning: '/surplus_hugepages' directive writing 18 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 294 | sprintf(path_sys_sz_surp, "%s/surplus_hugepages", path_sys_sz); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from hugemmap05.c:19: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 19 and 8210 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hugemmap05.c:295:31: warning: '/nr_hugepages' directive writing 13 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 295 | sprintf(path_sys_sz_huge, "%s/nr_hugepages", path_sys_sz); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from hugemmap05.c:19: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 14 and 8205 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap05 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap01 CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap04 CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap06 CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap02 hugeshmat05.c:102:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 102 | }; | ^ In file included from /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/mem/hugetlb/hugeshmat/../lib/hugetlb.h:19, from hugeshmat05.c:29: ../../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat02 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat01 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat05 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat03 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat04 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl02 CC testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl03 CC testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl01 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/hugetlb/hugeshmdt/hugeshmdt01 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget03 ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget05 CC testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget02 CC testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/ksm/ksm06 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/ksm/ksm01 CC testcases/kernel/mem/ksm/ksm03 CC testcases/kernel/mem/ksm/ksm05 CC testcases/kernel/mem/ksm/ksm02 CC testcases/kernel/mem/ksm/ksm04 make[4]: Nothing to be done for 'all'. CC testcases/kernel/mem/mem/mem02 mmapstress02.c: In function 'main': mmapstress02.c:125:55: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 125 | if (write(fd, (char *)mmapaddr - pagesize, pagesize) != pagesize) { | ^~ mmapstress05.c: In function 'main': mmapstress01.c:113: warning: "SIZE_MAX" redefined 113 | #define SIZE_MAX UINT_MAX | mmapstress05.c:153:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (i = 0; i < pagesize; i++) | ^ mmapstress05.c:155:31: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 155 | if (write(fd, buf, pagesize) != pagesize) { | ^~ mmapstress05.c:163:31: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 163 | if (write(fd, buf, pagesize) != pagesize) { | ^~ mmapstress05.c:171:31: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 171 | if (write(fd, buf, pagesize) != pagesize) { | ^~ In file included from /usr/lib64/gcc/x86_64-alt-linux/10/include/stdint.h:9, from ../../../../include/old/test.h:19, from mmapstress01.c:36: /usr/include/stdint.h:227: note: this is the location of the previous definition 227 | # define SIZE_MAX (18446744073709551615UL) | mmapstress01.c: In function 'main': mmapstress01.c:300:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 300 | for (i = 0, data = 0; i < pagesize; i++) { | ^ mmapstress01.c:341:17: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 341 | child_mapper(filename, procno, nprocs); | ^~~~~~~~ mmapstress01.c:117:25: note: expected 'char *' but argument is of type 'const char *' 117 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress01.c:359:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 359 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress01.c:26: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress01.c:359:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 359 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress01.c:26: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress01.c:389:18: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 389 | child_mapper(filename, i, nprocs); | ^~~~~~~~ mmapstress01.c:117:25: note: expected 'char *' but argument is of type 'const char *' 117 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress01.c:404:3: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 404 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress01.c:26: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress01.c:404:3: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 404 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress01.c:26: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress01.c:415:2: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 415 | if (sighold(SIGALRM)) { | ^~ In file included from mmapstress01.c:26: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress01.c:430:17: warning: passing argument 1 of 'fileokay' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 430 | if (!fileokay(filename, buf)) { | ^~~~~~~~ mmapstress01.c:118:20: note: expected 'char *' but argument is of type 'const char *' 118 | int fileokay(char *file, uchar_t * expbuf); | ~~~~~~^~~~ mmapstress01.c: In function 'fileokay': mmapstress01.c:661:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 661 | } else if (cnt != pagesize) { | ^~ mmapstress01.c:676:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 676 | for (j = 0; j < cnt; j++) { | ^ mmapstress07.c: In function 'main': mmapstress07.c:178:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 178 | while (i < pagesize && write(rwfd, "a", 1) == 1) | ^ mmapstress07.c:180:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 180 | if (i != pagesize) { | ^~ mmapstress07.c:194:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 194 | while (i < (pagesize >> 1) && write(rwfd, "b", 1) == 1) | ^ mmapstress07.c:196:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 196 | if (i != (pagesize >> 1)) { | ^~ mmapstress07.c:217:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 217 | while (i < 2 * pagesize && write(rwfd, "c", 1) == 1) | ^ mmapstress07.c:219:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | if (i != 2 * pagesize) { | ^~ mmapstress07.c:237:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 237 | while (i < pagesize && write(rwfd, "e", 1) == 1) | ^ mmapstress07.c:239:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 239 | if (i != pagesize) { | ^~ CC testcases/kernel/mem/mmapstress/mmap-corruption01 CC testcases/kernel/mem/mmapstress/mmapstress06 mmapstress09.c: In function 'main': mmapstress09.c:139:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 139 | while ((c = getopt(argc, argv, "mdrp:t:s:")) != -1) { | ^~ mmapstress09.c:213:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 213 | for (i = 0, data = 0; i < pagesize; i++) { | ^ mmapstress09.c:223:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 223 | for (j = 0; j < pagesize; j++) | ^ mmapstress09.c:283:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 283 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress09.c:24: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress09.c:283:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 283 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress09.c:24: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress09.c:329:3: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 329 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress09.c:24: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress09.c:329:3: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 329 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress09.c:24: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress09.c:340:2: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 340 | if (sighold(SIGALRM)) { | ^~ In file included from mmapstress09.c:24: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress09.c: In function 'child_mapper': mmapstress09.c:400:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 400 | for (i = procno; i < pagesize; i += nprocs) { | ^ mmapstress09.c: In function 'mapokay': mmapstress09.c:447:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 447 | for (j = 0; j < pagesize; j++) { | ^ CC testcases/kernel/mem/mmapstress/mmapstress07 mmapstress10.c:111: warning: "SIZE_MAX" redefined 111 | #define SIZE_MAX UINT_MAX | In file included from /usr/lib64/gcc/x86_64-alt-linux/10/include/stdint.h:9, from ../../../../include/old/test.h:19, from mmapstress10.c:33: /usr/include/stdint.h:227: note: this is the location of the previous definition 227 | # define SIZE_MAX (18446744073709551615UL) | mmapstress10.c: In function 'main': mmapstress10.c:343:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 343 | for (i = 0, data = 0; i < pagesize; i++) { | ^ mmapstress10.c:348:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 348 | for (data = 0; i < pagesize + growsize; i++) { | ^ mmapstress10.c:391:17: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 391 | child_mapper(filename, procno, nprocs); | ^~~~~~~~ mmapstress10.c:128:25: note: expected 'char *' but argument is of type 'const char *' 128 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress10.c:407:16: warning: passing argument 1 of 'child_writer' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 407 | child_writer(filename, buf); | ^~~~~~~~ mmapstress10.c:129:25: note: expected 'char *' but argument is of type 'const char *' 129 | void child_writer(char *file, uchar_t * buf); | ~~~~~~^~~~ mmapstress10.c:421:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 421 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress10.c:23: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress10.c:421:3: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 421 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress10.c:23: /usr/include/signal.h:341:12: note: declared here 341 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress10.c:458:18: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 458 | child_mapper(filename, i, nprocs); | ^~~~~~~~ mmapstress10.c:128:25: note: expected 'char *' but argument is of type 'const char *' 128 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress10.c:473:3: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 473 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress10.c:23: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress10.c:473:3: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 473 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress10.c:23: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress10.c:496:17: warning: passing argument 1 of 'fileokay' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 496 | if (!fileokay(filename, buf)) { | ^~~~~~~~ mmapstress10.c:130:20: note: expected 'char *' but argument is of type 'const char *' 130 | int fileokay(char *file, uchar_t * expbuf); | ~~~~~~^~~~ mmapstress10.c: In function 'fileokay': mmapstress10.c:840:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 840 | } else if (cnt != pagesize) { | ^~ mmapstress10.c:856:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 856 | for (j = 0; j < cnt; j++) { | ^ CC testcases/kernel/mem/mmapstress/mmapstress02 CC testcases/kernel/mem/mmapstress/mmapstress03 CC testcases/kernel/mem/mmapstress/mmapstress05 CC testcases/kernel/mem/mmapstress/mmapstress01 CC testcases/kernel/mem/mmapstress/mmapstress09 CC testcases/kernel/mem/mmapstress/mmapstress08 CC testcases/kernel/mem/mmapstress/mmapstress10 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/mmapstress/mmapstress04 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/mtest01/mtest01 CC testcases/kernel/mem/mtest05/mmstress_dummy CC testcases/kernel/mem/mtest05/mmstress shmat1.c: In function 'main': shmat1.c:448:22: warning: cast between incompatible function types from 'void (*)(int, int, ucontext_t *)' to 'void (*)(int)' [-Wcast-function-type] 448 | sigptr.sa_handler = (void (*)(int signal))sig_handler; | ^ CC testcases/kernel/mem/mtest06/shmat1 CC testcases/kernel/mem/mtest06/mmap2 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/mtest06/mmap3 CC testcases/kernel/mem/mtest06/mmap1 shm_test.c: In function 'shmat_rd_wr': shm_test.c:187:7: warning: variable 'buff' set but not used [-Wunused-but-set-variable] 187 | char buff; /* temporary buffer */ | ^~~~ CC testcases/kernel/mem/mtest07/shm_test ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/mtest07/mallocstress ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/oom/oom01 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/oom/oom02 CC testcases/kernel/mem/oom/oom04 CC testcases/kernel/mem/oom/oom05 CC testcases/kernel/mem/oom/oom03 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() | ^~~~~~~~ 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:22: 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:22: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 232 | if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^ CC testcases/kernel/mem/page/page01 CC testcases/kernel/mem/page/page02 CC testcases/kernel/mem/shmt/shmt09 CC testcases/kernel/mem/shmt/shmt04 CC testcases/kernel/mem/shmt/shmt05 CC testcases/kernel/mem/shmt/shmt08 CC testcases/kernel/mem/shmt/shmt07 CC testcases/kernel/mem/shmt/shmt03 CC testcases/kernel/mem/shmt/shmt02 CC testcases/kernel/mem/shmt/shmt06 CC testcases/kernel/mem/shmt/shmt10 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/swapping/swapping01 thp01.c:146:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 146 | }; | ^ In file included from thp01.c:38: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ thp04.c:172:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 172 | }; | ^ In file included from thp04.c:31: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/thp/thp01 CC testcases/kernel/mem/thp/thp02 ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/thp/thp03 CC testcases/kernel/mem/thp/thp04 In file included from /usr/src/RPM/BUILD/ltp-20210524/testcases/kernel/mem/include/mem.h:4, from min_free_kbytes.c:38: min_free_kbytes.c: In function 'test_tune': ../../../../include/tst_test.h:79:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 79 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ min_free_kbytes.c:115:4: note: in expansion of macro 'tst_brk' 115 | tst_brk(TBROK | TERRNO, "fork"); | ^~~~~~~ min_free_kbytes.c:116:3: note: here 116 | case 0: | ^~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/tunable/min_free_kbytes ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/mem/tunable/max_map_count CC testcases/kernel/mem/tunable/overcommit_memory In file included from /usr/include/string.h:532, from /usr/include/numa.h:26, from vma04.c:39: In function 'strncat', inlined from 'get_vmas.constprop.0' at vma04.c:218:4: /usr/include/bits/string_fortified.h:122:10: warning: '__strncat_chk' output may be truncated copying 32 bytes from a string of length 8191 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/mem/vma/vma05_vdso CC testcases/kernel/mem/vma/vma03 CC testcases/kernel/mem/vma/vma01 CC testcases/kernel/mem/vma/vma02 CC testcases/kernel/mem/vma/vma04 data_space.c: In function 'usage': data_space.c:93:5: warning: old-style function definition [-Wold-style-definition] 93 | int usage(prog) | ^~~~~ data_space.c: In function 'main': data_space.c:101:5: warning: old-style function definition [-Wold-style-definition] 101 | int main(argc, argv) | ^~~~ data_space.c:137:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 137 | if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) { | ^~ In file included from data_space.c:37: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ data_space.c:137:22: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 137 | if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) { | ^ data_space.c:140:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 140 | if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^~ In file included from data_space.c:37: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ data_space.c:140:22: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 140 | if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^ data_space.c: In function 'runtest': data_space.c:148:5: warning: old-style function definition [-Wold-style-definition] 148 | int runtest() | ^~~~~~~ data_space.c: In function 'dotest': data_space.c:218:5: warning: old-style function definition [-Wold-style-definition] 218 | int dotest(testers, me) | ^~~~~~ data_space.c: In function 'bfill': data_space.c:360:6: warning: old-style function definition [-Wold-style-definition] 360 | void bfill(buf, val, size) | ^~~~~ data_space.c: In function 'dumpbuf': data_space.c:376:5: warning: old-style function definition [-Wold-style-definition] 376 | int dumpbuf(buf) | ^~~~~~~ data_space.c:381:6: warning: variable 'idx' set but not used [-Wunused-but-set-variable] 381 | int idx; | ^~~ data_space.c: In function 'dumpbits': data_space.c:428:6: warning: old-style function definition [-Wold-style-definition] 428 | void dumpbits(bits, size) | ^~~~~~~~ data_space.c: In function 'term': data_space.c:450:5: warning: old-style function definition [-Wold-style-definition] 450 | int term() | ^~~~ data_space.c: In function 'chld': data_space.c:464:5: warning: old-style function definition [-Wold-style-definition] 464 | int chld() | ^~~~ data_space.c:466:2: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 466 | if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^~ In file included from data_space.c:37: /usr/include/signal.h:353:23: note: declared here 353 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ data_space.c:466:22: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 466 | if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^ data_space.c: In function 'massmurder': data_space.c:474:5: warning: old-style function definition [-Wold-style-definition] 474 | int massmurder() | ^~~~~~~~~~ data_space.c: In function 'okexit': data_space.c:485:5: warning: old-style function definition [-Wold-style-definition] 485 | int okexit(me) | ^~~~~~ stack_space.c: In function 'main': stack_space.c:81:5: warning: old-style function definition [-Wold-style-definition] 81 | int main(argc, argv) | ^~~~ stack_space.c: In function 'bd_arg': stack_space.c:128:5: warning: old-style function definition [-Wold-style-definition] 128 | int bd_arg(str) | ^~~~~~ stack_space.c: In function 'runtest': stack_space.c:136:5: warning: old-style function definition [-Wold-style-definition] 136 | int runtest() | ^~~~~~~ stack_space.c: In function 'bfill': stack_space.c:327:5: warning: old-style function definition [-Wold-style-definition] 327 | int bfill(buf, val, size) | ^~~~~ stack_space.c: In function 'dumpbuf': stack_space.c:344:5: warning: old-style function definition [-Wold-style-definition] 344 | int dumpbuf(buf) | ^~~~~~~ stack_space.c:349:6: warning: variable 'idx' set but not used [-Wunused-but-set-variable] 349 | int idx; | ^~~ stack_space.c: In function 'dumpbits': stack_space.c:397:6: warning: old-style function definition [-Wold-style-definition] 397 | void dumpbits(bits, size) | ^~~~~~~~ stack_space.c: In function 'term': stack_space.c:415:6: warning: old-style function definition [-Wold-style-definition] 415 | void term() | ^~~~ CC testcases/kernel/mem/vmtests/stack_space CC testcases/kernel/mem/vmtests/data_space CC testcases/kernel/numa/support_numa pty02.c:68:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 68 | }; | ^ In file included from pty02.c:21: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ pty04.c:477:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 477 | }; | ^ In file included from pty04.c:38: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ pty05.c:105:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 105 | }; | ^ In file included from pty05.c:24: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ pty03.c:160:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 160 | }; | ^ In file included from pty03.c:39: ../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ CC testcases/kernel/pty/hangup01 CC testcases/kernel/pty/pty01 CC testcases/kernel/pty/ptem01 ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ ../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/pty/pty02 CC testcases/kernel/pty/pty04 CC testcases/kernel/pty/pty03 CC testcases/kernel/pty/pty05 autogroup01.c:87:1: warning: missing initializer for field 'needs_cmds' of 'struct tst_test' [-Wmissing-field-initializers] 87 | }; | ^ In file included from autogroup01.c:21: ../../../../include/tst_test.h:265:21: note: 'needs_cmds' declared here 265 | const char *const *needs_cmds; | ^~~~~~~~~~ ../../../../lib/tst_timer_test.c: In function 'timer_setup': ../../../../lib/tst_timer_test.c:359:35: warning: 't.tv_nsec' may be used uninitialized in this function [-Wmaybe-uninitialized] 359 | monotonic_resolution = t.tv_nsec / 1000; | ^ ../../../../lib/tst_timer_test.c:344:18: note: 't.tv_nsec' was declared here 344 | struct timespec t; | ^ CC testcases/kernel/sched/autogroup/autogroup01 hackbench.c: In function 'sender': hackbench.c:149:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 149 | if (done < sizeof(data)) | ^ hackbench.c: In function 'create_worker': hackbench.c:196:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | barf("fork()"); | ^~~~~~~~~~~~~~ hackbench.c:197:3: note: here 197 | case 0: | ^~~~ CC testcases/kernel/sched/cfs-scheduler/hackbench CC testcases/kernel/sched/clisrv/writen.o CC testcases/kernel/sched/clisrv/readline.o CC testcases/kernel/sched/clisrv/pthcli CC testcases/kernel/sched/clisrv/pthserv CC testcases/kernel/sched/hyperthreading/ht_affinity/ht_utils.o CC testcases/kernel/sched/hyperthreading/ht_affinity/ht_affinity.o LD testcases/kernel/sched/hyperthreading/ht_affinity/ht_affinity CC testcases/kernel/sched/hyperthreading/ht_enabled/ht_enabled.o CC testcases/kernel/sched/hyperthreading/ht_enabled/ht_utils.o LD testcases/kernel/sched/hyperthreading/ht_enabled/ht_enabled nptl01.c: In function 'cleanup': nptl01.c:300:6: warning: old-style function definition [-Wold-style-definition] 300 | void cleanup() | ^~~~~~~ /usr/include/sys/wait.h:88:16: error: variable 'wait' redeclared as function 88 | extern __pid_t wait (int *__stat_loc); | ^ /usr/include/sys/wait.h:88:16: error: variable 'wait' redeclared as function nptl01.c:58:17: note: previously declared here 58 | pthread_mutex_t wait; | ^ lto1: fatal error: errors during merging of translation units compilation terminated. lto-wrapper: fatal error: x86_64-alt-linux-gcc returned 1 exit status compilation terminated. ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[4]: *** [../../../../include/mk/rules.mk:37: nptl01] Error 1 make[3]: *** [../../../include/mk/generic_trunk_target.inc:105: all] Error 2 make[2]: *** [../../include/mk/generic_trunk_target.inc:105: all] Error 2 make[1]: *** [../include/mk/generic_trunk_target.inc:105: all] Error 2 make[1]: Leaving directory '/usr/src/RPM/BUILD/ltp-20210524/testcases' make: *** [Makefile:108: testcases-all] Error 2 make: Leaving directory '/usr/src/RPM/BUILD/ltp-20210524' error: Bad exit status from /usr/src/tmp/rpm-tmp.37291 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.37291 (%build) Command exited with non-zero status 1 1848.83user 115.77system 13:37.67elapsed 240%CPU (0avgtext+0avgdata 69424maxresident)k 0inputs+0outputs (0major+45407773minor)pagefaults 0swaps hsh-rebuild: rebuild of `ltp-20210524-alt3.src.rpm' failed. Command exited with non-zero status 1 1853.32user 118.06system 13:44.97elapsed 238%CPU (0avgtext+0avgdata 104780maxresident)k 832inputs+0outputs (0major+45658316minor)pagefaults 0swaps