[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200422083010.28000-1-maowenan@huawei.com>
Date: Wed, 22 Apr 2020 16:30:08 +0800
From: Mao Wenan <maowenan@...wei.com>
To: <ast@...nel.org>, <daniel@...earbox.net>, <kafai@...com>,
<songliubraving@...com>, <yhs@...com>, <andriin@...com>,
<john.fastabend@...il.com>, <kpsingh@...omium.org>
CC: <netdev@...r.kernel.org>, <bpf@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>
Subject: [PATCH bpf-next 0/2] Change return code if failed to load object
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
Powered by blists - more mailing lists