* nolibc-test.c:930:24: warning: self-comparison always evaluates to false
@ 2026-09-01 0:47 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-01 0:47 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence bisect report"
:::::: Manual check reason: "only suspicious fbc files changed"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: "Thomas Weißschuh" <linux@weissschuh.net>
Hi Thomas,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: abdf623ddb75b24659018d3952d8f61937306ae5
commit: 6fe8360b16acbfb50c703f52568cad46759be2ed selftests/nolibc: also test libc-test through regular selftest framework
date: 8 months ago
:::::: branch date: 3 hours ago
:::::: commit date: 8 months ago
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260901/202609010202.aqdwqM4q-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 06bfa42c66dea409a9737f9679260ff51425d5b3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260901/202609010202.aqdwqM4q-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
| Fixes: 6fe8360b16ac ("selftests/nolibc: also test libc-test through regular selftest framework")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202609010202.aqdwqM4q-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/lib/gcc/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/include/dirent.h:188:28: note: 'readdir_r' has been explicitly marked deprecated here
188 | __nonnull ((1, 2, 3)) __attribute_deprecated__;
| ^
/usr/lib/gcc/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/include/sys/cdefs.h:510:51: note: expanded from macro '__attribute_deprecated__'
510 | # define __attribute_deprecated__ __attribute__ ((__deprecated__))
| ^
>> nolibc-test.c:930:24: warning: self-comparison always evaluates to false [-Wtautological-compare]
930 | if (st.st_atim.tv_sec != st.st_atime || st.st_atim.tv_nsec > 1000000000)
| ^
nolibc-test.c:933:24: warning: self-comparison always evaluates to false [-Wtautological-compare]
933 | if (st.st_mtim.tv_sec != st.st_mtime || st.st_mtim.tv_nsec > 1000000000)
| ^
nolibc-test.c:936:24: warning: self-comparison always evaluates to false [-Wtautological-compare]
936 | if (st.st_ctim.tv_sec != st.st_ctime || st.st_ctim.tv_nsec > 1000000000)
| ^
>> nolibc-test.c:1391:54: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
1391 | CASE_TEST(stat_fault); EXPECT_SYSER(1, stat(NULL, &stat_buf), -1, EFAULT); break;
| ^~~~
/opt/cross/clang-06bfa42c66/lib/clang/24/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)
| ^~~~
5 warnings generated.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-01 0:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-01 0:47 nolibc-test.c:930:24: warning: self-comparison always evaluates to false kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.