From nobody Fri Dec 27 15:16:48 2024 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [195.130.137.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAA6A12DD88 for ; Tue, 10 Dec 2024 08:52:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.89 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733820738; cv=none; b=ICYHuBJCn7JCaNOJtA3dNDDIIshbdr108O7W8KEm4fsVTQHlVoHyCa1cQSWu37p5RWLLnD1HOHYzWwQ/GfBNz5H1AK5ejGrLwZ+TZVJcTnBMPpCtz7wqJiML038w4QC/7sR1X8R+l1NARYtVleEHC9UWFYFCOxoGL2GkC99qqws= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733820738; c=relaxed/simple; bh=hr0TPaCGw3LhKmhIDpLsXe/y8JIpZV+C5LY9aLrSB/c=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=kxp0D94++aL/1TzgEaynB709iI9Uj6wqb83apPxb5AHtK8fZzFFAI3G8CRRpETlxlZhCYXV+mSP+kjFeVjwk/CRGXecZNmwQ8X/jz6X43zN/85R0L+V0hXpFijJ8HcMfDSAFNDXR7DBEJLAkprCoG+fZOJU9210vIfLjmS5eiDQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:bf13:4c3:373e:7260]) by laurent.telenet-ops.be with cmsmtp id mws72D00K3K2VbF01ws7Kj; Tue, 10 Dec 2024 09:52:08 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1tKvyP-000eT0-U3; Tue, 10 Dec 2024 09:52:07 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1tKvyR-009nZb-5C; Tue, 10 Dec 2024 09:52:07 +0100 From: Geert Uytterhoeven To: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Andrew Morton Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] kbuild: Drop architecture argument from headers_check.pl Date: Tue, 10 Dec 2024 09:52:05 +0100 Message-Id: <168b2cb09f09ec3cead8a6b1e726ac76f5d06171.1733820553.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Since commit 7ff0fd4a9e20cf73 ("kbuild: drop support for include/asm- in headers_check.pl"), the second argument $arch is no longer used, hence drop it. Reported-by: Masahiro Yamada Closes: https://lore.kernel.org/CAK7LNARNa3NPSeRAUgMaEqWiA+C6-s1PxRe1bCUJg6= zLyOtDkA@mail.gmail.com Signed-off-by: Geert Uytterhoeven --- Commit 7ff0fd4a9e20cf73 is part of the mm tree. usr/include/Makefile | 2 +- usr/include/headers_check.pl | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/usr/include/Makefile b/usr/include/Makefile index 771e32872b2ab12d..6c6de1b1622b1a69 100644 --- a/usr/include/Makefile +++ b/usr/include/Makefile @@ -78,7 +78,7 @@ quiet_cmd_hdrtest =3D HDRTEST $< cmd_hdrtest =3D \ $(CC) $(c_flags) -fsyntax-only -x c /dev/null \ $(if $(filter-out $(no-header-test), $*.h), -include $< -include $<); \ - $(PERL) $(src)/headers_check.pl $(obj) $(SRCARCH) $<; \ + $(PERL) $(src)/headers_check.pl $(obj) $<; \ touch $@ =20 $(obj)/%.hdrtest: $(obj)/%.h FORCE diff --git a/usr/include/headers_check.pl b/usr/include/headers_check.pl index 7070c891ea294b4d..2b70bfa5558e6451 100755 --- a/usr/include/headers_check.pl +++ b/usr/include/headers_check.pl @@ -3,9 +3,8 @@ # # headers_check.pl execute a number of trivial consistency checks # -# Usage: headers_check.pl dir arch [files...] +# Usage: headers_check.pl dir [files...] # dir: dir to look for included files -# arch: architecture # files: list of files to check # # The script reads the supplied files line by line and: @@ -23,7 +22,7 @@ use warnings; use strict; use File::Basename; =20 -my ($dir, $arch, @files) =3D @ARGV; +my ($dir, @files) =3D @ARGV; =20 my $ret =3D 0; my $line; --=20 2.34.1