Skip to content
Commit 5963904e authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

printk: fix printing of long long types



64-bit types were not being handled properly and depending on the
calling convention could result in garbage values being printed.

We still truncate these to 32-bit values, the predominant use-case
is printing timestamp delta values which generally fit in a 32-bit
value. However we are no longer printing random stuff.

Test case for printk() updated appripriately to catch this regression.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 113015b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment