The patch titled Subject: checkpatch: remove migrated RCU APIs from deprecated_apis has been added to the -mm mm-nonmm-unstable branch. Its filename is checkpatch-remove-migrated-rcu-apis-from-deprecated_apis.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/checkpatch-remove-migrated-rcu-apis-from-deprecated_apis.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: David Reaver <me@xxxxxxxxxxxxxxx> Subject: checkpatch: remove migrated RCU APIs from deprecated_apis Date: Wed, 8 Jan 2025 11:24:54 -0800 The deprecated_apis map was created in [1] so checkpatch would flag deprecated RCU APIs. These deprecated APIs have since been removed from the kernel. This patch removes them from this map so checkpatch doesn't waste time looking for them, and so readers of checkpatch looking for deprecated APIs don't waste time searching for them. Link: https://lore.kernel.org/all/20181111192904.3199-13-paulmck@xxxxxxxxxxxxx/ [1] Link: https://lkml.kernel.org/r/20250108192456.47871-1-me@xxxxxxxxxxxxxxx Signed-off-by: David Reaver <me@xxxxxxxxxxxxxxx> Reviewed-by: Paul E. McKenney <paulmck@xxxxxxxxxx> Reviewed-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx> Acked-by: Joe Perches <joe@xxxxxxxxxxx> Cc: Andy Whitcroft <apw@xxxxxxxxxxxxx> Cc: Dwaipayan Ray <dwaipayanray1@xxxxxxxxx> Cc: Krister Johansen <kjlx@xxxxxxxxxxxxxxxxxx> Cc: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/checkpatch.pl | 10 ---------- 1 file changed, 10 deletions(-) --- a/scripts/checkpatch.pl~checkpatch-remove-migrated-rcu-apis-from-deprecated_apis +++ a/scripts/checkpatch.pl @@ -834,16 +834,6 @@ foreach my $entry (@mode_permission_func $mode_perms_search = "(?:${mode_perms_search})"; our %deprecated_apis = ( - "synchronize_rcu_bh" => "synchronize_rcu", - "synchronize_rcu_bh_expedited" => "synchronize_rcu_expedited", - "call_rcu_bh" => "call_rcu", - "rcu_barrier_bh" => "rcu_barrier", - "synchronize_sched" => "synchronize_rcu", - "synchronize_sched_expedited" => "synchronize_rcu_expedited", - "call_rcu_sched" => "call_rcu", - "rcu_barrier_sched" => "rcu_barrier", - "get_state_synchronize_sched" => "get_state_synchronize_rcu", - "cond_synchronize_sched" => "cond_synchronize_rcu", "kmap" => "kmap_local_page", "kunmap" => "kunmap_local", "kmap_atomic" => "kmap_local_page", _ Patches currently in -mm which might be from me@xxxxxxxxxxxxxxx are checkpatch-remove-migrated-rcu-apis-from-deprecated_apis.patch