aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-06-20 18:42:45 +0000
committerDaniel Borkmann <[email protected]>2018-06-21 21:07:12 +0000
commit957f9a13df6c70aac31a1dade5e417c286d6d258 (patch)
tree407c66bf0df05519bb6f4daaf1a68bd6335e62ab /drivers/net/xen-netback/interface.c
parentselftests: net: add tcp_inq to gitignore (diff)
downloadkernel-957f9a13df6c70aac31a1dade5e417c286d6d258.tar.gz
kernel-957f9a13df6c70aac31a1dade5e417c286d6d258.zip
tools: bpftool: remove duplicated error message on prog load
do_pin_fd() will already print out an error message if something goes wrong. Printing another error is unnecessary and will break JSON output, since error messages are full objects: $ bpftool -jp prog load tracex1_kern.o /sys/fs/bpf/a { "error": "can't pin the object (/sys/fs/bpf/a): File exists" },{ "error": "failed to pin program" } Fixes: 49a086c201a9 ("bpftool: implement prog load command") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions