checkpatch-add-idr-to-the-deprecated-list.patch removed from -mm tree
The quilt patch titled
Subject: checkpatch: add IDR to the deprecated list
has been removed from the -mm tree. Its filename was
checkpatch-add-idr-to-the-deprecated-list.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: : Carlos López <[email protected]>
Subject: checkpatch: add IDR to the deprecated list
Date: Fri, 31 Oct 2025 12:19:09 +0100
As of commit 85656ec193e9, the IDR interface is marked as deprecated in the documentation, but no checks are made in that regard for new code. Add the existing IDR initialization APIs to the deprecated list in checkpatch, so that if new code is introduced using these APIs, a warning is emitted.
---
scripts/checkpatch.pl | 4 ++++ 1 file changed, 4 insertions(+)
scripts/checkpatch.pl renamed from scripts/checkpatch.pl~checkpatch-add-idr-to-the-deprecated-list +4 -0
@@ -860,6 +860,10 @@ our %deprecated_apis = ( "kunmap" => "kunmap_local", "kmap_atomic" => "kmap_local_page", "kunmap_atomic" => "kunmap_local", + #These should be enough to drive away new IDR users + "DEFINE_IDR" => "DEFINE_XARRAY", + "idr_init" => "xa_init", + "idr_init_base" => "xa_init_flags" ); #Create a search pattern for all these strings to speed up a loop below
_
Patches currently in -mm which might be from [email protected] are