summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-08-06 17:43:01 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-10 06:14:52 +0300
commita5402cdcc2a925835db89ea336909b2b724189df (patch)
treea7d375e65f47deadfc1f6a2acdfdbe9ddbe7f810 /tools/perf/scripts/python/bin
parent4758fd91d5a07d46be1101d6d47b289ed5d904d0 (diff)
downloadlinux-a5402cdcc2a925835db89ea336909b2b724189df.tar.xz
scsi: ufs: Fix unsigned int compared with less than zero
Variable 'tag' is currently an unsigned int and is being compared to less than zero, this check is always false. Fix this by making 'tag' an int. Link: https://lore.kernel.org/r/20210806144301.19864-1-colin.king@canonical.com Fixes: 4728ab4a8e64 ("scsi: ufs: Remove ufshcd_valid_tag()") Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Addresses-Coverity: ("Macro compares unsigned to 0")
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions