From nobody Sun Dec 14 02:06:08 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 D9EA126ACC; Wed, 13 Aug 2025 06:17:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065855; cv=none; b=S7C3wg3MoKblY3oi5D75Cic1VR8KwGc02YjC0EtZQO8nW4FN4qukBnhYMvoNxx9MPW/gXDIYaxzppogSa6/7ljk9PSJG/VIZy0i3s/rnNKjiaYYinkIN1kSuzY0MUkbtKIJ4MIWsx46oLUorhWmwLOUWHtMH8fXJ6JrfxlT3CGs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065855; c=relaxed/simple; bh=Yzg7dfy7CQAoGxLwFJjO21Ljc6p003nQfc1CW+UxjyQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m5jr39maF2wcBrO2vg2CkZk71jtUEXTj3UbmAef1iLmxbJObYZ7FNm3rcw8Mn+ores1oRzjtIQ/Yfl9Vm4byeLLNsT0cksUHrPVp+nuFp/Me5uJATs04BhNxfpU9a2P+M6PlB69j7ylS6fBX5GFmafmAPpDOThiPrDXbhkUHVAI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=f1CThKoQ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=+pa+McNR; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="f1CThKoQ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="+pa+McNR" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1755065852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PkkDmhl/ZG+aA8mJZf277zrEFMKi1oBSEnkBnGz+tAs=; b=f1CThKoQjsiytGs/1iCVK4Yza7qlssLZonszuQF2SRcmQmM7QYWp8xh+4u2ckOqkQkox7n 9QG08+N0fExjfsGmHum8AuCQomKRAfAzySxjXnRDl72RgKpSzIPjAZfK85jVVsi/slQMIb rZrK/6D9QdC6t0JVdNbnC7YsXjCyCz8xHYj5cIleTYZ5TOOQ18ShKPme3F3/X2Bob0ZPTL gPOBGe77nD8f5UZJM4xSF7BZAaFp5Z+p/Fx6+OyUxIepYgiP3uUyyS12brhoISN3TsBvEm anzjMgWhTjANSRgSg+aGmIGvKF0+c6hR+d7N+XEk3iXrOUJ15qQdwANv+XGXtw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1755065852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PkkDmhl/ZG+aA8mJZf277zrEFMKi1oBSEnkBnGz+tAs=; b=+pa+McNREJd0sgpcUOZq43hl73u9/4Zh2Lk0n9p1qykkHKiiWwTDoaDn45KwQXMkJnpSOd zDBE0DQYzVvmnZAA== Date: Wed, 13 Aug 2025 08:16:56 +0200 Subject: [PATCH v2 1/5] kbuild: uapi: rerun header tests when headers_check.pl changes 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: <20250813-kbuild-hdrtest-fixes-v2-1-8a7921ca3a03@linutronix.de> References: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> In-Reply-To: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> To: Nathan Chancellor , Nicolas Schier Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Schier , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1755065851; l=845; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=Yzg7dfy7CQAoGxLwFJjO21Ljc6p003nQfc1CW+UxjyQ=; b=dN6LqYmq8ZKHF7fIPY4kO1X7jfH0sepzTfhLZqLAGCtRbdLm7N4+L+qIQDyOoifRzFXP596lj cT9tk6p87/FDbCHX704dRNJmnp8fHta5jxKJMzZznVMcPBMzfMG6tmM X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= If the checks change they need to be rerun. Add a Makefile dependency so this happens. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Nicolas Schier --- usr/include/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/include/Makefile b/usr/include/Makefile index f02f41941b60c88d921da2b955076bbff7884c1c..c7f164952b33acf6c7b8eb7ce91= cd192bfc39ad2 100644 --- a/usr/include/Makefile +++ b/usr/include/Makefile @@ -85,7 +85,7 @@ quiet_cmd_hdrtest =3D HDRTEST $< $(PERL) $(src)/headers_check.pl $(obj) $<; \ touch $@ =20 -$(obj)/%.hdrtest: $(obj)/%.h FORCE +$(obj)/%.hdrtest: $(obj)/%.h $(src)/headers_check.pl FORCE $(call if_changed_dep,hdrtest) =20 # Since GNU Make 4.3, $(patsubst $(obj)/%/,%,$(wildcard $(obj)/*/)) works. --=20 2.50.1 From nobody Sun Dec 14 02:06:08 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 51E0A2BD5BC; Wed, 13 Aug 2025 06:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065855; cv=none; b=PwCLa8z0/s08hrHJAzQW7nYBb6HILFKwrX5F5wbMcIQhHaLRmvgyooIb13dAPsM5vSrzEU1asBNFYhQ1w31Gkwwl7kWtA1doNS/+7huUgQ6fU9NM0fsYjdb8YoYZHyW+xv2exLNGf4fj7Tv2cCJ95e71+odVAn2ShcBKNV5i+5E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065855; c=relaxed/simple; bh=hGD1Xk4CyCtbyQNtKzuOFhKivBxKtvGCFOlOotG/MGw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rnY9KbazpW5gx2VVxuYT9wNARvwPeBb1ILzzCGJE37fucXwRV/oL50rdYo/w0bUYvPlz2YW7K9/em4xcQWB+N6ngOrXT0Z96hLWsDSQbjOC1H1o+nMApn/5t7KoidVcIH7Ri0boidE0UsHmfe5GE1Zhm/1pGxPOlFxKdISBaJx0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Xo/VONKK; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=n23oYa/y; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Xo/VONKK"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="n23oYa/y" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1755065852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9Ii0CVpVwuPC0DCc+uSADJuPPRgXUAgjPCiyH6hpDHg=; b=Xo/VONKKgk04hfn061RqKAeNMnZ4rheUQbiFzVjTH4rtHeP8P3nDaRVZlRul5XXOs3rOG/ mgXJ/G/Qg+GCmAn/4gjALHb/vZSarRB6XltxWepzdKp1QtWrJxP0O/TV9qZfCwcULUTBNr kfXBMa25QFPgyj3cYX0WMnlAF5s1iExd5oWePrCMgbcnx92z096jadHQu3SPJAIQ69MNZE RoHqI14GKysGZfdNZGQNg70pqQPZRE/KakzifwtB1LIGYjHuNzJVk1ZjYO9wyvCbMEn4VL wuI/0uiP1G/TyJRRBX55Bd+4cxaNzsNDr6pHgTzHjuHOQHevi0Ft9w6G+6zR3w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1755065852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9Ii0CVpVwuPC0DCc+uSADJuPPRgXUAgjPCiyH6hpDHg=; b=n23oYa/yKQGuyCLMPssbN+j30DgI9Yra9VXYIHFzxOPwLkFDousOeW2VorhKeoKyhdiQ4s P6jpSTni9O20axCg== Date: Wed, 13 Aug 2025 08:16:57 +0200 Subject: [PATCH v2 2/5] kbuild: uapi: fail header test on compiler warnings 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: <20250813-kbuild-hdrtest-fixes-v2-2-8a7921ca3a03@linutronix.de> References: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> In-Reply-To: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> To: Nathan Chancellor , Nicolas Schier Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Schier , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1755065851; l=993; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=hGD1Xk4CyCtbyQNtKzuOFhKivBxKtvGCFOlOotG/MGw=; b=COcBT0Sh5pihLdkv7L3is/GJS1LNLtxtQMdkyqBjG2G5iFs04trAbEGQsW4nYU/QB/hq8HasJ WYFoME2jgssC1AO5jBflmbdhZWlBl+bOO0OQWFRC26B9MRfapcjNxvd X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= Compiler warnings also indicate issues with the headers. Make sure they don't go unnoticed. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Nicolas Schier --- usr/include/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/include/Makefile b/usr/include/Makefile index c7f164952b33acf6c7b8eb7ce91cd192bfc39ad2..61a7dd4fc05f004d785c64c0019= ad846c84719d5 100644 --- a/usr/include/Makefile +++ b/usr/include/Makefile @@ -80,7 +80,7 @@ always-y :=3D $(patsubst $(obj)/%.h,%.hdrtest, $(shell fi= nd $(obj) -name '*.h' 2>/ # Include the header twice to detect missing include guard. quiet_cmd_hdrtest =3D HDRTEST $< cmd_hdrtest =3D \ - $(CC) $(c_flags) -fsyntax-only -x c /dev/null \ + $(CC) $(c_flags) -fsyntax-only -Werror -x c /dev/null \ $(if $(filter-out $(no-header-test), $*.h), -include $< -include $<); \ $(PERL) $(src)/headers_check.pl $(obj) $<; \ touch $@ --=20 2.50.1 From nobody Sun Dec 14 02:06:08 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 601E12C1589; Wed, 13 Aug 2025 06:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065856; cv=none; b=ANfEC3gov56F8XueDaltB58hab88IX3zMe62F3DS9pFiggoEfsfGLuIASrYYd1tqMT7HjVRTyF3+rVUOgoOohgf60E3EUMHfdO4Rg25/6Lm9uJcuPFU4jdlJjkkocp7Vxaw9Dq31+9oqWhJPqqdOoMPF0hyS2HmE1j3XCvqAStg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065856; c=relaxed/simple; bh=Quxn/mBPM3o4WRGn3gYbmMnYLCoS4oNQgYxFlhjvVZg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=js9bDE+KPpqRhdYhX2cJT12pPxDwBbSsE1oECr5A2fjBsDbOHGb1vONniWDrI89lrWQJ0ZqAKe4LJdoMVvPnEisiAL3BOfNW1ZvhBt/csPXAP22LTCkbd2DubxpdcAgyxXPiIyXJy2cu4Nf35WQ8tRWYxja9BQJHvK4HCEhIgPU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=I7I4l9xm; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=fqQ9Fyfq; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="I7I4l9xm"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="fqQ9Fyfq" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1755065853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jMaqWMFXrmGHYmScBMoCKvpUp8L3Afjo1tvHSrPfvkU=; b=I7I4l9xmakdVcrwyJwL3GEJDTuNp02gBRW5v+4766nJy0bVEBxnRe9rTtgA+6u1Q03Rhyk CNheiqAyUdsMp1+DOv3M6inE9bRtsvE1x/WCVV3Sh11ac7kdQ2+ej1HLCZ00E38QWfTN4m 20/+qIsMRMzyxLmh9dLceF6pDot0pfnV2ktuAgRLMnzJsp0DmmKsmOb6CBHjoDjga2hSzh eTQfFugTZtBnIQ1m8I3iaWDWGIKBruVcswGGJYsCtutlq71t/JEder2QNWkdYcUsU07TMV zJvQEEtQAZPvoLJ/I1Arhd9D+l7i0a3vrJ3YXbtEV/AGhrOj2f9I9Xlt05GY0A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1755065853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jMaqWMFXrmGHYmScBMoCKvpUp8L3Afjo1tvHSrPfvkU=; b=fqQ9Fyfqtr9q8VO0qsIVLHFDNn2pJZx5dH1kQRwJe4DRsdiw+C8H5CF/8xnOi44TZ4PwE2 OT0rYvT72c3uIHDA== Date: Wed, 13 Aug 2025 08:16:58 +0200 Subject: [PATCH v2 3/5] kbuild: uapi: upgrade warning on asm/types.h inclusion to error 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: <20250813-kbuild-hdrtest-fixes-v2-3-8a7921ca3a03@linutronix.de> References: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> In-Reply-To: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> To: Nathan Chancellor , Nicolas Schier Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Schier , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1755065851; l=1039; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=Quxn/mBPM3o4WRGn3gYbmMnYLCoS4oNQgYxFlhjvVZg=; b=LdP8fqwBoL4bWakPCgOejRetO3vSKq0Uy3P5RLu+33wkh8nmeXXI6oAnZR+/rN2njkW9sIBSR ALHGPRbam/XAP7ABZ98gNWsync0LXCpMrGYp+EaeF4iFr8UoyqVr+YF X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= No usages of '#include in the UAPI headers exist anymore. Make sure it stays this way. Add a semicolon to the end of the previous printf call to keep the syntax valid. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Nicolas Schier --- usr/include/headers_check.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr/include/headers_check.pl b/usr/include/headers_check.pl index 2b70bfa5558e64518808a22f2f926291da6e47a9..36307a137cc1e109e3e1c253f66= f3e5935499fc8 100755 --- a/usr/include/headers_check.pl +++ b/usr/include/headers_check.pl @@ -98,9 +98,8 @@ sub check_asm_types if ($line =3D~ m/^\s*#\s*include\s+/) { $linux_asm_types =3D 1; printf STDERR "$filename:$lineno: " . - "include of is preferred over \n" - # Warn until headers are all fixed - #$ret =3D 1; + "include of is preferred over \n"; + $ret =3D 1; } } =20 --=20 2.50.1 From nobody Sun Dec 14 02:06:08 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 601772C08D9; Wed, 13 Aug 2025 06:17:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065856; cv=none; b=ug39FGEX3ZlyWsWYqOoq5GnV4xWK3NpDGEPZduuuPNiw+miTu5gwehHjY50iv6yoMUsGnfErWsmqMsgRrUjrOgOm2UB58I3PwCSqT7afJX1LCrAjasyQZO2Qab8htRec8T89KRfKAwTs2NwDnZVdVTsKChNKtnGkTAXrXdAdxWw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065856; c=relaxed/simple; bh=QqZcd1GEDGsRKapc2KlbsIHYlTJfZ/P0Zy9fk1mT1cQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UUMqLgPU5DIYFG2EMYsE4u6IqnS6q2YgADBYN+tStf8ZS0+AW0tEcLrhh5JX8ugG/H7FMwqge4zGSLBmYt1cIvnCt01zMX/v+gm7oNL43XAEZ2+Fk2RHePuf9sJFH7HgDDFTa/chF5rNaZyrqB76VlnwTo/n32oOPdcRn8VtLWU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=jCjOLhl9; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=aJD1rKqU; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="jCjOLhl9"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aJD1rKqU" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1755065853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ipkvgMt3yu9PvMBYUezk2UrYiGpKlL6cQqj+qQZUaJs=; b=jCjOLhl9MWja4FM8LOTKnEs5E6wn2ijZ3WcMQon0BWu405QCtZ0BHgYc3nPK0YkZ56TP/Z tU6Y7JjMD+0vKOBzzqAwDRjyDitQv4gQEBWCkXFOACGeONE2OjESi7IQTr0oAHdJvbQMcB v03niUPDXW2FXRQJxbASlLFQnwORZeW6HUVfXTXS+jFtlTuBr86ScglpDzEOzXrCZm/BBh dzBgeir/l50gLVwC7qvg7a2p7x4EkN/xobF2mvGnSeILLorF3BWn6Kd4n0pydCClZe6efL GHIgqroGv7ZKg2t9637gLN1sTe4WKhjQ9olQmPwN9lWbNNGc4k3qrCFxWWAS8A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1755065853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ipkvgMt3yu9PvMBYUezk2UrYiGpKlL6cQqj+qQZUaJs=; b=aJD1rKqUcm+v2E8PBM6cZypcdlTcxlCru00hG5FcNBV91FeEOMzkmpsxp9FHqZxNyjTEQD X2CVQ2hywLrjVEAw== Date: Wed, 13 Aug 2025 08:16:59 +0200 Subject: [PATCH v2 4/5] kbuild: uapi: upgrade check_sizetypes() warning to error 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: <20250813-kbuild-hdrtest-fixes-v2-4-8a7921ca3a03@linutronix.de> References: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> In-Reply-To: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> To: Nathan Chancellor , Nicolas Schier Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Schier , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1755065851; l=793; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=QqZcd1GEDGsRKapc2KlbsIHYlTJfZ/P0Zy9fk1mT1cQ=; b=qSb/NmV6riYwu3mg76YidW1HxplN9waduquVqbfnafdgewmPQ0qDEmNT7K5mhTy8oVzDQN99+ Zv86EXVJWe6AZld0Wa3z+gYAd7sRkbWMvREBPn5R6eZ/e66UDa+FmJe X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= No problematic type usages exist anymore. Make sure it stays this way. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Nicolas Schier --- usr/include/headers_check.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr/include/headers_check.pl b/usr/include/headers_check.pl index 36307a137cc1e109e3e1c253f66f3e5935499fc8..36349b21cef5d55241b68ca24da= be6a321b7ce27 100755 --- a/usr/include/headers_check.pl +++ b/usr/include/headers_check.pl @@ -159,7 +159,6 @@ sub check_sizetypes "found __[us]{8,16,32,64} type " . "without #include \n"; $linux_types =3D 2; - # Warn until headers are all fixed - #$ret =3D 1; + $ret =3D 1; } } --=20 2.50.1 From nobody Sun Dec 14 02:06:08 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 377A62C3260; Wed, 13 Aug 2025 06:17:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065861; cv=none; b=XWzs9mI8Rl7tp3NoJChIKQ8x6lfbN1RPCUgkIrty29ERs5KeWvonZOdoVfKsrK2ZKoqZGWuBBFGCdKKRg1Hjd8LBWoC3V9Xg05dhtSza1Myjutmg5ct8Ygb8RGAHvfeXwBqLz84vpPZD3WMmfeKrZlnTdf+65XK35gDzXkF5M+A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755065861; c=relaxed/simple; bh=kpV66cB9Wo8nPSJi2XVwVFy1yO7ARG71cTbANz6Cl6w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=InBtGq3jcf3VyG4N22t2MzcNYuNQXop3eZX2/+uuoMY45tnWFIo/s2mtbjbAc+Pfg62gKgoFaSd08MQS9Tf9EtmwQmSDUhC/rnm65n5svVthCPoDdwccEdWwwyFaU/a54TrZWpXv3o1QEKqYNQDiDePTre5Rq/whVixzcA6/tYo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ax8C1lNJ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=EG41VEdo; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ax8C1lNJ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="EG41VEdo" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1755065854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1TaAb2/O5AqHu/imE1DBL2PwKIuKAFFZwS3fbmpaJBc=; b=ax8C1lNJVJ/75kjFm0E+MNrKLp/moL3yneaeJ22odKeA9BV3chmSAFBtBkVwjA9Hh11Yh4 +iCEyTYAMx8YHq+6oJJKcFxgLhMrrVrlJ/lccFiQ694m83x8xodWfuMriYRwjODalv8Hz6 Umj/a5WGvsesM2dEhi38K0rdsMRwE5dUeOaQ6DKyM6mrpJu/JG0GxezDTo6Gv1ExBsZ/fe bfq0w7TEQ0+sNIB7H7w99m/xluda6rYZPZHP6qBYOXKL7ZZgGpygsLYiJwfB+pxO8xr3FW hn5uTgMwSujJPHp0rwIgEhaVLmwIb6mLAvdZdtRvjw17aEDH7npVtIpjHlIH6w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1755065854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1TaAb2/O5AqHu/imE1DBL2PwKIuKAFFZwS3fbmpaJBc=; b=EG41VEdoof6yOMeO9OYo/n1QCp5RrHjrwkNhVJcf0hHM5vs7Tnq4FoAfqcYVALKR9vRTMU JeATwuKW7SWrapAA== Date: Wed, 13 Aug 2025 08:17:00 +0200 Subject: [PATCH v2 5/5] kbuild: uapi: upgrade check_declarations() warning to error 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: <20250813-kbuild-hdrtest-fixes-v2-5-8a7921ca3a03@linutronix.de> References: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> In-Reply-To: <20250813-kbuild-hdrtest-fixes-v2-0-8a7921ca3a03@linutronix.de> To: Nathan Chancellor , Nicolas Schier Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Schier , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1755065851; l=739; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=kpV66cB9Wo8nPSJi2XVwVFy1yO7ARG71cTbANz6Cl6w=; b=GhaXc2d3GsKx6dq145tHbuRAWkcgjc2Y10zyoLN0e01hc1IVRdSRBnxMRdg90fUSQ5aGD6Zry 7HI4n4YQol3AbrckuNeS02+E2+eZx8flGLmqpEUKyJ1Zbrt27HI8L/M X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= No problematic declarations exist anymore. Make sure it stays this way. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Nicolas Schier --- usr/include/headers_check.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/include/headers_check.pl b/usr/include/headers_check.pl index 36349b21cef5d55241b68ca24dabe6a321b7ce27..21c2fb9520e6af2d6ebf2decce6= 9f6eea64efd88 100755 --- a/usr/include/headers_check.pl +++ b/usr/include/headers_check.pl @@ -74,6 +74,7 @@ sub check_declarations printf STDERR "$filename:$lineno: " . "userspace cannot reference function or " . "variable defined in the kernel\n"; + $ret =3D 1; } } =20 --=20 2.50.1