all: Add 'U' suffix when using unsigned variables

Add a 'U' suffix to values when computing and comparing against
unsigned variables.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
Patrik Flykt 2019-03-26 19:57:45 -06:00 committed by Kumar Gala
commit 24d71431e9
559 changed files with 2331 additions and 2328 deletions

View file

@ -181,7 +181,7 @@ static int wdt_esp32_install_timeout(struct device *dev,
return -ENOTSUP;
}
if (cfg->window.min != 0 || cfg->window.max == 0) {
if (cfg->window.min != 0U || cfg->window.max == 0U) {
return -EINVAL;
}