From nobody Thu Apr 9 14:59:30 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 5F88C293C42; Sun, 8 Mar 2026 21:24:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773005050; cv=none; b=NJl5Ef4BFDKoHp0L3zaJVurM4d0teQyHIzBK2BSxfdXttwJntz8m40D+vhlGYdhmLlMEZf2zDYvIW4f7UIr6bRNN/BNP+IF8CK0yWZExPeuQF62wIFw64td46ofK+bXPq7EUGVouK0FmnKOEC7GnqsK2FJXKnE2PGvEpqfXQCEw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773005050; c=relaxed/simple; bh=XE7aQ63fDTs412GySTUGTx0WOylnFvUIjIK4NeXoh7E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bTtaQGKmYexb7Zm6aPo02fzJoRLWTu02n1H9tR1IT4F0uCsS0f/yLA8NUQDyZLuDhtl3oPvqfmP9eyYMq1k5mlJ2OTFG4eWehhWxyxPw5f+2TUEDySVGTbTofhe+G53yAJpLCBH+xAeHgiOepKXCGxzHPaz34Q2uuQEGYN4YRnI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=gHUZLCcO; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="gHUZLCcO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1773005045; bh=XE7aQ63fDTs412GySTUGTx0WOylnFvUIjIK4NeXoh7E=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gHUZLCcOua6UDErCT7bhkhaI/2hF3ivIQbj9DGD/AGSeseb+jaiZnWCFfjNvXI09p FDRDmio3loHaxCp6zil5yW+9qtU9sg7riJN8IpaYsb0dVIYg2JLfcwoPfvbWJYLv5z 2OJtVXl91IOHar4OFQ+zfLKX30sY/UhggnXXaXyw= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Sun, 08 Mar 2026 22:24:02 +0100 Subject: [PATCH RFC 2/5] kbuild: uapi: move all include path flags together 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: <20260308-kbuild-uapi-c-v1-2-86aae09a7f1d@weissschuh.net> References: <20260308-kbuild-uapi-c-v1-0-86aae09a7f1d@weissschuh.net> In-Reply-To: <20260308-kbuild-uapi-c-v1-0-86aae09a7f1d@weissschuh.net> To: Arnd Bergmann , Nathan Chancellor , Nicolas Schier Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, David Howells , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1773005045; l=1368; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=XE7aQ63fDTs412GySTUGTx0WOylnFvUIjIK4NeXoh7E=; b=ZO4Yq5LW0IBrj2Q+7Tw5mcg/rGyBZTalt6dR9AKpcsZq7I12x3JmNOzfSK3EKD6lkwVkBQ5gl kdvw+bXoZRGC0tFEzWzonH4Tizdz9OgT/1U71Agu4g5BW3kwW+PCF88 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= The argument to add the root of the UAPI header tree to the include path is separated from the other arguments concerning the include path. Move all include path arguments together for more consistency and balanced line lengths. Signed-off-by: Thomas Wei=C3=9Fschuh --- usr/include/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/include/Makefile b/usr/include/Makefile index 0b1c9a4b0477..74f5ba24bb29 100644 --- a/usr/include/Makefile +++ b/usr/include/Makefile @@ -8,7 +8,7 @@ # We cannot go as far as adding -Wpedantic since it emits too many warning= s. UAPI_CFLAGS :=3D -std=3Dc90 -Werror=3Dimplicit-function-declaration =20 -override c_flags =3D $(KBUILD_USERCFLAGS) $(UAPI_CFLAGS) -Wp,-MMD,$(depfil= e) -I $(obj) +override c_flags =3D $(KBUILD_USERCFLAGS) $(UAPI_CFLAGS) -Wp,-MMD,$(depfil= e) =20 # The following are excluded for now because they fail to build. # @@ -141,7 +141,7 @@ target-libc =3D $(filter $(uses-libc), $*.h) target-can-compile =3D $(filter-out $(no-header-test), $*.h) =20 hdrtest-flags =3D -fsyntax-only -Werror \ - -nostdinc $(if $(target-libc), -I $(srctree)/usr/dummy-include) + -nostdinc -I $(obj) $(if $(target-libc), -I $(srctree)/usr/dummy-include) =20 # Include the header twice to detect missing include guard. quiet_cmd_hdrtest =3D HDRTEST $< --=20 2.53.0