]> git.ipfire.org Git - thirdparty/linux.git/commit
sparc64: vdso: Use 32-bit CHECKFLAGS for compat vDSO
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 2 Mar 2026 07:58:38 +0000 (08:58 +0100)
committerThomas Gleixner <tglx@kernel.org>
Wed, 11 Mar 2026 09:15:42 +0000 (10:15 +0100)
commit273aaa8ef8e347c08865effcd8917e20f049e612
treef8a38bee906b9dafc2ce00b24ccfc0ddbe0fad0e
parent56f85f67b3e20b105fa23bf97bfc8b6d5cdbbef0
sparc64: vdso: Use 32-bit CHECKFLAGS for compat vDSO

When building the compat vDSO the CHECKFLAGS from the 64-bit kernel
are used. These are combined with the 32-bit CFLAGS. This confuses
sparse, producing false-positive warnings or potentially missing
real issues.

Manually override the CHECKFLAGS for the compat vDSO with the correct
32-bit configuration.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260302-vdso-compat-checkflags-v2-2-78e55baa58ba@linutronix.de
Closes: https://lore.kernel.org/lkml/202511030021.9v1mIgts-lkp@intel.com/
arch/sparc/vdso/Makefile