summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-06-23 11:05:23 +0100
committerLee Jones <lee.jones@linaro.org>2020-07-06 08:31:55 +0100
commitddb6b26c4102aab886277b2ca3c027b4976d819b (patch)
tree5faa77d90f7b5c59be21913fdc6f13d5e7187f77 /virt
parent54daa5d47c47662067115a78dd317fba3de9e828 (diff)
downloadlinux-ddb6b26c4102aab886277b2ca3c027b4976d819b.tar.bz2
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 'virt')
0 files changed, 0 insertions, 0 deletions