Re: [PATCH v2 6/7] selftests/bpf: replace "__auto_type" with "auto"
From: Eduard Zingerman
Date: Mon Jul 21 2025 - 18:13:37 EST
On Sat, 2025-07-19 at 23:50 -0700, H. Peter Anvin wrote:
> Replace instances of "__auto_type" with "auto" in:
>
> tools/testing/selftests/bpf/prog_tests/socket_helpers.h
>
> This file does not seem to be including <linux/compiler_types.h>
> directly or indirectly, so copy the definition but guard it with
> !defined(auto).
>
> Signed-off-by: H. Peter Anvin (Intel) <hpa@xxxxxxxxx>
> ---
Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>
[...]