diff options
Diffstat (limited to 'kernel/bpf/stackmap.c')
-rw-r--r-- | kernel/bpf/stackmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/stackmap.c b/kernel/bpf/stackmap.c index 8061a439ef18..b2ade10f7ec3 100644 --- a/kernel/bpf/stackmap.c +++ b/kernel/bpf/stackmap.c | |||
@@ -505,7 +505,7 @@ const struct bpf_func_proto bpf_get_stack_proto = { | |||
505 | /* Called from eBPF program */ | 505 | /* Called from eBPF program */ |
506 | static void *stack_map_lookup_elem(struct bpf_map *map, void *key) | 506 | static void *stack_map_lookup_elem(struct bpf_map *map, void *key) |
507 | { | 507 | { |
508 | return NULL; | 508 | return ERR_PTR(-EOPNOTSUPP); |
509 | } | 509 | } |
510 | 510 | ||
511 | /* Called from syscall */ | 511 | /* Called from syscall */ |