Hi Yuanchu,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.12-rc4 next-20241023]
[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/Yuanchu-Xie/virt-pvmemcontrol-add-Yuanchu-and-Pasha-as-maintainers/20241022-045035
base:   linus/master
patch link:    
https://lore.kernel.org/r/20241021204849.1580384-1-yuanchu%40google.com
patch subject: [PATCH v4 1/2] virt: pvmemcontrol: control guest physical memory 
properties
config: powerpc-randconfig-002-20241024 
(https://download.01.org/0day-ci/archive/20241024/202410240605.hr0jfxmp-...@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20241024/202410240605.hr0jfxmp-...@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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202410240605.hr0jfxmp-...@intel.com/

All error/warnings (new ones prefixed by >>):

>> drivers/virt/pvmemcontrol/pvmemcontrol.c:455:1: warning: data definition has 
>> no type or storage class
     455 | module_pci_driver(pvmemcontrol_pci_driver);
         | ^~~~~~~~~~~~~~~~~
>> drivers/virt/pvmemcontrol/pvmemcontrol.c:455:1: error: type defaults to 
>> 'int' in declaration of 'module_pci_driver' [-Wimplicit-int]
>> drivers/virt/pvmemcontrol/pvmemcontrol.c:455:1: error: parameter names 
>> (without types) in function declaration 
>> [-Wdeclaration-missing-parameter-type]
>> drivers/virt/pvmemcontrol/pvmemcontrol.c:449:26: warning: 
>> 'pvmemcontrol_pci_driver' defined but not used [-Wunused-variable]
     449 | static struct pci_driver pvmemcontrol_pci_driver = {
         |                          ^~~~~~~~~~~~~~~~~~~~~~~


vim +455 drivers/virt/pvmemcontrol/pvmemcontrol.c

   448  
 > 449  static struct pci_driver pvmemcontrol_pci_driver = {
   450          .name = "pvmemcontrol",
   451          .id_table = pvmemcontrol_pci_id_tbl,
   452          .probe = pvmemcontrol_pci_probe,
   453          .remove = pvmemcontrol_pci_remove,
   454  };
 > 455  module_pci_driver(pvmemcontrol_pci_driver);
   456  

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

Reply via email to