public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* linux-5.10.y: please backport to fix BPF selftest breakage
@ 2023-07-12  9:40 Lorenz Bauer
  2023-07-16 15:18 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenz Bauer @ 2023-07-12  9:40 UTC (permalink / raw)
  To: stable

Hi stable team,

Building BPF selftests on 5.10.186 currently causes the following compile error:

$ make -C tools/testing/selftests/bpf
...
  BINARY   test_verifier
In file included from
/usr/src/linux-5.10.186/tools/testing/selftests/bpf/verifier/tests.h:59,
                 from test_verifier.c:355:
/usr/src/linux-5.10.186/tools/testing/selftests/bpf/verifier/ref_tracking.c:935:10:
error: 'struct bpf_test' has no member named 'fixup_map_ringbuf'; did
you mean 'fixup_map_in_map'?
  935 |         .fixup_map_ringbuf = { 11 },
      |          ^~~~~~~~~~~~~~~~~
      |          fixup_map_in_map

The problem was introduced by commit f4b8c0710ab6 ("selftests/bpf: Add
verifier test for release_reference()") in your tree.

Seems like at least commit 4237e9f4a962 ("selftests/bpf: Add verifier
test for PTR_TO_MEM spill") is required for the build to succeed.

I previously reported this but things probably fell through the
cracks: https://lore.kernel.org/stable/CAN+4W8iMcwwVjmSekZ9txzZNxOZ0x98nBXo4cEoTU9G2zLe8HA@mail.gmail.com/#t

Thanks!
Lorenz

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-5.10.y: please backport to fix BPF selftest breakage
  2023-07-12  9:40 linux-5.10.y: please backport to fix BPF selftest breakage Lorenz Bauer
@ 2023-07-16 15:18 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2023-07-16 15:18 UTC (permalink / raw)
  To: Lorenz Bauer; +Cc: stable

On Wed, Jul 12, 2023 at 10:40:32AM +0100, Lorenz Bauer wrote:
> Hi stable team,
> 
> Building BPF selftests on 5.10.186 currently causes the following compile error:
> 
> $ make -C tools/testing/selftests/bpf
> ...
>   BINARY   test_verifier
> In file included from
> /usr/src/linux-5.10.186/tools/testing/selftests/bpf/verifier/tests.h:59,
>                  from test_verifier.c:355:
> /usr/src/linux-5.10.186/tools/testing/selftests/bpf/verifier/ref_tracking.c:935:10:
> error: 'struct bpf_test' has no member named 'fixup_map_ringbuf'; did
> you mean 'fixup_map_in_map'?
>   935 |         .fixup_map_ringbuf = { 11 },
>       |          ^~~~~~~~~~~~~~~~~
>       |          fixup_map_in_map
> 
> The problem was introduced by commit f4b8c0710ab6 ("selftests/bpf: Add
> verifier test for release_reference()") in your tree.
> 
> Seems like at least commit 4237e9f4a962 ("selftests/bpf: Add verifier
> test for PTR_TO_MEM spill") is required for the build to succeed.
> 
> I previously reported this but things probably fell through the
> cracks: https://lore.kernel.org/stable/CAN+4W8iMcwwVjmSekZ9txzZNxOZ0x98nBXo4cEoTU9G2zLe8HA@mail.gmail.com/#t

Now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-16 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12  9:40 linux-5.10.y: please backport to fix BPF selftest breakage Lorenz Bauer
2023-07-16 15:18 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox