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)
commit948dc8c99a22d6bdcb34c194cde392e1a125928a
treeb045fe3fcfe394c8b0705741aeeba7b17030ad4a
parentcabede8b4f2b746232aa25730a0b752de1cb82ca
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: 69b693f0aefa ("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