forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
printk: don't print incorrect 64-bit integers
printk is supposed to be very lean, but should at least not print garbage values. Now when a 64-bit integral value is passed in to be printed, 'ERR' will be reported if it doesn't fit in 32-bits instead of truncating it. The printk documentation was slightly out of date, this has been updated. Fixes: zephyrproject-rtos#7179 Signed-off-by: Andrew Boie <[email protected]>
- Loading branch information
1 parent
12836d9
commit 9707584
Showing
3 changed files
with
53 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters