diff options
author | Yi Kong <yikong@google.com> | 2022-07-15 02:23:53 +0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2022-07-15 02:23:53 +0800 |
commit | 7dc4b7a4afa8f284ddd1b2fb15cfe1cb95f2269b (patch) | |
tree | 14aa4f5efb43d7aac3ea3ae1ee46effa0ac5c827 | |
parent | 815210a13a6b40d61717fe5556e1de7f8392df41 (diff) | |
download | hikey-7dc4b7a4afa8f284ddd1b2fb15cfe1cb95f2269b.tar.gz |
macro argument should be enclosed in parentheses
Test: presubmit
Bug: 236798112
Change-Id: Iffeb9ecdd83ff927a47464ff693a62e715fab19f
-rw-r--r-- | gralloc960/gralloc_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc960/gralloc_helper.h b/gralloc960/gralloc_helper.h index fea10e5e..3d2b4210 100644 --- a/gralloc960/gralloc_helper.h +++ b/gralloc960/gralloc_helper.h @@ -41,7 +41,7 @@ #define GRALLOC_ALIGN(value, base) (((value) + ((base)-1)) & ~((base)-1)) -#define GRALLOC_UNUSED(x) ((void)x) +#define GRALLOC_UNUSED(x) ((void)(x)) static inline size_t round_up_to_page_size(size_t x) { |