diff options
| author | Andrii Nakryiko <[email protected]> | 2024-08-01 13:27:19 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2024-08-02 09:30:31 +0000 |
| commit | 7c2bae2d9c27a89280b63ff3567d2dac2d89db28 (patch) | |
| tree | 2a108010d8f8030af28682072bfefea0addba918 /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c | |
| parent | uprobes: is_trap_at_addr: don't use get_user_pages_remote() (diff) | |
| download | kernel-7c2bae2d9c27a89280b63ff3567d2dac2d89db28.tar.gz kernel-7c2bae2d9c27a89280b63ff3567d2dac2d89db28.zip | |
uprobes: simplify error handling for alloc_uprobe()
Return -ENOMEM instead of NULL, which makes caller's error handling just
a touch simpler.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: "Masami Hiramatsu (Google)" <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions
