summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2019-05-24 15:51:06 -0700
committerStephen Hemminger <stephen@networkplumber.org>2019-05-24 15:51:06 -0700
commit1bb38f6c5e46d33bc983541a814178690646ae46 (patch)
treee2b9b48851e5f347caa62bcc7e6315976f958fb3
parent6eccf7ecdb010a90e5271942748ef4338ddb61ae (diff)
downloadiproute2-1bb38f6c5e46d33bc983541a814178690646ae46.tar.gz
uapi: minor upstream btf.h header change
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--include/uapi/linux/btf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/btf.h b/include/uapi/linux/btf.h
index 73eba2e5..8ef8001d 100644
--- a/include/uapi/linux/btf.h
+++ b/include/uapi/linux/btf.h
@@ -83,7 +83,7 @@ struct btf_type {
* is the 32 bits arrangement:
*/
#define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24)
-#define BTF_INT_OFFSET(VAL) (((VAL & 0x00ff0000)) >> 16)
+#define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16)
#define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff)
/* Attributes stored in the BTF_INT_ENCODING */