Skip to content
Commit 4da3fc9c authored by Daniel Leung's avatar Daniel Leung Committed by Carles Cufí
Browse files

logging: fix format strings not being put in log_strings_area



Commit caea9dc1
("logging: Use TYPE_SECTION macros for log strings") changed to
use TYPE_SECTION macros for log strings. However, the data type
was changed from char[] to (char *), resulting in the pointer
to log strings are being put in the log_strings_area section
instead of the actual strings. Fix this by reverting the data
type change back to before that commit but semantically uses
TYPE_SECTION_ITERABLE() by expanding it manually.

Fixes #58476

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 3937b25d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment