summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRoman Demidov <roman.demidov.nn@gmail.com>2026-08-07 12:18:50 +0300
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-08-07 14:09:34 -0400
commit15b7fe6db602d0202761902d2c50bc1e8bbe6cea (patch)
tree613b78677278ab9206bf706beb01e69b38b0ea73 /tools/perf/scripts/python
parent626147717bea776b61ed3631d2c26283760c4cc4 (diff)
scsi: fnic: Fix invalid comparison for error
The current comparison err != ERR_ECMDUNKNOWN is useless because err < 0 and ERR_ECMDUNKNOWN == 5. The logic is that if the CMD_CAPABILITY command was executed, there is no need to respond to unknown errors. Therefore, the sign of the number in the comparison must be changed. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Roman Demidov <roman.demidov.nn@gmail.com> Reviewed-by: Karan Tilak Kumar <kartilak@cisco.com> Link: https://patch.msgid.link/20260807091852.13151-1-roman.demidov.nn@gmail.com Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions