Skip to content
Commit 6ffe559a authored by Yoshiki Komachi's avatar Yoshiki Komachi Committed by Alexei Starovoitov
Browse files

selftests/bpf: Add test for the packed enum member in struct/union



Add a simple test to the existing selftest program in order to make
sure that a packed enum member in struct unexceeds the struct_size.

Signed-off-by: default avatarYoshiki Komachi <komachi.yoshiki@gmail.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/1583825550-18606-3-git-send-email-komachi.yoshiki@gmail.com
parent da6c7fae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment