Commit e411eb2
libbpf: Return err if bpf_object__load failed
bpf_object__load() has various return code, when it failed to load
object, it must return err instead of -EINVAL.
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200426063635.130680-3-maowenan@huawei.com1 parent f131bd3 commit e411eb2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7006 | 7006 | | |
7007 | 7007 | | |
7008 | 7008 | | |
7009 | | - | |
| 7009 | + | |
7010 | 7010 | | |
7011 | 7011 | | |
7012 | 7012 | | |
| |||
0 commit comments