]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: btf: implement btf_name_valid_identifier()
authorYonghong Song <yhs@fb.com>
Tue, 27 Nov 2018 21:23:27 +0000 (13:23 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 29 Nov 2018 00:03:04 +0000 (16:03 -0800)
commit171bf85061423d1c1b1ddec68eed51d1854537d6
tree243da00dbf1e26822b5f048c9eb6af71fa0946ce
parent44fa0c1af4ca9ee2309ba3be4220b2299ed12c37
bpf: btf: implement btf_name_valid_identifier()

Function btf_name_valid_identifier() have been implemented in
bpf-next commit 2667a2626f4d ("bpf: btf: Add BTF_KIND_FUNC and
BTF_KIND_FUNC_PROTO"). Backport this function so later patch
can use it.

Fixes: af3cbd4c20fa ("bpf: btf: Introduce BPF Type Format (BTF)")
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/btf.c