commit | 5963904e4c039ba76191720bc9fc66a3ad560e66 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Tue May 30 14:38:11 2017 -0700 |
committer | Anas Nashif <nashif@linux.intel.com> | Tue May 30 19:42:22 2017 -0400 |
tree | f27e3dafe60b619ebbd18fd215c215ea593abf09 | |
parent | 113015b64c8b88f772ef8df4eaa76a9086c95f6c [diff] |
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: Andrew Boie <andrew.p.boie@intel.com>