From 4df286c26c38888fdc39d705bc5499a92d56d3a4 Mon Sep 17 00:00:00 2001 From: Tomasz Figa Date: Wed, 2 Aug 2017 19:35:40 +0900 Subject: [PATCH] minigbm: gralloc0: Fix coding style error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit There is a missing whitespace error in gralloc0.cc, which is automatically corrected by some git hook, so let's fix it finally. Since the original style issue seems to be caused by a bug in clang-format used in ChromeOS chroot (and corrected by any other, not broken, clang-format), just annotate the line to have clang-format bypassed. BUG=none TEST=compile Change-Id: I6df1963eedc3b908d4a0abaffb2db9081eaba043 Reviewed-on: https://chromium-review.googlesource.com/597330 Commit-Ready: Tomasz Figa Tested-by: Tomasz Figa Reviewed-by: Stéphane Marchesin --- cros_gralloc/gralloc0/gralloc0.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cros_gralloc/gralloc0/gralloc0.cc b/cros_gralloc/gralloc0/gralloc0.cc index a5c8181..533f8ca 100644 --- a/cros_gralloc/gralloc0/gralloc0.cc +++ b/cros_gralloc/gralloc0/gralloc0.cc @@ -363,7 +363,9 @@ static int gralloc0_lock_async_ycbcr(struct gralloc_module_t const *module, buff return 0; } -static struct hw_module_methods_t gralloc0_module_methods = {.open = gralloc0_open }; +// clang-format off +static struct hw_module_methods_t gralloc0_module_methods = { .open = gralloc0_open }; +// clang-format on struct gralloc0_module HAL_MODULE_INFO_SYM = { .base = -- 2.11.0