]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/tau: Remove superfluous parameter in alloc_workqueue() call
authorFinn Thain <fthain@linux-m68k.org>
Fri, 11 Jun 2021 07:58:27 +0000 (17:58 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Jun 2021 13:47:10 +0000 (23:47 +1000)
This avoids an (optional) compiler warning:

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]
  tau_workq = alloc_workqueue("tau", WQ_UNBOUND, 1, 0);

Fixes: ea7369f1e1a9 ("powerpc/tau: Convert from timer to workqueue")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a1456e8bbd33ef702e3ff6f14b1bf3919241c62b.1623398307.git.fthain@linux-m68k.org
arch/powerpc/kernel/tau_6xx.c

index 6c31af7f4fa82a77fdf1cf87c9e8b3a5a77ea93e..b9a047d92ec08fc75f0b4238d3f7a75d5a147da5 100644 (file)
@@ -201,7 +201,7 @@ static int __init TAU_init(void)
        tau_int_enable = IS_ENABLED(CONFIG_TAU_INT) &&
                         !strcmp(cur_cpu_spec->platform, "ppc750");
 
-       tau_workq = alloc_workqueue("tau", WQ_UNBOUND, 1, 0);
+       tau_workq = alloc_workqueue("tau", WQ_UNBOUND, 1);
        if (!tau_workq)
                return -ENOMEM;