powerpc: Use str_plural() in cpu_init_thread_core_maps()
authorThorsten Blum <thorsten.blum@toblux.com>
Sun, 31 Mar 2024 22:22:50 +0000 (00:22 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Apr 2024 03:29:28 +0000 (14:29 +1100)
commit3e42e72796d8991fecad78d61a180e24a4853427
tree718c542fab8e52e599e4bbb4d46a9a74763deb48
parent39cd87c4eb2b893354f3b850f916353f2658ae6f
powerpc: Use str_plural() in cpu_init_thread_core_maps()

Fixes the following Coccinelle/coccicheck warning reported by
string_choices.cocci:

opportunity for str_plural(tpc)

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240331222249.107467-2-thorsten.blum@toblux.com
arch/powerpc/kernel/setup-common.c