diff options
author | 2023-05-30 13:50:34 -0700 | |
---|---|---|
committer | 2023-05-30 14:34:46 -0700 | |
commit | e38096d95f4d7e8cc15280b4a3515eee31925561 (patch) | |
tree | 43553535ed63d4ac2e390ce1737da99bb57fbd34 /lib/test_bpf.c | |
parent | bpf: Silence a warning in btf_type_id_size() (diff) | |
download | wireguard-linux-e38096d95f4d7e8cc15280b4a3515eee31925561.tar.xz wireguard-linux-e38096d95f4d7e8cc15280b4a3515eee31925561.zip |
selftests/bpf: Add a test where map key_type_id with decl_tag type
Add two selftests where map creation key/value type_id's are
decl_tags. Without previous patch, kernel warnings will
appear similar to the one in the previous patch. With the previous
patch, both kernel warnings are silenced.
Signed-off-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20230530205034.266643-1-yhs@fb.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions