From 3e35858003077c5073851e73c63372a290ffb5c1 Mon Sep 17 00:00:00 2001 From: Jeremy Bettis Date: Fri, 21 Apr 2023 15:49:12 +0000 Subject: ec: Add another #line directive To workaround pre-processor glitch in common/usbc/usbc_task.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: I9241756d54a980f603312ba2526c69ca655a4a0e Signed-off-by: Jeremy Bettis Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4456115 Commit-Queue: Yuval Peress Reviewed-by: Yuval Peress Tested-by: Jeremy Bettis Auto-Submit: Jeremy Bettis --- include/ec_commands.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/ec_commands.h b/include/ec_commands.h index 552dd1ca79..3e10888e5f 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -5,6 +5,12 @@ /* Host communication command constants 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_EC_COMMANDS_H #define __CROS_EC_EC_COMMANDS_H -- cgit v1.2.1