diff options
author | Jeremy Bettis <jbettis@google.com> | 2023-04-21 15:49:12 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-21 19:41:41 +0000 |
commit | 3e35858003077c5073851e73c63372a290ffb5c1 (patch) | |
tree | d4a8fb3aef6bec8f77fb52846f18f314f90a1994 | |
parent | 4b58017d3b51310076ed7f9047b6c1cee83e6f5c (diff) | |
download | chrome-ec-3e35858003077c5073851e73c63372a290ffb5c1.tar.gz |
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 <jbettis@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4456115
Commit-Queue: Yuval Peress <peress@google.com>
Reviewed-by: Yuval Peress <peress@google.com>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r-- | include/ec_commands.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |