Hi Yunseong,

kernel test robot noticed the following build warnings:

[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on char-misc/char-misc-next char-misc/char-misc-linus 
kees/for-next/pstore kees/for-next/kspp shuah-kselftest/next 
shuah-kselftest/fixes soc/for-next linus/master v7.0-rc6 next-20260403]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Yunseong-Kim/lkdtm-Add-folio_lock-deadlock-scenarios/20260405-145013
base:   char-misc/char-misc-testing
patch link:    
https://lore.kernel.org/r/20260402143947.162844-1-ysk%40kzalloc.com
patch subject: [PATCH] lkdtm: Add folio_lock deadlock scenarios
config: s390-randconfig-001-20260405 
(https://download.01.org/0day-ci/archive/20260405/[email protected]/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 
c80443cd37b2e2788cba67ffa180a6331e5f0791)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260405/[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 >>):

>> drivers/misc/lkdtm/deadlock.c:99:44: warning: omitting the parameter name in 
>> a function definition is a C23 extension [-Wc23-extensions]
      99 | static int lkdtm_folio_mutex_kthread(void *)
         |                                            ^
   drivers/misc/lkdtm/deadlock.c:112:44: warning: omitting the parameter name 
in a function definition is a C23 extension [-Wc23-extensions]
     112 | static int lkdtm_mutex_folio_kthread(void *)
         |                                            ^
   drivers/misc/lkdtm/deadlock.c:228:38: warning: omitting the parameter name 
in a function definition is a C23 extension [-Wc23-extensions]
     228 | static int lkdtm_waiter_thread(void *)
         |                                      ^
   3 warnings generated.


vim +99 drivers/misc/lkdtm/deadlock.c

    97  
    98  /* Attempting 'folio_lock() A then Mutex B' order */
  > 99  static int lkdtm_folio_mutex_kthread(void *)
   100  {
   101          while (true) {
   102                  folio_lock(folio_common);
   103                  mutex_lock(&mutex_b);
   104                  mutex_unlock(&mutex_b);
   105                  folio_unlock(folio_common);
   106          }
   107  
   108          return 0;
   109  }
   110  

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

Reply via email to