[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202602040045.wtyCVh2h-lkp@intel.com>
Date: Wed, 4 Feb 2026 00:23:15 +0100
From: kernel test robot <lkp@...el.com>
To: david.laight.linux@...il.com, Willy Tarreau <w@....eu>,
Thomas Weißschuh <linux@...ssschuh.net>,
linux-kernel@...r.kernel.org, Cheng Li <lechain@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev,
David Laight <david.laight.linux@...il.com>
Subject: Re: [PATCH 11/12] selftests/nolibc: Increase coverage of printf
format tests
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20260202]
url: https://github.com/intel-lab-lkp/linux/commits/david-laight-linux-gmail-com/tools-nolibc-printf-Move-length-check-to-snprintf-callback/20260203-183919
base: next-20260202
patch link: https://lore.kernel.org/r/20260203103000.20206-12-david.laight.linux%40gmail.com
patch subject: [PATCH 11/12] selftests/nolibc: Increase coverage of printf format tests
config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260204/202602040045.wtyCVh2h-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260204/202602040045.wtyCVh2h-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602040045.wtyCVh2h-lkp@intel.com/
All warnings (new ones prefixed by >>):
nolibc-test.c:784:9: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
784 | ret = readdir_r(dir, &dirent, &result);
| ^
/usr/include/dirent.h:188:28: note: 'readdir_r' has been explicitly marked deprecated here
188 | __nonnull ((1, 2, 3)) __attribute_deprecated__;
| ^
/usr/include/s390x-linux-gnu/sys/cdefs.h:510:51: note: expanded from macro '__attribute_deprecated__'
510 | # define __attribute_deprecated__ __attribute__ ((__deprecated__))
| ^
nolibc-test.c:982:24: warning: self-comparison always evaluates to false [-Wtautological-compare]
982 | if (st.st_atim.tv_sec != st.st_atime || st.st_atim.tv_nsec > 1000000000)
| ^
nolibc-test.c:985:24: warning: self-comparison always evaluates to false [-Wtautological-compare]
985 | if (st.st_mtim.tv_sec != st.st_mtime || st.st_mtim.tv_nsec > 1000000000)
| ^
nolibc-test.c:988:24: warning: self-comparison always evaluates to false [-Wtautological-compare]
988 | if (st.st_ctim.tv_sec != st.st_ctime || st.st_ctim.tv_nsec > 1000000000)
| ^
nolibc-test.c:1444:54: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
1444 | CASE_TEST(stat_fault); EXPECT_SYSER(1, stat(NULL, &stat_buf), -1, EFAULT); break;
| ^~~~
/opt/cross/clang-f43d683409/lib/clang/22/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^~~~~~~~~~
nolibc-test.c:369:22: note: expanded from macro 'EXPECT_SYSER'
369 | EXPECT_SYSER2(cond, expr, expret, experr, 0)
| ^~~~
nolibc-test.c:366:70: note: expanded from macro 'EXPECT_SYSER2'
366 | do { if (!(cond)) result(llen, SKIPPED); else ret += expect_syserr2(expr, expret, experr1, experr2, llen); } while (0)
| ^~~~
>> nolibc-test.c:1652:16: warning: unknown attribute 'mat' ignored [-Wunknown-attributes]
1652 | __attribute__((mat(printf, 3, 0)))
| ^~~~~~~~~~~~~~~~~
6 warnings generated.
--
>> nolibc-test.c:1652:16: warning: unknown attribute 'mat' ignored [-Wunknown-attributes]
1652 | __attribute__((mat(printf, 3, 0)))
| ^~~~~~~~~~~~~~~~~
1 warning generated.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists