Skip to contentSkip to conversation

kbuild-drop-support-for-include-asm-arch-in-headers_checkpl.patch removed from -mm tree

merged Andrew Morton 1 participant 1 message Dec 23, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kbuild: drop support for include/asm-<arch> in headers_check.pl
has been removed from the -mm tree. Its filename was
kbuild-drop-support-for-include-asm-arch-in-headers_checkpl.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: kbuild: drop support for include/asm-<arch> in headers_check.pl
Date: Thu, 5 Dec 2024 14:20:43 +0100

"include/asm-<arch>" was replaced by "arch/<arch>/include/asm" a long time ago. All assembler header files are now included using "#include <asm/*>", so there is no longer a need to rewrite paths.

---

 usr/include/headers_check.pl |    4 ----
 1 file changed, 4 deletions(-)
usr/include/headers_check.pl renamed from usr/include/headers_check.pl~kbuild-drop-support-for-include-asm-arch-in-headers_checkpl +0 -4
@@ -55,10 +55,6 @@ sub check_include
 		my $found;
 		$found = stat($dir . "/" . $inc);
 		if (!$found) {
-			$inc =~ s#asm/#asm-$arch/#;
-			$found = stat($dir . "/" . $inc);
-		}
-		if (!$found) {
 			printf STDERR "$filename:$lineno: included file '$inc' is not exported\n";
 			$ret = 1;
 		}

_

Patches currently in -mm which might be from [email protected] are

checkpatch-update-reference-to-include-asm-arch.patch include-update-references-to-include-asm-arch.patch