all: Update unsigend 'U' suffix due to multiplication
As the multiplication rule is updated, new unsigned suffixes are added in the code. Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
parent
2fb87b9dd2
commit
21358baa72
60 changed files with 107 additions and 106 deletions
|
@ -174,7 +174,7 @@ static int timestamp_print(const struct log_output *log_output,
|
|||
|
||||
remainder = timestamp % freq;
|
||||
ms = (remainder * 1000U) / freq;
|
||||
us = (1000 * (1000 * remainder - (ms * freq))) / freq;
|
||||
us = (1000 * (remainder * 1000U - (ms * freq))) / freq;
|
||||
|
||||
if (IS_ENABLED(CONFIG_LOG_BACKEND_NET) &&
|
||||
flags & LOG_OUTPUT_FLAG_FORMAT_SYSLOG) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue