All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [arm-platforms:irq/irqchip-next 16/21] drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt'
Date: Sat, 30 May 2020 19:28:47 +0800	[thread overview]
Message-ID: <202005301945.PVvYjB6R%lkp@intel.com> (raw)

[-- 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 --]

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: "Jiaxun, Yang," <jiaxun.yang@flygoat.com>
Cc: Marc Zyngier <maz@kernel.org>,
	kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org
Subject: [arm-platforms:irq/irqchip-next 16/21] drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function 'spurious_interrupt'
Date: Sat, 30 May 2020 19:28:47 +0800	[thread overview]
Message-ID: <202005301945.PVvYjB6R%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2188 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@lists.01.org

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

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2020-05-30 11:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-30 11:28 kbuild test robot [this message]
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 12:45 ` Marc Zyngier
2020-05-30 12:45   ` Marc Zyngier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202005301945.PVvYjB6R%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.