Skip to content

Commit afe4669

Browse files
jeremybettisChromeos LUCI
authored andcommitted
CHROMIUM: Add #line to i/z/logging/log_instance.h
Work around coreboot GCC preprocessor bug. BUG=b:272518464 TEST=zmake build -c yaviks && \ ./util/find_non_exec_lines.py build/zephyr/yaviks/output/zephyr.info Change-Id: I465176fb54c6de6e50669e04406ffe7ec140f33f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5373912 Tested-by: Jeremy Bettis <[email protected]> Commit-Queue: Tristan Honscheid <[email protected]> Reviewed-by: Tristan Honscheid <[email protected]> Auto-Submit: Jeremy Bettis <[email protected]>
1 parent 2ba7589 commit afe4669

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/zephyr/logging/log_instance.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
6+
7+
/*
8+
* TODO(b/272518464): Work around coreboot GCC preprocessor bug.
9+
* #line marks the *next* line, so it is off by one.
10+
*/
11+
#line 12
12+
613
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_INSTANCE_H_
714
#define ZEPHYR_INCLUDE_LOGGING_LOG_INSTANCE_H_
815

0 commit comments

Comments
 (0)