From nobody Sat Oct 4 01:51:06 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 5E76F2E92D6 for ; Thu, 21 Aug 2025 07:56:51 +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=1755763012; cv=none; b=NL0ziGOXleHGO4ooLjovMzgQwgwWZn64Mr584o0/NuIBQpPXVuMcW0UtpkiDXWmAwjlOJiWIHohf76tUwMjggBJT5dQ57aD3B5tdYNwbEu1kI8jzjKI04Xf3bBEZiGqOmveRF8buycTPsA4mKrZ4LqmfldzGvlZLLkzBj0IlEZo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755763012; c=relaxed/simple; bh=CPvrFNkZy39LJ/1qgKk+040oslCnw6l8oUx7U4UhgrE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fx50RgB8jNkiQTR4d9+x7ljJSeN2O4tr0Crlh1P0LI82S2LInxbfdixJuNfalOZYja1j6w0WJNQ0uPLQmJXv8HdW0gKhD47TBsFxiCCHXwwOKQDQeXZ2UwUJh++ioZzfUE57APOsINY7t+WXQWRkZ/6SGeDcCVxO1oxeXA1no9Q= 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=OM7h2I3y; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Jax6QL6L; 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="OM7h2I3y"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Jax6QL6L" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1755763009; 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=RdUDX/GrjPHmpkOj/PiRCkrMG28qz0YSUiJOCwDTrUc=; b=OM7h2I3yPoHWiAlU/8iJbV05MyFHH2CA2JDGLNf6olHGE9trv93VhDGVjBIiHfkFM4TPW9 if3Uy5WPdfEgZM9+kylqj6wFB7x/YfzGEKJKk3lKvDng4glIfmb09zln0KaAH07xfCE3EQ PtjPPICi7anc7BuTzgXqRt9+Mf3BXn7nOzgi0jTRnSv2Qe7Am49kDKL4FAcT4stM5Gbh4t cUvwViA/OvtI4L6DWWvfpN7pzH+asWov0S4K5zqp9vbbf8DNbZAAl2++KAeEaIxg5Yqrwi rQnySe4U5qPp3UDXnm/Bnpt1EV7JGMQNYRDyxR5FCc65vU3l6vZCS07r7prlQA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1755763009; 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=RdUDX/GrjPHmpkOj/PiRCkrMG28qz0YSUiJOCwDTrUc=; b=Jax6QL6LWo4yYn9sfRGf6Bg+4vl/swqgZlwvI1GV+Idj+r0Pr2s6+c8S1juQsDBLzODl9X LPqq0cYcRqT8jMBA== Date: Thu, 21 Aug 2025 09:56:44 +0200 Subject: [PATCH 1/3] arm64: uapi: Provide correct __BITS_PER_LONG for the compat vDSO 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: <20250821-vdso-arm64-compat-bitsperlong-v1-1-700bcabe7732@linutronix.de> References: <20250821-vdso-arm64-compat-bitsperlong-v1-0-700bcabe7732@linutronix.de> In-Reply-To: <20250821-vdso-arm64-compat-bitsperlong-v1-0-700bcabe7732@linutronix.de> To: Catalin Marinas , Will Deacon , Thomas Gleixner , Arnd Bergmann , Andy Lutomirski , Vincenzo Frascino Cc: John Stultz , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1755763005; l=1342; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=CPvrFNkZy39LJ/1qgKk+040oslCnw6l8oUx7U4UhgrE=; b=NkBFFQGs2Gl66H5k5IJI1BOxRJy+DwLwXfPQyxDfKIJHuMIm3m6GjjUNwMXPkx9JqfNqgzbuE Nu/I5TPfzydCJWh+yWXMDfYTwgncTA7dW20eskh4qspCC1iFmLPIiZf X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The generic vDSO library uses the UAPI headers. On arm64 __BITS_PER_LONG is always '64' even when used from the compat vDSO. In that case __GENMASK() does an illegal bitshift, invoking undefined behaviour. Change __BITS_PER_LONG to also work when used from the comapt vDSO. To not confuse real userspace, only do this when building the kernel. Reported-by: John Stultz Closes: https://lore.kernel.org/lkml/CANDhNCqvKOc9JgphQwr0eDyJiyG4oLFS9R8rS= FvU0fpurrJFDg@mail.gmail.com/ Fixes: cd3557a7618b ("vdso/gettimeofday: Add support for auxiliary clocks") Signed-off-by: Thomas Wei=C3=9Fschuh Tested-by: John Stultz --- arch/arm64/include/uapi/asm/bitsperlong.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/include/uapi/asm/bitsperlong.h b/arch/arm64/include= /uapi/asm/bitsperlong.h index 485d60bee26ca313ad15797f230efe10072befc9..d59730975f30c0764577ec20dfa= fa33373311e21 100644 --- a/arch/arm64/include/uapi/asm/bitsperlong.h +++ b/arch/arm64/include/uapi/asm/bitsperlong.h @@ -17,7 +17,12 @@ #ifndef __ASM_BITSPERLONG_H #define __ASM_BITSPERLONG_H =20 +#if defined(__KERNEL__) && !defined(__aarch64__) +/* Used by the compat vDSO */ +#define __BITS_PER_LONG 32 +#else #define __BITS_PER_LONG 64 +#endif =20 #include =20 --=20 2.50.1 From nobody Sat Oct 4 01:51:06 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 4604C2E9ECA for ; Thu, 21 Aug 2025 07:56:51 +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=1755763014; cv=none; b=AJsWoH03acQ+4CkWar8lvJpIoGjK8WTxZqNfneoODav2BPDj2+cxEqaUGmPv9bJ+6aDRU7QOnsdn/kvCxh9ot/jX08qlwhY287wFTC6A9utNv/xREarfo2lB4XNcz6md7fZhxCG5TngVKOKc/aPfTZNoDpOXGqgLj1SuWTEsM2k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755763014; c=relaxed/simple; bh=n2qRj27gMV9HtrK57nk2Kj0O4VPuGEHIaNui3njxil0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hCgOwvc24hL1oxrmTRlW7L8TdV42EgxcbFMx55IpK+NmyAsbJca2Jp0PLkn4rqB0Mt7ZL56oRZwGm4NhzMWXtwe+h8bwpOr6F7XxiefQ+ozd4HrAD5vLKy81gEoK7zl3SH4bfMhTpyWQVlK5szdUUA9E58rg3EFd5Cac8UzRD2Y= 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=H+CnCdjd; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=VHD7/huP; 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="H+CnCdjd"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="VHD7/huP" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1755763010; 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=dZDGVKXmK0DrP73XUwG7R5KbZVQj8LTgpIzpeD1RI90=; b=H+CnCdjd6lpe6sysQTEYx7JoBc7gUd7yqoTXHWwDnYDNWqHQWhJDZkF/7Z1m8eoooFoLIb 4ONKeYMLeD1qZ7Vst5585Wv7xvy4+3zBoIIMORWMOhxQhmR76M44IA3JACSUKlGPXfszeX KpqDgEpkjD4bi6BPbyZ33u6EGkJP1nuIGbB8m/0YxIaJHhxFhrv5sPS1eORfzfF4JMFay0 JRkqbSm938V6Kk7i3I45+/rT1MV8lodVQHeII3YwNu4wGIi3DVjlE3c2voDQPl3qgypvv0 rth9HRa/EmVHYMjzhZy2YAK18v1fT8usqJ81B5K1R0hwLl35MFEXvWYdQ29gHg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1755763010; 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=dZDGVKXmK0DrP73XUwG7R5KbZVQj8LTgpIzpeD1RI90=; b=VHD7/huPGIBLHZ0WUatDCVttPmtxuhxsxAl13SRQ0PwP/Pr2K8Ev+hDU6Oq4X09R2YR23a YhKqHTUda3fecEBA== Date: Thu, 21 Aug 2025 09:56:45 +0200 Subject: [PATCH 2/3] arm64: vdso32: Stop suppressing 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: <20250821-vdso-arm64-compat-bitsperlong-v1-2-700bcabe7732@linutronix.de> References: <20250821-vdso-arm64-compat-bitsperlong-v1-0-700bcabe7732@linutronix.de> In-Reply-To: <20250821-vdso-arm64-compat-bitsperlong-v1-0-700bcabe7732@linutronix.de> To: Catalin Marinas , Will Deacon , Thomas Gleixner , Arnd Bergmann , Andy Lutomirski , Vincenzo Frascino Cc: John Stultz , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1755763005; l=1932; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=n2qRj27gMV9HtrK57nk2Kj0O4VPuGEHIaNui3njxil0=; b=hrJA2V3Iy/r5NOoKeqjug/i0yJoFJEzzZgrEcad1UejfeMjHC3zloJ0dWqbWIKBsroLpH4YcF xf7nz6xP71MB5ixHNKa7ccT8sq+zwk4u1Q0/d6MiNmsDy9HbwqHt2H6 X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= These warnings don't seem to trigger anymore. Probably due to the introduction of the vdso/ header namespace. Nowadays these suppression only hide real problems. Re-enable the warnings. Signed-off-by: Thomas Wei=C3=9Fschuh --- arch/arm64/kernel/vdso32/Makefile | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/M= akefile index f2dfdc7dc8185bc045907283b68ab18fed980312..fd80123bc8e620d868040a61244= e83575d855e35 100644 --- a/arch/arm64/kernel/vdso32/Makefile +++ b/arch/arm64/kernel/vdso32/Makefile @@ -21,8 +21,6 @@ endif =20 cc32-option =3D $(call try-run,\ $(CC_COMPAT) $(1) -c -x c /dev/null -o "$$TMP",$(1),$(2)) -cc32-disable-warning =3D $(call try-run,\ - $(CC_COMPAT) -W$(strip $(1)) -c -x c /dev/null -o "$$TMP",-Wno-$(strip $(= 1))) =20 # We cannot use the global flags to compile the vDSO files, the main reason # being that the 32-bit compiler may be older than the main (64-bit) compi= ler @@ -74,16 +72,6 @@ VDSO_CFLAGS +=3D $(call cc32-option,-Werror=3Dstrict-pro= totypes) VDSO_CFLAGS +=3D -Werror=3Ddate-time VDSO_CFLAGS +=3D $(call cc32-option,-Werror=3Dincompatible-pointer-types) =20 -# The 32-bit compiler does not provide 128-bit integers, which are used in -# some headers that are indirectly included from the vDSO code. -# This hack makes the compiler happy and should trigger a warning/error if -# variables of such type are referenced. -VDSO_CFLAGS +=3D -D__uint128_t=3D'void*' -# Silence some warnings coming from headers that operate on long's -# (on GCC 4.8 or older, there is unfortunately no way to silence this warn= ing) -VDSO_CFLAGS +=3D $(call cc32-disable-warning,shift-count-overflow) -VDSO_CFLAGS +=3D -Wno-int-to-pointer-cast - # Compile as THUMB2 or ARM. Unwinding via frame-pointers in THUMB2 is # unreliable. ifeq ($(CONFIG_THUMB2_COMPAT_VDSO), y) --=20 2.50.1 From nobody Sat Oct 4 01:51:06 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 51B2C2EA14A for ; Thu, 21 Aug 2025 07:56:52 +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=1755763013; cv=none; b=l9gZIYvCbpg56ehUwQ8FpkFlKgmSdVjpPD/M/H/ZVKQ+Wk/svZbCK1utKT3b3NSFCnWATU6HK6A7FN/39sCg4TfoQQkVPhx+QKXTimO5x0kSwAT+WTGcOCoqrT4hWNL/1LXugUEWBhamM8A5ZKCoKhCSfyzjcaNEQuHdx5AapCA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755763013; c=relaxed/simple; bh=D/12OQ8vo23/Cq4trcCIK/F1NjLqR+YjyfQAZanzypg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UXRlAYrTK/HNHosATSeR3oZmQNsh/3pQXIM3Pmxzsi0U294mmAeyiOqOzyGNjrDqhyrhEFxkiBg7Je8Npq+5rfXAuljfNFqs4DHt8jmIwaWw5/7CH4hj2J6P1vzvXwQuJ5XHh6R/h08AYFqswfl2f+9ZKGHUjwYfR3RffpNJd+8= 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=IWXX3/U6; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=9zk31Atz; 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="IWXX3/U6"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="9zk31Atz" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1755763010; 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=DKpe3z5G5wNg83hukDMWCPcV+/73KXkYMZGFSKYmlXc=; b=IWXX3/U6I7+HHr++GdGynma55/AkGgR1sm30+k+ENj1HdEFP04/N2xFo3VxFBXdNyWRKHf c4XJBTnY0iOBTUrLVwbBesiNo7pBwvnO5ufuQarcV5ljDTYujVA8Y/VQsniE9h27dgnuJ3 0VJ4eVTsqU0f+m8oDe/HOIO/Vc/rDBthT1PCnBQ1MdOrdBGtsH0WHfEFUR4JTKMN8reEYu FNl0RnpUdX408EvNfEwU/RrzO2HIxgRUuJ0wbARP+WYcuOVafUJLWf6da2xR5JVV9JYS7R mGAl3m8m+zDkWmj3bnaWYw8QAxjR72SLEph+rk9FH1HiGLZ/YRMa3BIb3yy+Aw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1755763010; 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=DKpe3z5G5wNg83hukDMWCPcV+/73KXkYMZGFSKYmlXc=; b=9zk31AtzpdmPxaTFSQUbw+mBH1MWo2IADY3PWWNi9m1UfpZKEJKwFxlnLwl2ItR7AGZdaJ JEB58TfQDYMEAzBw== Date: Thu, 21 Aug 2025 09:56:46 +0200 Subject: [PATCH 3/3] arm64: vdso32: Respect -Werror from kbuild 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: <20250821-vdso-arm64-compat-bitsperlong-v1-3-700bcabe7732@linutronix.de> References: <20250821-vdso-arm64-compat-bitsperlong-v1-0-700bcabe7732@linutronix.de> In-Reply-To: <20250821-vdso-arm64-compat-bitsperlong-v1-0-700bcabe7732@linutronix.de> To: Catalin Marinas , Will Deacon , Thomas Gleixner , Arnd Bergmann , Andy Lutomirski , Vincenzo Frascino Cc: John Stultz , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1755763005; l=1019; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=D/12OQ8vo23/Cq4trcCIK/F1NjLqR+YjyfQAZanzypg=; b=UOnKhtIauSWminqVFhBdCB8SbfiQ8ZETo2KzSj4wDnSfKf2vZnopjrVJZNjn8WlU80go3kso5 ShCCXhPMl/yBtMt3LrSOHvneDqpjioh+1OUKnhXObFwLaaGdUenORfV X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The compiler flags for the compat vDSO are built manually as they are not compatible with the ones from kbuild. CONFIG_WERROR is not respected. Explicitly inherit -Werror from kbuild. Signed-off-by: Thomas Wei=C3=9Fschuh --- arch/arm64/kernel/vdso32/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/M= akefile index fd80123bc8e620d868040a61244e83575d855e35..5de4deaf42992046463963df193= de47cd07ec1ae 100644 --- a/arch/arm64/kernel/vdso32/Makefile +++ b/arch/arm64/kernel/vdso32/Makefile @@ -61,6 +61,7 @@ VDSO_CFLAGS +=3D -DENABLE_COMPAT_VDSO=3D1 # KBUILD_CFLAGS from top-level Makefile VDSO_CFLAGS +=3D -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common \ + $(filter -Werror,$(KBUILD_CPPFLAGS)) \ -Werror-implicit-function-declaration \ -Wno-format-security \ -std=3Dgnu11 --=20 2.50.1