Hi Thomas,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 6d6ad32e22f028c525d5df471c5522616e645a6b]

url:    
https://github.com/intel-lab-lkp/linux/commits/Thomas-Wei-schuh/selftests-kselftest-Treat-xpass-as-successful-result/20260128-182856
base:   6d6ad32e22f028c525d5df471c5522616e645a6b
patch link:    
https://lore.kernel.org/r/20260128-kselftest-harness-v1-3-cb259fa81cd0%40linutronix.de
patch subject: [PATCH 3/5] selftests: kselftest: Add ksft_reset_state()
config: x86_64-allnoconfig-bpf 
(https://download.01.org/0day-ci/archive/20260128/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260128/[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 >>):

   In file included from ovpn-cli.c:35:
>> tools/testing/selftests/../../../tools/testing/selftests/kselftest.h:488:2: 
>> warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]
     488 | };
         |  ^


vim +488 tools/testing/selftests/../../../tools/testing/selftests/kselftest.h

   478  
   479  static inline void ksft_reset_state(void)
   480  {
   481          ksft_cnt.ksft_pass = 0;
   482          ksft_cnt.ksft_fail = 0;
   483          ksft_cnt.ksft_xfail = 0;
   484          ksft_cnt.ksft_xpass = 0;
   485          ksft_cnt.ksft_xskip = 0;
   486          ksft_cnt.ksft_error = 0;
   487          ksft_plan = 0;
 > 488  };
   489  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to