aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2024-04-30 15:19:25 +0200
committerKeith Busch <[email protected]>2024-05-01 03:07:20 -0700
commit44e3c25efae8575e06f1c5d1dc40058a991e3cb2 (patch)
tree03112c9ff24ad6e28cb6f29eaee452e69e8b7289 /tools/perf/util/scripting-engines/trace-event-python.c
parent213cbada7b07bf66409604e0d0dcd66a6a14891a (diff)
nvmet: return DHCHAP status codes from nvmet_setup_auth()
A failure in nvmet_setup_auth() does not mean that the NVMe authentication command failed, so we should rather return a protocol error with a 'failure1' response than an NVMe status. Also update the type used for dhchap_step and dhchap_status to u8 to avoid confusions with nvme status. Furthermore, split dhchap_status and nvme status so we don't accidentally mix these return values. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Hannes Reinecke <[email protected]> [dwagner: - use u8 as type for dhchap_{step|status} - separate nvme status from dhcap_status] Signed-off-by: Daniel Wagner <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions