Hi Mahesh,
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.5-rc2 next-20160201]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Mahesh-J-Salgaonkar/ppc64-boot-Wait-for-boot-cpu-to-show-up-if-nr_cpus-limit-is-about-to-hit/20160202-012114
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-allnoconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
arch/powerpc/kernel/prom.c: In function 'early_init_dt_scan_cpus':quoted
arch/powerpc/kernel/prom.c:345:14: error: lvalue required as left operand of assignment
nr_cpu_ids = _ALIGN_UP(nr_cpu_ids, nthreads);
^
vim +345 arch/powerpc/kernel/prom.c
339
340 /*
341 * Now that we know threads per core lets align nr_cpu_ids to
342 * correct SMT value.
343 */
344 if (nr_cpu_ids % nthreads) {
> 345 nr_cpu_ids = _ALIGN_UP(nr_cpu_ids, nthreads);
346 pr_info("Aligned nr_cpus to SMT=%d, nr_cpu_ids = %d\n",
347 nthreads, nr_cpu_ids);
348 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation