All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] Change return code if failed to load object
@ 2020-04-22  8:30 ` Mao Wenan
  0 siblings, 0 replies; 32+ messages in thread
From: Mao Wenan @ 2020-04-22  8:30 UTC (permalink / raw)
  To: ast, daniel, kafai, songliubraving, yhs, andriin, john.fastabend,
	kpsingh
  Cc: netdev, bpf, linux-kernel, kernel-janitors

The first patch change return code from -EINVAL to -EOPNOTSUPP, 
the second patch quote the err value returned by bpf_object__load().  

Mao Wenan (2):
  bpf: Change error code when ops is NULL
  libbpf: Return err if bpf_object__load failed

 kernel/bpf/syscall.c   | 8 +++++---
 tools/lib/bpf/libbpf.c | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2020-04-30  2:04 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22  8:30 [PATCH bpf-next 0/2] Change return code if failed to load object Mao Wenan
2020-04-22  8:30 ` Mao Wenan
2020-04-22  8:30 ` [PATCH bpf-next 1/2] bpf: Change error code when ops is NULL Mao Wenan
2020-04-22  8:30   ` Mao Wenan
2020-04-22  9:33   ` Dan Carpenter
2020-04-22  9:33     ` Dan Carpenter
2020-04-23  3:33     ` [PATCH bpf-next v2 0/2] Change return code if failed to load object Mao Wenan
2020-04-23  3:33       ` Mao Wenan
2020-04-23  3:33       ` [PATCH bpf-next v2 1/2] bpf: Change error code when ops is NULL Mao Wenan
2020-04-23  3:33         ` Mao Wenan
2020-04-23  5:43         ` Alexei Starovoitov
2020-04-23  5:43           ` Alexei Starovoitov
2020-04-23  6:25           ` maowenan
2020-04-23  6:25             ` maowenan
2020-04-23 16:07             ` Alexei Starovoitov
2020-04-23 16:07               ` Alexei Starovoitov
2020-04-24  1:13               ` maowenan
2020-04-24  1:13                 ` maowenan
2020-04-23  3:33       ` [PATCH bpf-next v2 2/2] libbpf: Return err if bpf_object__load failed Mao Wenan
2020-04-23  3:33         ` Mao Wenan
2020-04-24  5:10   ` [PATCH bpf-next 1/2] bpf: Change error code when ops is NULL kbuild test robot
2020-04-24  5:10     ` kbuild test robot
2020-04-24  5:10     ` kbuild test robot
2020-04-24  5:18   ` kbuild test robot
2020-04-24  5:18     ` kbuild test robot
2020-04-30  1:55   ` kbuild test robot
2020-04-30  2:04     ` kbuild test robot
2020-04-30  2:04     ` kbuild test robot
2020-04-22  8:30 ` [PATCH bpf-next 2/2] libbpf: Return err if bpf_object__load failed Mao Wenan
2020-04-22  8:30   ` Mao Wenan
2020-04-22 23:27   ` Andrii Nakryiko
2020-04-22 23:27     ` Andrii Nakryiko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.