]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: btf: fix the brackets of BTF_INT_OFFSET()
authorGary Lin <glin@suse.com>
Mon, 13 May 2019 09:45:48 +0000 (17:45 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 14 May 2019 08:05:18 +0000 (10:05 +0200)
commitf7007177a0ad275fe7189297da53a25ecb24284d
treeb045fe3fcfe394c8b0705741aeeba7b17030ad4a
parentf7dafff13632fb880bc889bbae5174e02a42ffcd
bpf: btf: fix the brackets of BTF_INT_OFFSET()

'VAL' should be protected by the brackets.

v2:
* Squash the fix for Documentation/bpf/btf.rst

Fixes: af3cbd4c20fa ("bpf: btf: Introduce BPF Type Format (BTF)")
Signed-off-by: Gary Lin <glin@suse.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Documentation/bpf/btf.rst
include/uapi/linux/btf.h