Re: [PATCH RESEND] kselftest/arm64: Fix abi test compilation errors

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.linux-kselftest,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu, Aug 06, 2026 at 07:15:46PM +0800, Jinjie Ruan wrote:
> The arm64 ABI selftests fail to compile due to missing include paths
> for kernel headers, causing errors like incomplete type struct sock_filter
> and implicit BPF macro declarations.
> 
> Add $(KHDR_INCLUDES) and -I$(top_srcdir)/tools/include to CFLAGS
> to resolve the header search path. Also remove the hardcoded __NR_write
> macro and include <asm/unistd.h> to obtain the correct syscall number.

This should really be two patches but meh:

Reviewed-by: Mark Brown <[email protected]>
Tested-by: Mark Brown <[email protected]>
signature.asc (application/pgp-signature, 484 B)
-----BEGIN PGP SIGNATURE-----

iQEyBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp0hggACgkQJNaLcl1U
h9C7QQf2NiOCySiDgot8UbZfwsitm689g/jkmP0vR2jilm7PzliJ0UKBBLwgWTEb
yaviBeyp6IAlYUj5JiJr0RPtcCOIiEJtHrMrETRwelnMF8S8YZ3WZHze+lMmyU7f
JmUPRmBZAHRVMSV/dpWDWDuw5/wNmJtEd75PODOh5hj1kaTJMY6YVzwR9a6qpKZx
1BPwBaXGK19sV7M1GRAp3gtVnQqkPO0+xUDwrlPZBaqdlH+Ie4Ud+kVmf+pnzfo/
WLJmo5c5Wv1yiKP4mABVeEwU3J4VG7CVV8iq0JDWPpx/OVYd9Cj8JKsgasAWWKFf
iMu7+iYxwy+cozuvSNExg2rIoXtc
=W9U8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.