WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / bpf / progs / test_pinning_invalid.c
blob5412e0c732c7601c98600e4cea95e2336fcbf37e
1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/bpf.h>
4 #include <bpf/bpf_helpers.h>
6 int _version SEC("version") = 1;
8 struct {
9 __uint(type, BPF_MAP_TYPE_ARRAY);
10 __uint(max_entries, 1);
11 __type(key, __u32);
12 __type(value, __u64);
13 __uint(pinning, 2); /* invalid */
14 } nopinmap3 SEC(".maps");
16 char _license[] SEC("license") = "GPL";