commit | c34783f65474907402bb3d24dc59945ebf9a754b | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu Jul 14 20:11:43 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jul 14 20:11:43 2022 +0000 |
tree | ef2319afc39c4e650fa9a429c379ae93d1e52802 | |
parent | 93bdfacfc621da1b0d4d0cbeadff6c512a4b2205 [diff] | |
parent | 2e22fc4827d6890574d2c539fe1bfb82f39e0016 [diff] |
macro argument should be enclosed in parentheses am: 7dc4b7a4af am: 2e22fc4827 Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/2154493 Change-Id: I4f552a2b809044903d4496226552b816aff68775 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/gralloc960/gralloc_helper.h b/gralloc960/gralloc_helper.h index fea10e5..3d2b421 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) {