summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark O'Donovan <shiftee@posteo.net>2023-10-25 12:51:23 +0200
committerKeith Busch <kbusch@kernel.org>2023-11-06 17:34:15 +0100
commit75276847f4e262a52ccaf1a1c6b929280ddf77f6 (patch)
tree54490c1a9293d0395aba67da6319ced74b7983d4 /include
parentnvme: fix error-handling for io_uring nvme-passthrough (diff)
downloadlinux-75276847f4e262a52ccaf1a1c6b929280ddf77f6.tar.xz
linux-75276847f4e262a52ccaf1a1c6b929280ddf77f6.zip
nvme-auth: auth success1 msg always includes resp
In cases where RVALID is false, the response is still transmitted, but is cleared to zero. Relevant extract from the spec: Response R2, if valid (i.e., if the RVALID field is set to 01h), cleared to 0h otherwise Signed-off-by: Mark O'Donovan <shiftee@posteo.net> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nvme.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index a7ba74babad7..44325c068b6a 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -1732,7 +1732,7 @@ struct nvmf_auth_dhchap_success1_data {
__u8 rsvd2;
__u8 rvalid;
__u8 rsvd3[7];
- /* 'hl' bytes of response value if 'rvalid' is set */
+ /* 'hl' bytes of response value */
__u8 rval[];
};