All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-platforms:irq/irqchip-next 16/21] drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt'
@ 2020-05-30 11:28 ` kbuild test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2020-05-30 11:28 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2248 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irqchip-next
head:   da10a4b626657387845f32d37141fc7d48ebbdb3
commit: 818e915fbac518e8c78e1877a0048d92d4965e5a [16/21] irqchip: Add Loongson HyperTransport Vector support
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 818e915fbac518e8c78e1877a0048d92d4965e5a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

drivers/irqchip/irq-loongson-htvec.c: In function 'htvec_irq_dispatch':
>> drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt' [-Werror=implicit-function-declaration]
59 |   spurious_interrupt();
|   ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/spurious_interrupt +59 drivers/irqchip/irq-loongson-htvec.c

    35	
    36	static void htvec_irq_dispatch(struct irq_desc *desc)
    37	{
    38		int i;
    39		u32 pending;
    40		bool handled = false;
    41		struct irq_chip *chip = irq_desc_get_chip(desc);
    42		struct htvec *priv = irq_desc_get_handler_data(desc);
    43	
    44		chained_irq_enter(chip, desc);
    45	
    46		for (i = 0; i < VEC_REG_COUNT; i++) {
    47			pending = readl(priv->base + 4 * i);
    48			while (pending) {
    49				int bit = __ffs(pending);
    50	
    51				generic_handle_irq(irq_linear_revmap(priv->htvec_domain, bit +
    52								     VEC_COUNT_PER_REG * i));
    53				pending &= ~BIT(bit);
    54				handled = true;
    55			}
    56		}
    57	
    58		if (!handled)
  > 59			spurious_interrupt();
    60	
    61		chained_irq_exit(chip, desc);
    62	}
    63	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73989 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-30 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-30 11:28 [arm-platforms:irq/irqchip-next 16/21] drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt' kbuild test robot
2020-05-30 11:28 ` kbuild test robot
2020-05-30 12:45 ` Marc Zyngier
2020-05-30 12:45   ` Marc Zyngier

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.