diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2024-04-23 18:28:19 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-04-25 12:42:43 -0700 |
commit | f612210d456a0b969a0adca91e68dbea0e0ea301 (patch) | |
tree | 1158bf3d384b77d23829af05650ae92f3668c44a /tools/kvm | |
parent | 3b3b84aacb4420226576c9732e7b539ca7b79633 (diff) |
selftests/bpf: do not pass NULL for non-nullable params in dummy_st_ops
dummy_st_ops.test_2 and dummy_st_ops.test_sleepable do not have their
'state' parameter marked as nullable. Update dummy_st_ops.c to avoid
passing NULL for such parameters, as the next patch would allow kernel
to enforce this restriction.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240424012821.595216-4-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/kvm')
0 files changed, 0 insertions, 0 deletions