From nobody Sun Jun 14 09:21:37 2026 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99F392FC893 for ; Wed, 3 Jun 2026 14:12:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780495943; cv=none; b=t5KmV09f89PGvsTmEBpmZv9jNPikvRGsyT5BFioJpeBU20XIGhuxRIIwAgJfZgAaIaahlN0feRNPm2gyWtv6kmXNAUWYsan3pW27Iyp9f719dQbixjhC6iSuk0dpjNBc99HGOBeVJQGvTrs6N2x4NIPcm102u3nS+mrMB8NKK6k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780495943; c=relaxed/simple; bh=6NBGGGqQdAlf19cdKqd6/c9iSmq50Hg/WoFP4yTaX50=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=JKsr5yAYqbECM68TcB6fxyRTE0v3yehjQftLztcelwiXoqnuqodoQPLj39C6m/zFMLEHtYFg6766QnhbXMJCckqTAuMHWXbvUceEbtj+z7JyZwfJhfNVY2mcqho6D3cTloFYphDmpNqaTgsWbJHq0WGi+5Wc64WKy4XmIzSBZEM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wUmKL-00029V-16; Wed, 03 Jun 2026 16:12:13 +0200 Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wUmKK-000vVI-0i; Wed, 03 Jun 2026 16:12:12 +0200 Received: from [::1] (helo=dude02.red.stw.pengutronix.de) by dude02.red.stw.pengutronix.de with esmtp (Exim 4.98.2) (envelope-from ) id 1wUmKK-00000007Qap-0bFJ; Wed, 03 Jun 2026 16:12:12 +0200 From: Sascha Hauer Date: Wed, 03 Jun 2026 16:12:10 +0200 Subject: [PATCH] arm: gen-mach-types: don't include absolute filename Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260603-arm-remove-path-from-mach-types-h-v1-1-cda9890ba788@pengutronix.de> X-B4-Tracking: v=1; b=H4sIADk2IGoC/x3NQQqEMAxA0atI1hOIlSmDVxEXQdNpFrUlFRkR7 26Z5dv8f0EVU6kwdheYHFo1bw39q4Ml8vYV1LUZHDlPngZkS2iS8iFYeI8YLCdMvETczyIVI7I Pb/dZPQkRtE4xCfr7P6b5vh/T+d4pcwAAAA== X-Change-ID: 20260603-arm-remove-path-from-mach-types-h-a6f528d60e00 To: Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Marco Felsch , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Alexander Stein , Ryan Eatmon , kernel@pengutronix.de, Sascha Hauer X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1780495932; l=1856; i=s.hauer@pengutronix.de; s=20230412; h=from:subject:message-id; bh=6NBGGGqQdAlf19cdKqd6/c9iSmq50Hg/WoFP4yTaX50=; b=smgTy4jOXbjolFympty6AJluSL4Rbwcxk7U6iebblgjl540rACBjgF4K8uZBnDc8Tge3Vy4DK HAUxEAHjlKSAeN3x/Q0XnXkGtFxi8LohpGjl1nZngqoMGvRgWLrWCFm X-Developer-Key: i=s.hauer@pengutronix.de; a=ed25519; pk=4kuc9ocmECiBJKWxYgqyhtZOHj5AWi7+d0n/UjhkwTg= X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: s.hauer@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org mach-types.h is part of the kapi and as such shipped in the linux-headers package. The embedded build path makes that package non-reproducible without going through an extra step of normalizing the path. YOCTO has similar problems in the kernel debug source package. Make the path relative to the kernel source tree which is enough to find the tool that has generated the file. Signed-off-by: Sascha Hauer Acked-by: Ryan Eatmon Acked-by: Uwe Kleine-K=C3=B6nig --- This topic comes up every once in a while, without any clear objection other than "Or just leave it as is. It's in a comment, it doesn't get into the executable, and thus is harmless.", from which I am not sure if it actually is an objection. Cced the authors of the previous patches that I am aware of: https://lore.kernel.org/all/20241114130021.2802803-1-m.felsch@pengutronix.d= e/ https://lore.kernel.org/all/13360982.O9o76ZdvQC@steina-w/ https://lore.kernel.org/all/20240213092835.754462-2-u.kleine-koenig@pengutr= onix.de/ https://lore.kernel.org/all/20241002175049.15219-1-reatmon@ti.com/ --- arch/arm/tools/gen-mach-types | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/tools/gen-mach-types b/arch/arm/tools/gen-mach-types index cbe1c33bb8710..65ec262b31e65 100644 --- a/arch/arm/tools/gen-mach-types +++ b/arch/arm/tools/gen-mach-types @@ -24,7 +24,7 @@ NF =3D=3D 3 { =20 END { printf("/*\n"); - printf(" * This was automagically generated from %s!\n", FILENAME); + printf(" * This was automagically generated from arch/arm/tools/gen-mac= h-types!\n"); printf(" * Do NOT edit\n"); printf(" */\n\n"); printf("#ifndef __ASM_ARM_MACH_TYPE_H\n"); --- base-commit: ba3e43a9e601636f5edb54e259a74f96ca3b8fd8 change-id: 20260603-arm-remove-path-from-mach-types-h-a6f528d60e00 Best regards, --=20 Sascha Hauer