diff options
Diffstat (limited to 'kernel/bpf/arraymap.c')
| -rw-r--r-- | kernel/bpf/arraymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/arraymap.c b/kernel/bpf/arraymap.c index dded84cbe814..24583da9ffd1 100644 --- a/kernel/bpf/arraymap.c +++ b/kernel/bpf/arraymap.c | |||
| @@ -449,7 +449,7 @@ static void fd_array_map_free(struct bpf_map *map) | |||
| 449 | 449 | ||
| 450 | static void *fd_array_map_lookup_elem(struct bpf_map *map, void *key) | 450 | static void *fd_array_map_lookup_elem(struct bpf_map *map, void *key) |
| 451 | { | 451 | { |
| 452 | return NULL; | 452 | return ERR_PTR(-EOPNOTSUPP); |
| 453 | } | 453 | } |
| 454 | 454 | ||
| 455 | /* only called from syscall */ | 455 | /* only called from syscall */ |
