allocinfo_ioctl_test.c:92:73: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'}
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "low confidence bisect report" :::::: BCC: [email protected] CC: [email protected] TO: Abhishek Bapat <[email protected]> CC: 0day robot <[email protected]> tree: https://github.com/intel-lab-lkp/linux/commits/Abhishek-Bapat/alloc_tag-add-ioctl-to-proc-allocinfo/20260709-020518 head: ce2ea00e2482d8be7ac83d783dc4858153731c55 commit: 178d595eded89e9321a6349cb0a419e50315105b kselftest: alloc_tag: add kselftest for ioctl interface date: 15 hours ago :::::: branch date: 15 hours ago :::::: commit date: 15 hours ago config: powerpc64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260709/[email protected]/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/20260709/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ All warnings (new ones prefixed by >>): allocinfo_ioctl_test.c: In function 'match_entries': >> allocinfo_ioctl_test.c:92:73: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 92 | ksft_print_msg("Entry count mismatch. ioctl entries: %llu, proc entries: %llu\n", | ~~~^ | | | long long unsigned int | %lu 93 | tags->count, procfs_entries->count); | ~~~~~~~~~~~ | | | __u64 {aka long unsigned int} allocinfo_ioctl_test.c:92:93: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 92 | ksft_print_msg("Entry count mismatch. ioctl entries: %llu, proc entries: %llu\n", | ~~~^ | | | long long unsigned int | %lu 93 | tags->count, procfs_entries->count); | ~~~~~~~~~~~~~~~~~~~~~ | | | __u64 {aka long unsigned int} allocinfo_ioctl_test.c:100:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 100 | ksft_print_msg("%lluth entry does not match.\n", i); | ~~~^ ~ | | | | long long unsigned int __u64 {aka long unsigned int} | %lu allocinfo_ioctl_test.c: In function 'get_filtered_procfs_entries': allocinfo_ioctl_test.c:140:44: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type '__u64 *' {aka 'long unsigned int *'} [-Wformat=] 140 | matches = sscanf(line, "%llu %llu %[^:]:%llu func:%s", | ~~~^ | | | long long unsigned int * | %lu 141 | &procfs_entry.counter.bytes, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | __u64 * {aka long unsigned int *} allocinfo_ioctl_test.c:140:49: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 4 has type '__u64 *' {aka 'long unsigned int *'} [-Wformat=] 140 | matches = sscanf(line, "%llu %llu %[^:]:%llu func:%s", | ~~~^ | | | long long unsigned int * | %lu 141 | &procfs_entry.counter.bytes, 142 | &procfs_entry.counter.calls, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | __u64 * {aka long unsigned int *} allocinfo_ioctl_test.c:140:60: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 6 has type '__u64 *' {aka 'long unsigned int *'} [-Wformat=] 140 | matches = sscanf(line, "%llu %llu %[^:]:%llu func:%s", | ~~~^ | | | long long unsigned int * | %lu ...... 144 | &procfs_entry.tag.lineno, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | __u64 * {aka long unsigned int *} -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki