]> www.infradead.org Git - users/jedix/linux-maple.git/commit
smp: Use str_plural() to fix Coccinelle warnings
authorThorsten Blum <thorsten.blum@toblux.com>
Wed, 8 May 2024 15:42:26 +0000 (17:42 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Jun 2024 13:17:44 +0000 (15:17 +0200)
commitc4df15931cb72556fea93bd763ada88e56cbd8e5
treec37fdc34532571410f213ffaecc84e3e3d7b7e26
parentf45a6051d582f613f4abc383ae238661f7813302
smp: Use str_plural() to fix Coccinelle warnings

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

opportunity for str_plural(num_cpus)
opportunity for str_plural(num_nodes)

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Link: https://lore.kernel.org/r/20240508154225.309703-2-thorsten.blum@toblux.com
kernel/smp.c