]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
workqueue: wq_watchdog_touch is always called with valid CPU
authorNicholas Piggin <npiggin@gmail.com>
Tue, 25 Jun 2024 11:42:44 +0000 (21:42 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Sep 2024 09:07:52 +0000 (11:07 +0200)
commitf67401f3857fcddaa61f5f1c71aaac848c0fb180
treea146b49b097ea18a5d5032a32fcc0c57b51d06bc
parentb14e7260bb691d7f563f61da07d61e3c8b59a614
workqueue: wq_watchdog_touch is always called with valid CPU

[ Upstream commit 18e24deb1cc92f2068ce7434a94233741fbd7771 ]

Warn in the case it is called with cpu == -1. This does not appear
to happen anywhere.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/workqueue.c