* [linux-next:master 6674/9209] arch/powerpc/kernel/tau_6xx.c:204:30: error: too many arguments for format
@ 2021-06-14 15:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-14 15:37 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 5293 bytes --]
CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Joe Perches <joe@perches.com>
CC: Tejun Heo <tj@kernel.org>
Hi Joe,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 25fe90f43fa312213b653dc1f12fd2d80f855883
commit: f2ccd0a922b38300c78e779436929853a42455f8 [6674/9209] workqueue: Add back __printf format validation
:::::: branch date: 3 days ago
:::::: commit date: 10 days ago
config: powerpc-randconfig-p001-20210614 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.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://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=gcc-9.3.0 make.cross ARCH=powerpc
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 >>):
arch/powerpc/kernel/tau_6xx.c: In function 'TAU_init':
>> arch/powerpc/kernel/tau_6xx.c:204:30: error: too many arguments for format [-Werror=format-extra-args]
204 | tau_workq = alloc_workqueue("tau", WQ_UNBOUND, 1, 0);
| ^~~~~
cc1: all warnings being treated as errors
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@telegraphics.com.au>
:::::: CC: Michael Ellerman <mpe@ellerman.id.au>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39124 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-14 15:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 15:37 [linux-next:master 6674/9209] arch/powerpc/kernel/tau_6xx.c:204:30: error: too many arguments for format kernel test robot
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.