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

logging: syst: fix logging v2 with strings as arguments



The packaged string coming from logging subsys requires some
additional processing if there are string arguments.
These strings are actually embedded inside the package so
the string pointers inside the argument list must be
replaced with pointers to strings inside the package.
Without this extra step of processing, MIPI Sys-T's printf
function would process these arguments directly which may be
NULL pointers or invalid one pointing to somewhere.

This utilizes the new cbpprintf_external() for the processing
before feeding data to the MIPI library.

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