Re: [PATCH bpf-next 2/2] selftests/bpf: amend for wrong bpf_wq_set_callback_impl signature

From: Eduard Zingerman
Date: Fri Jul 05 2024 - 16:54:45 EST


On Fri, 2024-07-05 at 15:44 +0200, Benjamin Tissoires wrote:
> See the previous patch: the API was wrong, we were provided the pointer
> to the value, not the actual struct bpf_wq *.
>
> Signed-off-by: Benjamin Tissoires <bentiss@xxxxxxxxxx>
> ---

Would it make sense to update one of the tests, so that it checks the
specific value put in the map?
E.g. extend struct elem:

struct elem {
int answer_to_the_ultimate_question;
struct bpf_wq w;
};

And put something in there?

[...]