projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fd8869
)
libbpf: Fix whitespace in btf_add_composite() comment
author
Ilya Leoshkevich
<iii@linux.ibm.com>
Fri, 26 Feb 2021 20:22:48 +0000
(21:22 +0100)
committer
Alexei Starovoitov
<ast@kernel.org>
Fri, 5 Mar 2021 01:58:15 +0000
(17:58 -0800)
Remove trailing space.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link:
https://lore.kernel.org/bpf/20210226202256.116518-3-iii@linux.ibm.com
tools/lib/bpf/btf.c
patch
|
blob
|
history
diff --git
a/tools/lib/bpf/btf.c
b/tools/lib/bpf/btf.c
index d9c10830d749f0adefe37023c7210d55d5d28656..0797ab714830efdaf0086524c14dbe6af67fd2f7 100644
(file)
--- a/
tools/lib/bpf/btf.c
+++ b/
tools/lib/bpf/btf.c
@@
-1883,7
+1883,7
@@
static int btf_add_composite(struct btf *btf, int kind, const char *name, __u32
* - *byte_sz* - size of the struct, in bytes;
*
* Struct initially has no fields in it. Fields can be added by
- * btf__add_field() right after btf__add_struct() succeeds.
+ * btf__add_field() right after btf__add_struct() succeeds.
*
* Returns:
* - >0, type ID of newly added BTF type;