aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorChaitanya Kulkarni <[email protected]>2022-07-18 16:12:33 -0700
committerJens Axboe <[email protected]>2022-08-02 17:22:51 -0600
commitbe2ada6d0ed094c77040dc7e2d56599dd492d961 (patch)
treeaa5ea25bd67dfa5a496ce6a8f5399e589af30663 /tools/perf/scripts/python/task-analyzer.py
parent1040415c29f065e47b6b4df9f3902602d0382d3d (diff)
nvmet-auth: fix return value check in auth receive
nvmet_auth_challenge() return type is int and currently it uses status variable that is of type u16 in nvmet_execute_auth_receive(). Catch the return value of nvmet_auth_challenge() into int and set the NVME_SC_INTERNAL as status variable before we jump to error. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions