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:
Patrik Flykt 2019-03-28 14:57:54 -06:00 committed by Kumar Gala
commit 21358baa72
60 changed files with 107 additions and 106 deletions

View file

@ -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) {