All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: kbuild-all@lists.01.org
Subject: Re: drivers/irqchip/irq-loongson-eiointc.c:289:20: warning: no previous prototype for 'acpi_get_vec_parent'
Date: Wed, 03 Aug 2022 08:27:05 +0100	[thread overview]
Message-ID: <87pmhhbxdi.wl-maz@kernel.org> (raw)
In-Reply-To: <202208030600.u3ehRjUE-lkp@intel.com>

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

On Wed, 03 Aug 2022 00:02:04 +0100,
kernel test robot <lkp@intel.com> wrote:
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   c1dbe9a1c86da098a29dcdca1a67b65e2de7ec3a
> commit: dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7 irqchip: Add Loongson Extended I/O interrupt controller support
> date:   2 weeks ago
> config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20220803/202208030600.u3ehRjUE-lkp(a)intel.com/config)
> compiler: loongarch64-linux-gcc (GCC) 12.1.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
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/irqchip/ drivers/platform/surface/aggregator/
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>):
> 
> >> drivers/irqchip/irq-loongson-eiointc.c:289:20: warning: no previous prototype for 'acpi_get_vec_parent' [-Wmissing-prototypes]
>      289 | struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group)
>          |                    ^~~~~~~~~~~~~~~~~~~
> 
> 
> vim +/acpi_get_vec_parent +289 drivers/irqchip/irq-loongson-eiointc.c
> 
>    288	
>  > 289	struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group)
>    290	{
>    291		int i;
>    292	
>    293		for (i = 0; i < MAX_IO_PICS; i++) {
>    294			if (node == vec_group[i].node)
>    295				return vec_group[i].parent;
>    296		}
>    297		return NULL;
>    298	}
>    299	

Huacan, Jiamin,

There is a bunch of these failures:

- 202208021528.FiUMZ8BX-lkp(a)intel.com
- 202208021521.Z3FSeLUl-lkp(a)intel.com
- 202208022031.9hRlPwUl-lkp(a)intel.com
- 202208020817.G8vpKIfp-lkp(a)intel.com

Please investigate them, as LoongArch is so far the largest offender
in the irqchip tree.

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.

WARNING: multiple messages have this Message-ID (diff)
From: Marc Zyngier <maz@kernel.org>
To: kernel test robot <lkp@intel.com>, Huacai Chen <chenhuacai@loongson.cn>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Jianmin Lv <lvjianmin@loongson.cn>
Subject: Re: drivers/irqchip/irq-loongson-eiointc.c:289:20: warning: no previous prototype for 'acpi_get_vec_parent'
Date: Wed, 03 Aug 2022 08:27:05 +0100	[thread overview]
Message-ID: <87pmhhbxdi.wl-maz@kernel.org> (raw)
In-Reply-To: <202208030600.u3ehRjUE-lkp@intel.com>

On Wed, 03 Aug 2022 00:02:04 +0100,
kernel test robot <lkp@intel.com> wrote:
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   c1dbe9a1c86da098a29dcdca1a67b65e2de7ec3a
> commit: dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7 irqchip: Add Loongson Extended I/O interrupt controller support
> date:   2 weeks ago
> config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20220803/202208030600.u3ehRjUE-lkp@intel.com/config)
> compiler: loongarch64-linux-gcc (GCC) 12.1.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
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/irqchip/ drivers/platform/surface/aggregator/
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>):
> 
> >> drivers/irqchip/irq-loongson-eiointc.c:289:20: warning: no previous prototype for 'acpi_get_vec_parent' [-Wmissing-prototypes]
>      289 | struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group)
>          |                    ^~~~~~~~~~~~~~~~~~~
> 
> 
> vim +/acpi_get_vec_parent +289 drivers/irqchip/irq-loongson-eiointc.c
> 
>    288	
>  > 289	struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group)
>    290	{
>    291		int i;
>    292	
>    293		for (i = 0; i < MAX_IO_PICS; i++) {
>    294			if (node == vec_group[i].node)
>    295				return vec_group[i].parent;
>    296		}
>    297		return NULL;
>    298	}
>    299	

Huacan, Jiamin,

There is a bunch of these failures:

- 202208021528.FiUMZ8BX-lkp@intel.com
- 202208021521.Z3FSeLUl-lkp@intel.com
- 202208022031.9hRlPwUl-lkp@intel.com
- 202208020817.G8vpKIfp-lkp@intel.com

Please investigate them, as LoongArch is so far the largest offender
in the irqchip tree.

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.

  reply	other threads:[~2022-08-03  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-02 23:02 drivers/irqchip/irq-loongson-eiointc.c:289:20: warning: no previous prototype for 'acpi_get_vec_parent' kernel test robot
2022-08-03  7:27 ` Marc Zyngier [this message]
2022-08-03  7:27   ` 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=87pmhhbxdi.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --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.