For the fix of BTF_INT_OFFSET().
Showing the changes to tools/include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -83,7 +83,7 @@ struct btf_type { · 82 unmodified lines | ||
| 83 | 83 | * is the 32 bits arrangement: |
| 84 | 84 | */ |
| 85 | 85 | #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) |
| 86 | −#define BTF_INT_OFFSET(VAL) (((VAL & 0x00ff0000)) >> 16) | |
| 86 | +#define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16) | |
| 87 | 87 | #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) |
| 88 | 88 | |
| 89 | 89 | /* Attributes stored in the BTF_INT_ENCODING */ |