Skip to contentSkip to conversation

checkpatch-remove-migrated-rcu-apis-from-deprecated_apis.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Jan 13, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: checkpatch: remove migrated RCU APIs from deprecated_apis
has been removed from the -mm tree. Its filename was
checkpatch-remove-migrated-rcu-apis-from-deprecated_apis.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: David Reaver <[email protected]>
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.

---

 scripts/checkpatch.pl |   10 ----------
 1 file changed, 10 deletions(-)
scripts/checkpatch.pl renamed from scripts/checkpatch.pl~checkpatch-remove-migrated-rcu-apis-from-deprecated_apis +0 -10
@@ -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 [email protected] are