summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <usama.anjum@collabora.com>2021-12-21 23:41:51 +0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-30 13:23:46 +0100
commitcb559bb974536d75c8385b2caa57ab5a3862c29a (patch)
tree301b9b1d09c92aedf8c37f917ebfb8fd929343be /tools/perf/scripts/python/export-to-sqlite.py
parentb4a29b94804c4774f22555651296b838df6ec0e4 (diff)
serial: lantiq: store and compare return status correctly
platform_get_irq() returns signed status. It should be stored and compared as signed value before storing to unsigned variable. Implicit conversion from signed to unsigned and then comparison with less than zero is wrong as unsigned value can never be less than zero. Fixes: f087f01ca2c5 ("serial: lantiq: Use platform_get_irq() to get the interrupt") Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Link: https://lore.kernel.org/r/YcIf7+oSWWn34ND6@debian-BULLSEYE-live-builder-AMD64 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions