Repository navigation
Commit aca1a80
selftests/bpf: use proper type when passing prog_type
Use bpf_prog_type instead of bpf_map_type when passing prog_type.
-Wenum-conversion might be unhappy about it:
error: implicit conversion from enumeration type
'enum bpf_map_type' to different enumeration type
'enum bpf_prog_type'
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>1 parent c2a20a2 commit aca1a80
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13940 | 13940 | | |
13941 | 13941 | | |
13942 | 13942 | | |
13943 | | - | |
| 13943 | + | |
13944 | 13944 | | |
13945 | 13945 | | |
13946 | 13946 | | |
| |||
13951 | 13951 | | |
13952 | 13952 | | |
13953 | 13953 | | |
13954 | | - | |
| 13954 | + | |
13955 | 13955 | | |
13956 | 13956 | | |
13957 | 13957 | | |
| |||
13966 | 13966 | | |
13967 | 13967 | | |
13968 | 13968 | | |
13969 | | - | |
| 13969 | + | |
13970 | 13970 | | |
13971 | 13971 | | |
13972 | 13972 | | |
| |||
14037 | 14037 | | |
14038 | 14038 | | |
14039 | 14039 | | |
14040 | | - | |
| 14040 | + | |
14041 | 14041 | | |
14042 | 14042 | | |
14043 | 14043 | | |
| |||
0 commit comments