Re: [PATCH 08/11] misc: rp1: RaspberryPi RP1 misc driver

kernel test robot
2024-08-21T13:49:53Z

Hi Andrea,

kernel test robot noticed the following build errors:

[auto build test ERROR on clk/clk-next]
[also build test ERROR on robh/for-next char-misc/char-misc-testing char-misc/char-misc-next char-misc/char-misc-linus linus/master v6.11-rc4 next-20240821]
[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/Andrea-della-Porta/dt-bindings-clock-Add-RaspberryPi-RP1-clock-bindings/20240821-023901
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
patch link: https://lore.kernel.org/r/5954e4dccc0e158cf434d2c281ad57120538409b.1724159867.git.andrea.porta%40suse.com
patch subject: [PATCH 08/11] misc: rp1: RaspberryPi RP1 misc driver
config: x86_64-randconfig-r133-20240821 (https://download.01.org/0day-ci/archive/20240821/202408212114.i6MFeKR1-lkp@intel.com/config)
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/20240821/202408212114.i6MFeKR1-lkp@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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408212114.i6MFeKR1-lkp@intel.com/

All errors (new ones prefixed by >>):

drivers/misc/rp1/rp1-pci.c: In function 'rp1_mask_irq':
>> drivers/misc/rp1/rp1-pci.c:98:9: error: implicit declaration of function 'pci_msi_mask_irq'; did you mean 'pci_msix_free_irq'? [-Werror=implicit-function-declaration]
98 | pci_msi_mask_irq(pcie_irqd);
| ^~~~~~~~~~~~~~~~
| pci_msix_free_irq
drivers/misc/rp1/rp1-pci.c: In function 'rp1_unmask_irq':
>> drivers/misc/rp1/rp1-pci.c:106:9: error: implicit declaration of function 'pci_msi_unmask_irq' [-Werror=implicit-function-declaration]
106 | pci_msi_unmask_irq(pcie_irqd);
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

vim +98 drivers/misc/rp1/rp1-pci.c

92
93 static void rp1_mask_irq(struct irq_data *irqd)
94 {
95 struct rp1_dev *rp1 = irqd->domain->host_data;
96 struct irq_data *pcie_irqd = rp1->pcie_irqds[irqd->hwirq];
97
> 98 pci_msi_mask_irq(pcie_irqd);
99 }
100
101 static void rp1_unmask_irq(struct irq_data *irqd)
102 {
103 struct rp1_dev *rp1 = irqd->domain->host_data;
104 struct irq_data *pcie_irqd = rp1->pcie_irqds[irqd->hwirq];
105
> 106 pci_msi_unmask_irq(pcie_irqd);
107 }
108

--
0-DAY CI Kernel Test Service