From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH V6 04/10] irqchip/loongson-pch-msi: Add ACPI init support
Date: Tue, 12 Oct 2021 11:49:22 +0800 [thread overview]
Message-ID: <202110121107.8AdZOCSF-lkp@intel.com> (raw)
In-Reply-To: <20211011083405.861416-5-chenhuacai@loongson.cn>
[-- Attachment #1: Type: text/plain, Size: 3080 bytes --]
Hi Huacai,
I love your patch! Perhaps something to improve:
[auto build test WARNING on tip/irq/core]
[also build test WARNING on linux/master linus/master v5.15-rc5 next-20211011]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Huacai-Chen/irqchip-Add-LoongArch-related-irqchip-drivers/20211011-164738
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git b70e13885cf63b6f99cbd9a1dbb6beaa2622bf68
config: mips-loongson2k_defconfig (attached as .config)
compiler: mips64el-linux-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/c2e672fab9842d2cfc2876a27ec4513c75347fdf
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Huacai-Chen/irqchip-Add-LoongArch-related-irqchip-drivers/20211011-164738
git checkout c2e672fab9842d2cfc2876a27ec4513c75347fdf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/irqchip/irq-loongson-pch-msi.c:234:5: warning: no previous prototype for 'pch_msi_of_init' [-Wmissing-prototypes]
234 | int pch_msi_of_init(struct device_node *node, struct device_node *parent)
| ^~~~~~~~~~~~~~~
vim +/pch_msi_of_init +234 drivers/irqchip/irq-loongson-pch-msi.c
233
> 234 int pch_msi_of_init(struct device_node *node, struct device_node *parent)
235 {
236 int err;
237 int irq_base, irq_count;
238 struct resource res;
239 struct irq_domain *parent_domain;
240
241 parent_domain = irq_find_host(parent);
242 if (!parent_domain) {
243 pr_err("Failed to find the parent domain\n");
244 return -ENXIO;
245 }
246
247 if (of_address_to_resource(node, 0, &res)) {
248 pr_err("Failed to allocate resource\n");
249 return -EINVAL;
250 }
251
252 if (of_property_read_u32(node, "loongson,msi-base-vec", &irq_base)) {
253 pr_err("Unable to parse MSI vec base\n");
254 return -EINVAL;
255 }
256
257 if (of_property_read_u32(node, "loongson,msi-num-vecs", &irq_count)) {
258 pr_err("Unable to parse MSI vec number\n");
259 return -EINVAL;
260 }
261
262 err = pch_msi_init(res.start, irq_base, irq_count, parent_domain, of_node_to_fwnode(node));
263 if (err < 0)
264 return err;
265
266 return 0;
267 }
268
---
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: 30741 bytes --]
next prev parent reply other threads:[~2021-10-12 3:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 8:33 [PATCH V6 00/10] irqchip: Add LoongArch-related irqchip drivers Huacai Chen
2021-10-11 8:33 ` [PATCH V6 01/10] irqchip: Adjust Kconfig for Loongson Huacai Chen
2021-10-11 8:33 ` [PATCH V6 02/10] irqchip/loongson-pch-pic: Add ACPI init support Huacai Chen
2021-10-11 8:33 ` [PATCH V6 03/10] irqchip/loongson-pch-pic: Add suspend/resume support Huacai Chen
2021-10-11 8:33 ` [PATCH V6 04/10] irqchip/loongson-pch-msi: Add ACPI init support Huacai Chen
2021-10-12 3:49 ` kernel test robot [this message]
2021-10-11 8:34 ` [PATCH V6 05/10] irqchip/loongson-htvec: " Huacai Chen
2021-10-11 8:34 ` [PATCH V6 06/10] irqchip/loongson-htvec: Add suspend/resume support Huacai Chen
2021-10-11 8:34 ` [PATCH V6 07/10] irqchip/loongson-liointc: Add ACPI init support Huacai Chen
2021-10-11 8:34 ` [PATCH V6 08/10] irqchip: Add LoongArch CPU interrupt controller support Huacai Chen
2021-10-11 8:34 ` [PATCH V6 09/10] irqchip: Add Loongson Extended I/O " Huacai Chen
2021-10-11 8:34 ` [PATCH V6 10/10] irqchip: Add Loongson PCH LPC " Huacai Chen
2021-10-12 5:58 ` 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=202110121107.8AdZOCSF-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.