diff options
| author | Lee Jones <lee.jones@linaro.org> | 2020-06-23 11:05:23 +0100 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2020-07-06 08:31:55 +0100 |
| commit | ddb6b26c4102aab886277b2ca3c027b4976d819b (patch) | |
| tree | 5faa77d90f7b5c59be21913fdc6f13d5e7187f77 /scripts/stackusage | |
| parent | mfd: ab3100-core: Fix incompatible types in comparison expression warning (diff) | |
| download | linux-ddb6b26c4102aab886277b2ca3c027b4976d819b.tar.gz linux-ddb6b26c4102aab886277b2ca3c027b4976d819b.zip | |
mfd: ab8500-debugfs: Fix incompatible types in comparison expression issue
Smatch reports:
drivers/mfd/ab8500-debugfs.c:1804:20: error: incompatible types in comparison expression (different type sizes):
drivers/mfd/ab8500-debugfs.c:1804:20: unsigned int *
drivers/mfd/ab8500-debugfs.c:1804:20: unsigned long *
This is due to mixed types being compared in a min() comparison. Fix
this by treating values as signed and casting them to the same type
as the receiving variable.
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
