From: "Carlos López" <clopez@suse.de>
To: linux-kernel@vger.kernel.org
Cc: linux-pci@vger.kernel.org, "Carlos López" <clopez@suse.de>,
"Andy Whitcroft" <apw@canonical.com>,
"Joe Perches" <joe@perches.com>,
"Dwaipayan Ray" <dwaipayanray1@gmail.com>,
"Lukas Bulwahn" <lukas.bulwahn@gmail.com>
Subject: [PATCH v2] checkpatch: deprecate pcim_iomap_table() and pcim_iomap_regions()
Date: Wed, 4 Mar 2026 12:50:34 +0100 [thread overview]
Message-ID: <20260304115032.400104-3-clopez@suse.de> (raw)
pcim_iomap_table() and pcim_iomap_regions() have been deprecated
since e354bb84a4c1 ("PCI: Deprecate pcim_iomap_table(),
pcim_iomap_regions_request_all()") and d140f80f6035 ("PCI: Deprecate
pcim_iomap_regions() in favor of pcim_iomap_region()") respectively.
Teach checkpatch about these to prevent adding new users of these
functions.
Signed-off-by: Carlos López <clopez@suse.de>
---
v2: removed --base=auto noise from the patch
scripts/checkpatch.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index e56374662ff7..53ee3db59b58 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -866,6 +866,8 @@ our %deprecated_apis = (
"idr_init_base" => "xa_init_flags",
"rcu_read_lock_trace" => "rcu_read_lock_tasks_trace",
"rcu_read_unlock_trace" => "rcu_read_unlock_tasks_trace",
+ "pcim_iomap_regions" => "pcim_iomap_region",
+ "pcim_iomap_table" => "pcim_iomap",
);
#Create a search pattern for all these strings to speed up a loop below
--
2.51.0
reply other threads:[~2026-03-04 11:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260304115032.400104-3-clopez@suse.de \
--to=clopez@suse.de \
--cc=apw@canonical.com \
--cc=dwaipayanray1@gmail.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
/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®