From: kernel test robot <lkp@intel.com>
To: "Bala-Vignesh-Reddy" <reddybalavignesh9979@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Wei Yang <richard.weiyang@gmail.com>
Subject: tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h:107:40: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type '__u64' {aka 'long unsigned int'}
Date: Sat, 14 Feb 2026 07:07:30 +0100 [thread overview]
Message-ID: <202602140755.vIpuPels-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 770aaedb461a055f79b971d538678942b6607894
commit: e6fbd1759c9ece5044d3470f30a5e2166dc9de89 selftests: complete kselftest include centralization
date: 3 months ago
config: powerpc64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260214/202602140755.vIpuPels-lkp@intel.com/config)
compiler: powerpc64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260214/202602140755.vIpuPels-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602140755.vIpuPels-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from common.h:20,
from audit_test.c:22:
audit_test.c: In function 'audit_layers':
>> tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h:107:40: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
107 | fprintf(TH_LOG_STREAM, "# %s:%d:%s:" fmt "\n", \
| ^~~~~~~~~~~~~
tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h:102:17: note: in expansion of macro '__TH_LOG'
102 | __TH_LOG(fmt, ##__VA_ARGS__); \
| ^~~~~~~~
audit_test.c:152:25: note: in expansion of macro 'TH_LOG'
152 | TH_LOG("Failed to match domain %llx (#%d)",
| ^~~~~~
/usr/lib/gcc-cross/powerpc64-linux-gnu/14/../../../../powerpc64-linux-gnu/bin/ld: cannot find -lcap: No such file or directory
collect2: error: ld returned 1 exit status
--
In file included from common.h:20,
from net_test.c:24:
net_test.c: In function 'mini_network_access_rights':
>> tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h:107:40: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
107 | fprintf(TH_LOG_STREAM, "# %s:%d:%s:" fmt "\n", \
| ^~~~~~~~~~~~~
tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h:102:17: note: in expansion of macro '__TH_LOG'
102 | __TH_LOG(fmt, ##__VA_ARGS__); \
| ^~~~~~~~
net_test.c:1332:25: note: in expansion of macro 'TH_LOG'
1332 | TH_LOG("Failed to add rule with access 0x%llx: %s",
| ^~~~~~
/usr/lib/gcc-cross/powerpc64-linux-gnu/14/../../../../powerpc64-linux-gnu/bin/ld: cannot find -lcap: No such file or directory
collect2: error: ld returned 1 exit status
vim +107 tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h
1256a525573120 tools/testing/selftests/kselftest_harness.h Mickaël Salaün 2017-05-26 104
1256a525573120 tools/testing/selftests/kselftest_harness.h Mickaël Salaün 2017-05-26 105 /* Unconditional logger for internal use. */
1256a525573120 tools/testing/selftests/kselftest_harness.h Mickaël Salaün 2017-05-26 106 #define __TH_LOG(fmt, ...) \
e80068be21824e tools/testing/selftests/kselftest_harness.h Kees Cook 2020-06-22 @107 fprintf(TH_LOG_STREAM, "# %s:%d:%s:" fmt "\n", \
1256a525573120 tools/testing/selftests/kselftest_harness.h Mickaël Salaün 2017-05-26 108 __FILE__, __LINE__, _metadata->name, ##__VA_ARGS__)
c99ee51a9d9716 tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-06-16 109
:::::: The code at line 107 was first introduced by commit
:::::: e80068be21824e4d2726eeea41cac6178d212415 selftests/harness: Switch to TAP output
:::::: TO: Kees Cook <keescook@chromium.org>
:::::: CC: Shuah Khan <skhan@linuxfoundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-02-14 6:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202602140755.vIpuPels-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=reddybalavignesh9979@gmail.com \
--cc=richard.weiyang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.