Re: [net-next PATCH] bpf: Output error message to logbuf when loading

2015-10-25 Thread kbuild test robot
Hi Wang, [auto build test WARNING on net-next/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Wang-Nan/bpf-Output-error-message-to-logbuf-when-loading/20151026-143920 config: x86_64-randconfig-x019

Re: [net-next PATCH] bpf: Output error message to logbuf when loading

2015-10-25 Thread Wangnan (F)
On 2015/10/26 14:36, Wang Nan wrote: Many reason can make bpf_prog_load() return EINVAL. This patch utilizes logbuf passed from user to deliver the actual reason of failure. Without this patch, people is easy to forget fixing the "version" section in their BPF objects. Signed-off-by: Wang Nan

[net-next PATCH] bpf: Output error message to logbuf when loading

2015-10-25 Thread Wang Nan
Many reason can make bpf_prog_load() return EINVAL. This patch utilizes logbuf passed from user to deliver the actual reason of failure. Without this patch, people is easy to forget fixing the "version" section in their BPF objects. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: Arnaldo Car