tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ab5803bc555fe68b9b0d37b9a850d3ec601b938a commit: f2ccd0a922b38300c78e779436929853a42455f8 [6707/8019] workqueue: Add back __printf format validation config: powerpc64-randconfig-r011-20210608 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d2012d965d60c3258b3a69d024491698f8aec386) 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 powerpc64 cross compiling tool for clang build # apt-get install binutils-powerpc64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f2ccd0a922b38300c78e779436929853a42455f8 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout f2ccd0a922b38300c78e779436929853a42455f8 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): __do_insb ^ arch/powerpc/include/asm/io.h:556:56: note: expanded from macro '__do_insb' #define __do_insb(p, b, n) readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/powerpc/kernel/tau_6xx.c:20: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from arch/powerpc/include/asm/hardirq.h:6: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/powerpc/include/asm/io.h:619: arch/powerpc/include/asm/io-defs.h:45:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET' __do_##name al; \ ^~~~~~~~~~~~~~ <scratch space>:238:1: note: expanded from here __do_insw ^ arch/powerpc/include/asm/io.h:557:56: note: expanded from macro '__do_insw' #define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/powerpc/kernel/tau_6xx.c:20: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from arch/powerpc/include/asm/hardirq.h:6: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/powerpc/include/asm/io.h:619: arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET' __do_##name al; \ ^~~~~~~~~~~~~~ <scratch space>:240:1: note: expanded from here __do_insl ^ arch/powerpc/include/asm/io.h:558:56: note: expanded from macro '__do_insl' #define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/powerpc/kernel/tau_6xx.c:20: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from arch/powerpc/include/asm/hardirq.h:6: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/powerpc/include/asm/io.h:619: arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET' __do_##name al; \ ^~~~~~~~~~~~~~ <scratch space>:242:1: note: expanded from here __do_outsb ^ arch/powerpc/include/asm/io.h:559:58: note: expanded from macro '__do_outsb' #define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/powerpc/kernel/tau_6xx.c:20: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from arch/powerpc/include/asm/hardirq.h:6: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/powerpc/include/asm/io.h:619: arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET' __do_##name al; \ ^~~~~~~~~~~~~~ <scratch space>:244:1: note: expanded from here __do_outsw ^ arch/powerpc/include/asm/io.h:560:58: note: expanded from macro '__do_outsw' #define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) ~~~~~~~~~~~~~~~~~~~~~^ In file included from arch/powerpc/kernel/tau_6xx.c:20: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from arch/powerpc/include/asm/hardirq.h:6: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/powerpc/include/asm/io.h:619: arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET' __do_##name al; \ ^~~~~~~~~~~~~~ <scratch space>:246:1: note: expanded from here __do_outsl ^ arch/powerpc/include/asm/io.h:561:58: note: expanded from macro '__do_outsl' #define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) ~~~~~~~~~~~~~~~~~~~~~^ >> arch/powerpc/kernel/tau_6xx.c:204:52: warning: data argument not used by format string [-Wformat-extra-args] tau_workq = alloc_workqueue("tau", WQ_UNBOUND, 1, 0); ~~~~~ ^ 8 warnings generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE Selected by - PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP vim +204 arch/powerpc/kernel/tau_6xx.c ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 189 9e0d86cd2d7499 arch/powerpc/kernel/tau_6xx.c Mathieu Malaterre 2018-03-22 190 static int __init TAU_init(void) ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 191 { ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 192 /* We assume in SMP that if one CPU has TAU support, they ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 193 * all have it --BenH ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 194 */ ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 195 if (!cpu_has_feature(CPU_FTR_TAU)) { ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 196 printk("Thermal assist unit not available\n"); ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 197 tau_initialized = 0; ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 198 return 1; ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 199 } ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 200 5e3119e15fed5b arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 201 tau_int_enable = IS_ENABLED(CONFIG_TAU_INT) && 5e3119e15fed5b arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 202 !strcmp(cur_cpu_spec->platform, "ppc750"); 5e3119e15fed5b arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 203 b1c6a0a10bfaf3 arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 @204 tau_workq = alloc_workqueue("tau", WQ_UNBOUND, 1, 0); b1c6a0a10bfaf3 arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 205 if (!tau_workq) b1c6a0a10bfaf3 arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 206 return -ENOMEM; ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 207 15c8b6c1aaaf1c arch/powerpc/kernel/tau_6xx.c Jens Axboe 2008-05-09 208 on_each_cpu(TAU_init_smp, NULL, 0); ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 209 b1c6a0a10bfaf3 arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 210 queue_work(tau_workq, &tau_work); b1c6a0a10bfaf3 arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 211 b1c6a0a10bfaf3 arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 212 pr_info("Thermal assist unit using %s, shrink_timer: %d ms\n", 5e3119e15fed5b arch/powerpc/kernel/tau_6xx.c Finn Thain 2020-09-05 213 tau_int_enable ? "interrupts" : "workqueue", shrink_timer); ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 214 tau_initialized = 1; ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 215 ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 216 return 0; ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 217 } ^1da177e4c3f41 arch/ppc/kernel/temp.c Linus Torvalds 2005-04-16 218 :::::: The code at line 204 was first introduced by commit :::::: b1c6a0a10bfaf36ec82fde6f621da72407fa60a1 powerpc/tau: Convert from timer to workqueue :::::: TO: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> :::::: CC: Michael Ellerman <mpe@xxxxxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip