projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[linux-2.6-microblaze.git]
/
kernel
/
bpf
/
syscall.c
diff --git
a/kernel/bpf/syscall.c
b/kernel/bpf/syscall.c
index
1bf960a
..
b999e7f
100644
(file)
--- a/
kernel/bpf/syscall.c
+++ b/
kernel/bpf/syscall.c
@@
-2634,7
+2634,7
@@
static int bpf_raw_tp_link_fill_link_info(const struct bpf_link *link,
u32 ulen = info->raw_tracepoint.tp_name_len;
size_t tp_len = strlen(tp_name);
- if (
ulen &&
!ubuf)
+ if (
!ulen ^
!ubuf)
return -EINVAL;
info->raw_tracepoint.tp_name_len = tp_len + 1;