From: kernel test robot <lkp@intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-arm-kernel@lists.infradead.org
Subject: [arm-platforms:irq/irq_chip_ro 1/9] drivers/irqchip/irq-gic.c:405:3: error: implicit declaration of function 'seq_printf'
Date: Mon, 31 Jan 2022 13:38:03 +0800 [thread overview]
Message-ID: <202201311355.HUXeoGa5-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro
head: f63a5ded3ea0cd2c587db00f89d219789fbee683
commit: 6a55685f591b540217d642fc5e0799634ee29a91 [1/9] irqchip/gic: Switch to dynamic chip name output
config: arm64-randconfig-r024-20220131 (https://download.01.org/0day-ci/archive/20220131/202201311355.HUXeoGa5-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f1c18acb07aa40f42b87b70462a6d1ab77a4825c)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=6a55685f591b540217d642fc5e0799634ee29a91
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/irq_chip_ro
git checkout 6a55685f591b540217d642fc5e0799634ee29a91
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/irqchip/irq-gic.c:405:3: error: implicit declaration of function 'seq_printf' [-Werror,-Wimplicit-function-declaration]
seq_printf(p, "%s", gic->chip.parent_device->of_node->name);
^
1 error generated.
vim +/seq_printf +405 drivers/irqchip/irq-gic.c
399
400 static void gic_irq_print_chip(struct irq_data *d, struct seq_file *p)
401 {
402 struct gic_chip_data *gic = irq_data_get_irq_chip_data(d);
403
404 if (gic->chip.parent_device)
> 405 seq_printf(p, "%s", gic->chip.parent_device->of_node->name);
406 else if (static_branch_likely(&supports_deactivate_key) &&
407 gic == &gic_data[0])
408 seq_printf(p, "GICv2");
409 else
410 seq_printf(p, "GIC-%d", (int)(gic - &gic_data[0]));
411 }
412
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-arm-kernel@lists.infradead.org
Subject: [arm-platforms:irq/irq_chip_ro 1/9] drivers/irqchip/irq-gic.c:405:3: error: implicit declaration of function 'seq_printf'
Date: Mon, 31 Jan 2022 13:38:03 +0800 [thread overview]
Message-ID: <202201311355.HUXeoGa5-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro
head: f63a5ded3ea0cd2c587db00f89d219789fbee683
commit: 6a55685f591b540217d642fc5e0799634ee29a91 [1/9] irqchip/gic: Switch to dynamic chip name output
config: arm64-randconfig-r024-20220131 (https://download.01.org/0day-ci/archive/20220131/202201311355.HUXeoGa5-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f1c18acb07aa40f42b87b70462a6d1ab77a4825c)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=6a55685f591b540217d642fc5e0799634ee29a91
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/irq_chip_ro
git checkout 6a55685f591b540217d642fc5e0799634ee29a91
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/irqchip/irq-gic.c:405:3: error: implicit declaration of function 'seq_printf' [-Werror,-Wimplicit-function-declaration]
seq_printf(p, "%s", gic->chip.parent_device->of_node->name);
^
1 error generated.
vim +/seq_printf +405 drivers/irqchip/irq-gic.c
399
400 static void gic_irq_print_chip(struct irq_data *d, struct seq_file *p)
401 {
402 struct gic_chip_data *gic = irq_data_get_irq_chip_data(d);
403
404 if (gic->chip.parent_device)
> 405 seq_printf(p, "%s", gic->chip.parent_device->of_node->name);
406 else if (static_branch_likely(&supports_deactivate_key) &&
407 gic == &gic_data[0])
408 seq_printf(p, "GICv2");
409 else
410 seq_printf(p, "GIC-%d", (int)(gic - &gic_data[0]));
411 }
412
---
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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [arm-platforms:irq/irq_chip_ro 1/9] drivers/irqchip/irq-gic.c:405:3: error: implicit declaration of function 'seq_printf'
Date: Mon, 31 Jan 2022 13:38:03 +0800 [thread overview]
Message-ID: <202201311355.HUXeoGa5-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2457 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro
head: f63a5ded3ea0cd2c587db00f89d219789fbee683
commit: 6a55685f591b540217d642fc5e0799634ee29a91 [1/9] irqchip/gic: Switch to dynamic chip name output
config: arm64-randconfig-r024-20220131 (https://download.01.org/0day-ci/archive/20220131/202201311355.HUXeoGa5-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f1c18acb07aa40f42b87b70462a6d1ab77a4825c)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=6a55685f591b540217d642fc5e0799634ee29a91
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/irq_chip_ro
git checkout 6a55685f591b540217d642fc5e0799634ee29a91
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/irqchip/irq-gic.c:405:3: error: implicit declaration of function 'seq_printf' [-Werror,-Wimplicit-function-declaration]
seq_printf(p, "%s", gic->chip.parent_device->of_node->name);
^
1 error generated.
vim +/seq_printf +405 drivers/irqchip/irq-gic.c
399
400 static void gic_irq_print_chip(struct irq_data *d, struct seq_file *p)
401 {
402 struct gic_chip_data *gic = irq_data_get_irq_chip_data(d);
403
404 if (gic->chip.parent_device)
> 405 seq_printf(p, "%s", gic->chip.parent_device->of_node->name);
406 else if (static_branch_likely(&supports_deactivate_key) &&
407 gic == &gic_data[0])
408 seq_printf(p, "GICv2");
409 else
410 seq_printf(p, "GIC-%d", (int)(gic - &gic_data[0]));
411 }
412
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next reply other threads:[~2022-01-31 5:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-31 5:38 kernel test robot [this message]
2022-01-31 5:38 ` [arm-platforms:irq/irq_chip_ro 1/9] drivers/irqchip/irq-gic.c:405:3: error: implicit declaration of function 'seq_printf' kernel test robot
2022-01-31 5:38 ` kernel test robot
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=202201311355.HUXeoGa5-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=llvm@lists.linux.dev \
--cc=maz@kernel.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.