Skip to contentSkip to conversation

seccomp_benchmark.c:149:24: warning: zero-length gnu_printf format string

PATCH kernel test robot 1 participant 1 message Dec 25, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git kselftest-seccomp-benchmark-ktap
head:   21f55624b94694bb349f6dc54e9b1375cc2b47ca
commit: 8039719f23c4eb0b7f505e68196b4b4f420c2b22 [2/3] kselftest/seccomp: Use kselftest output functions for benchmark
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231226/[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/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

seccomp_benchmark.c: In function 'main':

>> seccomp_benchmark.c:149:24: warning: zero-length gnu_printf format string [-Wformat-zero-length]
     149 |         ksft_print_msg("");
         |                        ^~
   seccomp_benchmark.c:154:24: warning: zero-length gnu_printf format string [-Wformat-zero-length]
     154 |         ksft_print_msg("");
         |                        ^~
   seccomp_benchmark.c:156:24: warning: zero-length gnu_printf format string [-Wformat-zero-length]
     156 |         ksft_print_msg("");
         |                        ^~
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki