[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dea6be36-0462-4076-b6ae-56886b495b01@paulmck-laptop>
Date: Wed, 8 Jan 2025 12:01:58 -0800
From: "Paul E. McKenney" <paulmck@...nel.org>
To: David Reaver <me@...idreaver.com>
Cc: Andy Whitcroft <apw@...onical.com>, Joe Perches <joe@...ches.com>,
Dwaipayan Ray <dwaipayanray1@...il.com>,
Lukas Bulwahn <lukas.bulwahn@...il.com>, rcu@...r.kernel.org,
linux-kernel@...r.kernel.org,
Krister Johansen <kjlx@...pleofstupid.com>
Subject: Re: [PATCH] checkpatch: Remove migrated RCU APIs from deprecated_apis
On Wed, Jan 08, 2025 at 11:24:54AM -0800, David Reaver wrote:
> 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@linux.ibm.com/ [1]
>
> Signed-off-by: David Reaver <me@...idreaver.com>
I guess it has been more than five years now. ;-)
Reviewed-by: Paul E. McKenney <paulmck@...nel.org>
> ---
> scripts/checkpatch.pl | 10 ----------
> 1 file changed, 10 deletions(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 9eed3683ad76..842a39a01af1 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -834,1 +834,1 @@ foreach my $entry (@mode_permission_funcs) {
> $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",
>
Powered by blists - more mailing lists