* [ti:ti-linux-6.1.y-wip 4/64] drivers/pci/controller/dwc/pci-keystone.c:292:6: sparse: sparse: symbol 'ks_pcie_irq_eoi' was not declared. Should it be static?
@ 2023-11-26 16:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-26 16:46 UTC (permalink / raw)
To: Kishon Vijay Abraham I; +Cc: oe-kbuild-all, vigneshr, nm, Achal Verma
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-6.1.y-wip
head: 07cbd0efc06ffff69b2b0c3d7d607b35829340c3
commit: 6aed116cd98bebc49ae9b7b6df299ca7a4da91f8 [4/64] PCI: keystone: Convert to using hierarchy domain for legacy interrupts
config: alpha-randconfig-r121-20231126 (https://download.01.org/0day-ci/archive/20231126/202311262318.Gbf4OPXP-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231126/202311262318.Gbf4OPXP-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/202311262318.Gbf4OPXP-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/pci/controller/dwc/pci-keystone.c:292:6: sparse: sparse: symbol 'ks_pcie_irq_eoi' was not declared. Should it be static?
>> drivers/pci/controller/dwc/pci-keystone.c:301:6: sparse: sparse: symbol 'ks_pcie_irq_enable' was not declared. Should it be static?
>> drivers/pci/controller/dwc/pci-keystone.c:310:6: sparse: sparse: symbol 'ks_pcie_irq_disable' was not declared. Should it be static?
vim +/ks_pcie_irq_eoi +292 drivers/pci/controller/dwc/pci-keystone.c
291
> 292 void ks_pcie_irq_eoi(struct irq_data *data)
293 {
294 struct keystone_pcie *ks_pcie = irq_data_get_irq_chip_data(data);
295 irq_hw_number_t hwirq = data->hwirq;
296
297 ks_pcie_app_writel(ks_pcie, IRQ_EOI, hwirq);
298 irq_chip_eoi_parent(data);
299 }
300
> 301 void ks_pcie_irq_enable(struct irq_data *data)
302 {
303 struct keystone_pcie *ks_pcie = irq_data_get_irq_chip_data(data);
304 irq_hw_number_t hwirq = data->hwirq;
305
306 ks_pcie_app_writel(ks_pcie, IRQ_ENABLE_SET(hwirq), INTx_EN);
307 irq_chip_enable_parent(data);
308 }
309
> 310 void ks_pcie_irq_disable(struct irq_data *data)
311 {
312 struct keystone_pcie *ks_pcie = irq_data_get_irq_chip_data(data);
313 irq_hw_number_t hwirq = data->hwirq;
314
315 ks_pcie_app_writel(ks_pcie, IRQ_ENABLE_CLR(hwirq), INTx_EN);
316 irq_chip_disable_parent(data);
317 }
318
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-26 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-26 16:46 [ti:ti-linux-6.1.y-wip 4/64] drivers/pci/controller/dwc/pci-keystone.c:292:6: sparse: sparse: symbol 'ks_pcie_irq_eoi' was not declared. Should it be static? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.