summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2023-04-14 13:43:57 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-15 01:09:24 +0000
commit922cd457e812057a972215c53efa6977474112c8 (patch)
tree5e9563f6b23e14ed4766d1c349b4589b27236178 /include
parent776e4fc49f9b1f4c65fff7bc5494c487c0ecba42 (diff)
downloadchrome-ec-922cd457e812057a972215c53efa6977474112c8.tar.gz
ec: Add back in some #line directives
We still have files that get odd coverage problems due to the pre-processor marking the wrong line of code, and claiming that we have no coverage of comments and blank lines. BRANCH=None BUG=b:272518464 TEST=Ran util/find_non_exec_lines.py Change-Id: If0d1d632fa52001531d7782412d9ebee8f14b054 Signed-off-by: Jeremy Bettis <jbettis@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4426797 Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Yuval Peress <peress@google.com> Tested-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 02f7449d81..af3d0549a4 100644
--- a/include/common.h
+++ b/include/common.h
@@ -5,6 +5,12 @@
/* common.h - Common includes for Chrome EC */
+/*
+ * TODO(b/272518464): Work around coreboot GCC preprocessor bug.
+ * #line marks the *next* line, so it is off by one.
+ */
+#line 13
+
#ifndef __CROS_EC_COMMON_H
#define __CROS_EC_COMMON_H