All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: kernel test robot <lkp@intel.com>,
	Tianyang Zhang <zhangtianyang@loongson.cn>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	x86@kernel.org, Jianmin Lv <lvjianmin@loongson.cn>,
	Liupu Wang <wangliupu@loongson.cn>
Subject: Re: [tip:irq/core 39/46] drivers/irqchip/irq-loongarch-avec.c:82:17: error: implicit declaration of function 'loongson_send_ipi_single'
Date: Mon, 24 Jun 2024 15:45:44 +0200	[thread overview]
Message-ID: <87sex28nef.ffs@tglx> (raw)
In-Reply-To: <202406240451.ygBFNyJ3-lkp@intel.com>

On Mon, Jun 24 2024 at 05:06, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
> head:   c9d269469d2b9a06559cdc84d12dd3fb4d552581
> commit: 760d7e719499d64beea62bfcf53938fb233bb6e7 [39/46] Loongarch: Support loongarch avec
> config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20240624/202406240451.ygBFNyJ3-lkp@intel.com/config)
> compiler: loongarch64-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240624/202406240451.ygBFNyJ3-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/202406240451.ygBFNyJ3-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>    drivers/irqchip/irq-loongarch-avec.c: In function 'loongarch_avec_sync':
>>> drivers/irqchip/irq-loongarch-avec.c:82:17: error: implicit declaration of function 'loongson_send_ipi_single' [-Werror=implicit-function-declaration]
>       82 |                 loongson_send_ipi_single(adata->prev_cpu, SMP_CLEAR_VECT);
>          |                 ^~~~~~~~~~~~~~~~~~~~~~~~
>>> drivers/irqchip/irq-loongarch-avec.c:82:59: error: 'SMP_CLEAR_VECT' undeclared (first use in this function)
>       82 |                 loongson_send_ipi_single(adata->prev_cpu, SMP_CLEAR_VECT);
>          |                                                           ^~~~~~~~~~~~~~
>    drivers/irqchip/irq-loongarch-avec.c:82:59: note: each undeclared identifier is reported only once for each function it appears in
>    drivers/irqchip/irq-loongarch-avec.c: In function 'complete_irq_moving':
>    drivers/irqchip/irq-loongarch-avec.c:173:55: error: 'SMP_CLEAR_VECT' undeclared (first use in this function)
>      173 |                         loongson_send_ipi_single(cpu, SMP_CLEAR_VECT);
>          |                                                       ^~~~~~~~~~~~~~

So this code was never built with CONFIG_SMP=n.

Can the loongson folks please send me a delta patch ASAP, otherwise I'm
going to revert it.

Thanks,

        tglx

  reply	other threads:[~2024-06-24 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-23 21:06 [tip:irq/core 39/46] drivers/irqchip/irq-loongarch-avec.c:82:17: error: implicit declaration of function 'loongson_send_ipi_single' kernel test robot
2024-06-24 13:45 ` Thomas Gleixner [this message]
2024-06-25  5:00   ` Tianyang Zhang

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=87sex28nef.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=lvjianmin@loongson.cn \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=wangliupu@loongson.cn \
    --cc=x86@kernel.org \
    --cc=zhangtianyang@loongson.cn \
    /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.