diff options
author | Jeremy Bettis <jbettis@google.com> | 2023-04-19 20:15:19 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-21 17:31:16 +0000 |
commit | b147ebb2d49dfb357323bdbaaf9a80ff5327da48 (patch) | |
tree | 58cde9c943182e99c9a4de723cad7323f0da5c15 | |
parent | 29010714734f98d5b96cacaaeff15fc1488714af (diff) | |
download | chrome-ec-b147ebb2d49dfb357323bdbaaf9a80ff5327da48.tar.gz |
ec: Add another #line directive
To workaround pre-processor glitch in keyboard_raw.c add a #line
directive.
BRANCH=None
BUG=b:272518464
TEST=zmake build --coverage -a && \
./util/find_non_exec_lines.py build/zephyr/all_builds.info
Change-Id: Iee4c642d8a35ec00d3e3efb97a7b10ae56806f58
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4450228
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Al Semjonovs <asemjonovs@google.com>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r-- | zephyr/include/drivers/cros_kb_raw.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zephyr/include/drivers/cros_kb_raw.h b/zephyr/include/drivers/cros_kb_raw.h index 7b9255bb9f..ba1434fb04 100644 --- a/zephyr/include/drivers/cros_kb_raw.h +++ b/zephyr/include/drivers/cros_kb_raw.h @@ -19,6 +19,12 @@ * the Zephyr kscan API. */ +/* + * TODO(b/272518464): Work around coreboot GCC preprocessor bug. + * #line marks the *next* line, so it is off by one. + */ +#line 27 + #ifndef ZEPHYR_INCLUDE_DRIVERS_CROS_KB_RAW_H_ #define ZEPHYR_INCLUDE_DRIVERS_CROS_KB_RAW_H_ |