* [arm-platforms:irq/gic-sgi 6/8] drivers/irqchip/irq-gic.c:1236:15: error: expected ';' after do/while statement
@ 2020-04-28 3:52 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-28 3:52 UTC (permalink / raw)
To: Marc Zyngier; +Cc: clang-built-linux, kbuild-all, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 2644 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/gic-sgi
head: e5b65f31c15d74ec7859cf2c950fccbb758ab1e2
commit: ca1ac06c12bbdefd7d83c3021585d7dafaee3bba [6/8] irqchip/gic: Refactor SMP configuration
config: arm-cns3420vb_defconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project f30416fdde922eaa655934e050026930fefbd260)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git checkout ca1ac06c12bbdefd7d83c3021585d7dafaee3bba
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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 >>):
>> drivers/irqchip/irq-gic.c:1236:15: error: expected ';' after do/while statement
gic_smp_init();
^
;
1 error generated.
vim +1236 drivers/irqchip/irq-gic.c
1200
1201 static int __init __gic_init_bases(struct gic_chip_data *gic,
1202 struct fwnode_handle *handle)
1203 {
1204 char *name;
1205 int i, ret;
1206
1207 if (WARN_ON(!gic || gic->domain))
1208 return -EINVAL;
1209
1210 if (gic == &gic_data[0]) {
1211 /*
1212 * Initialize the CPU interface map to all CPUs.
1213 * It will be refined as each CPU probes its ID.
1214 * This is only necessary for the primary GIC.
1215 */
1216 for (i = 0; i < NR_GIC_CPU_IF; i++)
1217 gic_cpu_map[i] = 0xff;
1218
1219 set_handle_irq(gic_handle_irq);
1220 if (static_branch_likely(&supports_deactivate_key))
1221 pr_info("GIC: Using split EOI/Deactivate mode\n");
1222 }
1223
1224 if (static_branch_likely(&supports_deactivate_key) && gic == &gic_data[0]) {
1225 name = kasprintf(GFP_KERNEL, "GICv2");
1226 gic_init_chip(gic, NULL, name, true);
1227 } else {
1228 name = kasprintf(GFP_KERNEL, "GIC-%d", (int)(gic-&gic_data[0]));
1229 gic_init_chip(gic, NULL, name, false);
1230 }
1231
1232 ret = gic_init_bases(gic, handle);
1233 if (ret)
1234 kfree(name);
1235 else if (gic == &gic_data[0])
> 1236 gic_smp_init();
1237
1238 return ret;
1239 }
1240
---
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: 10743 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-28 3:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 3:52 [arm-platforms:irq/gic-sgi 6/8] drivers/irqchip/irq-gic.c:1236:15: error: expected ';' after do/while statement kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).