[arm-platforms:irq/print_chip 13/22] kernel/irq/irqdomain.c:1856:6: error: conflicting types for 'irq_domain_set_info'
kernel test robot
lkp at intel.com
Wed Feb 9 14:18:19 PST 2022
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/print_chip
head: 409b7f9b2b99f333673f8d0f8bc960b524af3793
commit: a6b49900e62e91b7cad03024fb78f5373d9a0b8e [13/22] irqdomain: Let irq_domain_set_{info,hwirq_and_chip} take a const irq_chip
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220210/202202100637.rvopHHnZ-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=a6b49900e62e91b7cad03024fb78f5373d9a0b8e
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/print_chip
git checkout a6b49900e62e91b7cad03024fb78f5373d9a0b8e
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
>> kernel/irq/irqdomain.c:1856:6: error: conflicting types for 'irq_domain_set_info'
1856 | void irq_domain_set_info(struct irq_domain *domain, unsigned int virq,
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/acpi.h:13,
from kernel/irq/irqdomain.c:5:
include/linux/irqdomain.h:481:13: note: previous declaration of 'irq_domain_set_info' was here
481 | extern void irq_domain_set_info(struct irq_domain *domain, unsigned int virq,
| ^~~~~~~~~~~~~~~~~~~
vim +/irq_domain_set_info +1856 kernel/irq/irqdomain.c
f8264e34965aaf4 Jiang Liu 2014-11-06 1844
5f22f5c668204f3 Stefan Agner 2015-05-16 1845 /**
5f22f5c668204f3 Stefan Agner 2015-05-16 1846 * irq_domain_set_info - Set the complete data for a @virq in @domain
5f22f5c668204f3 Stefan Agner 2015-05-16 1847 * @domain: Interrupt domain to match
5f22f5c668204f3 Stefan Agner 2015-05-16 1848 * @virq: IRQ number
5f22f5c668204f3 Stefan Agner 2015-05-16 1849 * @hwirq: The hardware interrupt number
5f22f5c668204f3 Stefan Agner 2015-05-16 1850 * @chip: The associated interrupt chip
5f22f5c668204f3 Stefan Agner 2015-05-16 1851 * @chip_data: The associated interrupt chip data
5f22f5c668204f3 Stefan Agner 2015-05-16 1852 * @handler: The interrupt flow handler
5f22f5c668204f3 Stefan Agner 2015-05-16 1853 * @handler_data: The interrupt flow handler data
5f22f5c668204f3 Stefan Agner 2015-05-16 1854 * @handler_name: The interrupt handler name
5f22f5c668204f3 Stefan Agner 2015-05-16 1855 */
5f22f5c668204f3 Stefan Agner 2015-05-16 @1856 void irq_domain_set_info(struct irq_domain *domain, unsigned int virq,
5f22f5c668204f3 Stefan Agner 2015-05-16 1857 irq_hw_number_t hwirq, struct irq_chip *chip,
5f22f5c668204f3 Stefan Agner 2015-05-16 1858 void *chip_data, irq_flow_handler_t handler,
5f22f5c668204f3 Stefan Agner 2015-05-16 1859 void *handler_data, const char *handler_name)
5f22f5c668204f3 Stefan Agner 2015-05-16 1860 {
5f22f5c668204f3 Stefan Agner 2015-05-16 1861 irq_set_chip_and_handler_name(virq, chip, handler, handler_name);
5f22f5c668204f3 Stefan Agner 2015-05-16 1862 irq_set_chip_data(virq, chip_data);
5f22f5c668204f3 Stefan Agner 2015-05-16 1863 irq_set_handler_data(virq, handler_data);
5f22f5c668204f3 Stefan Agner 2015-05-16 1864 }
5f22f5c668204f3 Stefan Agner 2015-05-16 1865
:::::: The code at line 1856 was first introduced by commit
:::::: 5f22f5c668204f3af7557018b2ad6cf2074defac irqdomain: Add non-hierarchy helper irq_domain_set_info
:::::: TO: Stefan Agner <stefan at agner.ch>
:::::: CC: Thomas Gleixner <tglx at linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
More information about the linux-arm-kernel
mailing list