Hi Christian,

kernel test robot noticed the following build warnings:

[auto build test WARNING on powerpc/next]
[also build test WARNING on powerpc/fixes linus/master v7.2-rc7 next-20260813]
[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/Christian-Zigotzky/Connecting-the-SB600-s-i8259-controller-rather-in-pasemi-s-pci-c-than-in-pasemi-s-setup-c/20260813-054214
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
patch link:    
https://lore.kernel.org/r/20260701125941.906-2-chzigotzky%40xenosoft.de
patch subject: [PATCH] Connecting the SB600's i8259 controller rather in 
pasemi's pci.c than in pasemi's setup.c.
config: powerpc64-randconfig-r052-20260814 
(https://download.01.org/0day-ci/archive/20260814/[email protected]/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project 
cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260814/[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 >>):

>> arch/powerpc/platforms/pasemi/setup.c:217:6: warning: no previous prototype 
>> for function 'nemo_init_IRQ' [-Wmissing-prototypes]
     217 | void nemo_init_IRQ(void)
         |      ^
   arch/powerpc/platforms/pasemi/setup.c:217:1: note: declare 'static' if the 
function is not intended to be used outside of this translation unit
     217 | void nemo_init_IRQ(void)
         | ^
         | static 
   1 warning generated.


vim +/nemo_init_IRQ +217 arch/powerpc/platforms/pasemi/setup.c

   216  
 > 217  void nemo_init_IRQ(void)
   218  {
   219          struct device_node *np;
   220          int gpio_virq;
   221          struct mpic *mpic;
   222  
   223          /* Connect the SB600's legacy i8259 controller */
   224          np = of_find_node_by_path("/pxp@0,e0000000");
   225          i8259_init(np, 0);
   226          of_node_put(np);
   227  
   228          gpio_virq = irq_create_mapping(NULL, 3);
   229          irq_set_irq_type(gpio_virq, IRQ_TYPE_LEVEL_HIGH);
   230          irq_set_chained_handler(gpio_virq, sb600_8259_cascade);
   231          mpic_unmask_irq(irq_get_irq_data(gpio_virq));
   232  
   233          mpic = irq_get_chip_data(gpio_virq);
   234          irq_set_default_domain(mpic->irqhost);
   235  }
   236  

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

Reply via email to