Skip to content
Commit e791a3fc authored by Jonny Svärd's avatar Jonny Svärd
Browse files

Misc updates to ethosu_log



Replace empty log macros with calls to a new LOG_COMMON_NOP macro, with
the intention of avoiding unused variable/parameter warnings where the
variables/parameters are currently only used for logging. The if check
will normally be optimized away.

Change formatting of error messages, prepend the file name and line
instead of appending it, to allow for newlines in error messages.

Add a check for __FILE_NAME__ macro and use that instead of strrchr
function, when available.

Change-Id: I88a868c04b9db112fcec2d6209f9943c85925be7
Signed-off-by: Jonny Svärd's avatarJonny Svärd <jonny.svaerd@arm.com>
parent 19e0ee00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment