From: "Joel Fernandes (Google)" <joel@joelfernandes.org>
To: linux-kernel@vger.kernel.org, Andy Whitcroft <apw@canonical.com>,
Joe Perches <joe@perches.com>,
Dwaipayan Ray <dwaipayanray1@gmail.com>,
Lukas Bulwahn <lukas.bulwahn@gmail.com>
Cc: rcu@vger.kernel.org, paulmck@kernel.org,
"Joel Fernandes (Google)" <joel@joelfernandes.org>
Subject: [PATCH 5/5] Revert "checkpatch: Error out if deprecated RCU API used"
Date: Tue, 25 Jul 2023 23:29:10 +0000 [thread overview]
Message-ID: <20230725232913.2981357-6-joel@joelfernandes.org> (raw)
In-Reply-To: <20230725232913.2981357-1-joel@joelfernandes.org>
The check for single-argument kfree_rcu() is no longer needed as all
users have been converted.
This reverts commit 1eacac3255495be7502d406e2ba5444fb5c3607c.
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
---
scripts/checkpatch.pl | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index a9841148cde2..528f619520eb 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -6422,15 +6422,6 @@ sub process {
}
}
-# check for soon-to-be-deprecated single-argument k[v]free_rcu() API
- if ($line =~ /\bk[v]?free_rcu\s*\([^(]+\)/) {
- if ($line =~ /\bk[v]?free_rcu\s*\([^,]+\)/) {
- ERROR("DEPRECATED_API",
- "Single-argument k[v]free_rcu() API is deprecated, please pass rcu_head object or call k[v]free_rcu_mightsleep()." . $herecurr);
- }
- }
-
-
# check for unnecessary "Out of Memory" messages
if ($line =~ /^\+.*\b$logFunctions\s*\(/ &&
$prevline =~ /^[ \+]\s*if\s*\(\s*(\!\s*|NULL\s*==\s*)?($Lval)(\s*==\s*NULL\s*)?\s*\)/ &&
--
2.41.0.487.g6d72f3e995-goog
next prev parent reply other threads:[~2023-07-25 23:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-25 23:29 [PATCH 0/5] misc RCU fixes and cleanups Joel Fernandes (Google)
2023-07-25 23:29 ` [PATCH 1/5] rcutorture: Fix stuttering races and other issues Joel Fernandes (Google)
2023-07-26 20:59 ` Paul E. McKenney
2023-07-27 3:01 ` Joel Fernandes
2023-07-27 4:01 ` Paul E. McKenney
2023-07-27 4:03 ` Joel Fernandes
2023-07-25 23:29 ` [PATCH 2/5] srcu: Fix error handling in init_srcu_struct_fields() Joel Fernandes (Google)
2023-07-26 21:07 ` Paul E. McKenney
2023-07-27 3:04 ` Joel Fernandes
2023-07-27 4:02 ` Paul E. McKenney
2023-07-27 4:24 ` Joel Fernandes
2023-07-25 23:29 ` [PATCH 3/5] tree/nocb: Adjust RCU_NOCB_WAKE_* macros from weaker to stronger Joel Fernandes (Google)
2023-07-25 23:29 ` [PATCH 4/5] tree/nocb: Improve readability of nocb_gp_wait() Joel Fernandes (Google)
2023-07-25 23:29 ` Joel Fernandes (Google) [this message]
2023-07-26 21:12 ` [PATCH 5/5] Revert "checkpatch: Error out if deprecated RCU API used" Paul E. McKenney
2023-07-27 2:55 ` Joel Fernandes
2023-07-29 14:27 [PATCH v2 0/5] misc RCU fixes and cleanups Joel Fernandes (Google)
2023-07-29 14:27 ` [PATCH 5/5] Revert "checkpatch: Error out if deprecated RCU API used" Joel Fernandes (Google)
2023-07-29 14:29 ` Joel Fernandes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230725232913.2981357-6-joel@joelfernandes.org \
--to=joel@joelfernandes.org \
--cc=apw@canonical.com \
--cc=dwaipayanray1@gmail.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
--cc=paulmck@kernel.org \
--cc=rcu@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®