aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-08-22 03:03:50 +0200
committerArnd Bergmann <[email protected]>2019-09-04 17:30:16 +0200
commit6811d26df50d96635dd339cf8cdf43a6abc0c4b6 (patch)
tree14cfdbf2af0d860a7ef1457b331e8b67a1bf2081 /tools/perf/scripts/python/bin/stackcollapse-record
parentcaebdd3c114e522b5c9bda2098990e09abfba5b0 (diff)
bus: moxtet: fix unsigned comparison to less than zero
Currently the size_t variable res is being checked for an error failure however the unsigned variable is never less than zero so this test is always false. Fix this by making variable res ssize_t Link: https://lore.kernel.org/r/[email protected] Addresses-Coverity: ("Unsigned compared against 0") Fixes: 5bc7f990cd98 ("bus: Add support for Moxtet bus") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Marek BehĂșn <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions