[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <580434A9.7020104@huawei.com>
Date: Mon, 17 Oct 2016 10:17:13 +0800
From: "Wangnan (F)" <wangnan0@...wei.com>
To: Eric Leblond <eric@...it.org>, <netdev@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>, <ast@...com>
Subject: Re: [PATCH 6/8] tools lib bpf: improve warning
On 2016/10/17 5:18, Eric Leblond wrote:
> Signed-off-by: Eric Leblond <eric@...it.org>
Please add some commit messages.
Thank you.
> ---
> tools/lib/bpf/libbpf.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
> index 7cd341e..1fe4532 100644
> --- a/tools/lib/bpf/libbpf.c
> +++ b/tools/lib/bpf/libbpf.c
> @@ -802,7 +802,8 @@ bpf_object__create_maps(struct bpf_object *obj)
> size_t j;
> int err = *pfd;
>
> - pr_warning("failed to create map: %s\n",
> + pr_warning("failed to create map (name: '%s'): %s\n",
> + obj->maps[i].name,
> strerror(errno));
> for (j = 0; j < i; j++)
> zclose(obj->maps[j].fd);
Powered by blists - more mailing lists