* [arm-platforms:irq/domain_cleanup 25/25] drivers/irqchip/irq-al-fic.c:114:15: warning: Unused variable: irq [unusedVariable]
@ 2021-05-19 0:19 ` kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-05-19 0:19 UTC (permalink / raw)
To: Marc Zyngier; +Cc: kbuild-all, linux-arm-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head: dee94333f76d0bd7b6c8302e377654b6e103b71b
commit: dee94333f76d0bd7b6c8302e377654b6e103b71b [25/25] irqchip: Bulk conversion to generic_handle_domain_irq()
compiler: alpha-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/irqchip/irq-al-fic.c:114:15: warning: Unused variable: irq [unusedVariable]
unsigned int irq;
^
vim +114 drivers/irqchip/irq-al-fic.c
1eb77c3bcdb70f Talel Shenhar 2019-06-10 106
1eb77c3bcdb70f Talel Shenhar 2019-06-10 107 static void al_fic_irq_handler(struct irq_desc *desc)
1eb77c3bcdb70f Talel Shenhar 2019-06-10 108 {
1eb77c3bcdb70f Talel Shenhar 2019-06-10 109 struct al_fic *fic = irq_desc_get_handler_data(desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 110 struct irq_domain *domain = fic->domain;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 111 struct irq_chip *irqchip = irq_desc_get_chip(desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 112 struct irq_chip_generic *gc = irq_get_domain_generic_chip(domain, 0);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 113 unsigned long pending;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 @114 unsigned int irq;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 115 u32 hwirq;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 116
1eb77c3bcdb70f Talel Shenhar 2019-06-10 117 chained_irq_enter(irqchip, desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 118
1eb77c3bcdb70f Talel Shenhar 2019-06-10 119 pending = readl_relaxed(fic->base + AL_FIC_CAUSE);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 120 pending &= ~gc->mask_cache;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 121
dee94333f76d0b Marc Zyngier 2021-05-04 122 for_each_set_bit(hwirq, &pending, NR_FIC_IRQS)
dee94333f76d0b Marc Zyngier 2021-05-04 123 generic_handle_domain_irq(domain, hwirq);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 124
1eb77c3bcdb70f Talel Shenhar 2019-06-10 125 chained_irq_exit(irqchip, desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 126 }
1eb77c3bcdb70f Talel Shenhar 2019-06-10 127
:::::: The code at line 114 was first introduced by commit
:::::: 1eb77c3bcdb70f2501f419b3da45b19acaf01072 irqchip/al-fic: Introduce Amazon's Annapurna Labs Fabric Interrupt Controller Driver
:::::: TO: Talel Shenhar <talel@amazon.com>
:::::: CC: Marc Zyngier <marc.zyngier@arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [arm-platforms:irq/domain_cleanup 25/25] drivers/irqchip/irq-al-fic.c:114:15: warning: Unused variable: irq [unusedVariable]
@ 2021-05-19 0:19 ` kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-05-19 0:19 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2697 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head: dee94333f76d0bd7b6c8302e377654b6e103b71b
commit: dee94333f76d0bd7b6c8302e377654b6e103b71b [25/25] irqchip: Bulk conversion to generic_handle_domain_irq()
compiler: alpha-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/irqchip/irq-al-fic.c:114:15: warning: Unused variable: irq [unusedVariable]
unsigned int irq;
^
vim +114 drivers/irqchip/irq-al-fic.c
1eb77c3bcdb70f Talel Shenhar 2019-06-10 106
1eb77c3bcdb70f Talel Shenhar 2019-06-10 107 static void al_fic_irq_handler(struct irq_desc *desc)
1eb77c3bcdb70f Talel Shenhar 2019-06-10 108 {
1eb77c3bcdb70f Talel Shenhar 2019-06-10 109 struct al_fic *fic = irq_desc_get_handler_data(desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 110 struct irq_domain *domain = fic->domain;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 111 struct irq_chip *irqchip = irq_desc_get_chip(desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 112 struct irq_chip_generic *gc = irq_get_domain_generic_chip(domain, 0);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 113 unsigned long pending;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 @114 unsigned int irq;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 115 u32 hwirq;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 116
1eb77c3bcdb70f Talel Shenhar 2019-06-10 117 chained_irq_enter(irqchip, desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 118
1eb77c3bcdb70f Talel Shenhar 2019-06-10 119 pending = readl_relaxed(fic->base + AL_FIC_CAUSE);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 120 pending &= ~gc->mask_cache;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 121
dee94333f76d0b Marc Zyngier 2021-05-04 122 for_each_set_bit(hwirq, &pending, NR_FIC_IRQS)
dee94333f76d0b Marc Zyngier 2021-05-04 123 generic_handle_domain_irq(domain, hwirq);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 124
1eb77c3bcdb70f Talel Shenhar 2019-06-10 125 chained_irq_exit(irqchip, desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 126 }
1eb77c3bcdb70f Talel Shenhar 2019-06-10 127
:::::: The code at line 114 was first introduced by commit
:::::: 1eb77c3bcdb70f2501f419b3da45b19acaf01072 irqchip/al-fic: Introduce Amazon's Annapurna Labs Fabric Interrupt Controller Driver
:::::: TO: Talel Shenhar <talel@amazon.com>
:::::: CC: Marc Zyngier <marc.zyngier@arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* [arm-platforms:irq/domain_cleanup 25/25] drivers/irqchip/irq-al-fic.c:114:15: warning: Unused variable: irq [unusedVariable]
@ 2021-05-15 17:48 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-05-15 17:48 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2875 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-arm-kernel(a)lists.infradead.org
TO: Marc Zyngier <maz@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head: dee94333f76d0bd7b6c8302e377654b6e103b71b
commit: dee94333f76d0bd7b6c8302e377654b6e103b71b [25/25] irqchip: Bulk conversion to generic_handle_domain_irq()
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
compiler: alpha-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/irqchip/irq-al-fic.c:114:15: warning: Unused variable: irq [unusedVariable]
unsigned int irq;
^
vim +114 drivers/irqchip/irq-al-fic.c
1eb77c3bcdb70f Talel Shenhar 2019-06-10 106
1eb77c3bcdb70f Talel Shenhar 2019-06-10 107 static void al_fic_irq_handler(struct irq_desc *desc)
1eb77c3bcdb70f Talel Shenhar 2019-06-10 108 {
1eb77c3bcdb70f Talel Shenhar 2019-06-10 109 struct al_fic *fic = irq_desc_get_handler_data(desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 110 struct irq_domain *domain = fic->domain;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 111 struct irq_chip *irqchip = irq_desc_get_chip(desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 112 struct irq_chip_generic *gc = irq_get_domain_generic_chip(domain, 0);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 113 unsigned long pending;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 @114 unsigned int irq;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 115 u32 hwirq;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 116
1eb77c3bcdb70f Talel Shenhar 2019-06-10 117 chained_irq_enter(irqchip, desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 118
1eb77c3bcdb70f Talel Shenhar 2019-06-10 119 pending = readl_relaxed(fic->base + AL_FIC_CAUSE);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 120 pending &= ~gc->mask_cache;
1eb77c3bcdb70f Talel Shenhar 2019-06-10 121
dee94333f76d0b Marc Zyngier 2021-05-04 122 for_each_set_bit(hwirq, &pending, NR_FIC_IRQS)
dee94333f76d0b Marc Zyngier 2021-05-04 123 generic_handle_domain_irq(domain, hwirq);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 124
1eb77c3bcdb70f Talel Shenhar 2019-06-10 125 chained_irq_exit(irqchip, desc);
1eb77c3bcdb70f Talel Shenhar 2019-06-10 126 }
1eb77c3bcdb70f Talel Shenhar 2019-06-10 127
:::::: The code at line 114 was first introduced by commit
:::::: 1eb77c3bcdb70f2501f419b3da45b19acaf01072 irqchip/al-fic: Introduce Amazon's Annapurna Labs Fabric Interrupt Controller Driver
:::::: TO: Talel Shenhar <talel@amazon.com>
:::::: CC: Marc Zyngier <marc.zyngier@arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-19 0:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 0:19 [arm-platforms:irq/domain_cleanup 25/25] drivers/irqchip/irq-al-fic.c:114:15: warning: Unused variable: irq [unusedVariable] kernel test robot
2021-05-19 0:19 ` kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-05-15 17:48 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.