We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4408312 + 14343c3 commit bf85536Copy full SHA for bf85536
1 file changed
src/nvme/mi.c
@@ -911,8 +911,8 @@ int nvme_mi_admin_security_send(nvme_mi_ctrl_t ctrl,
911
nvme_admin_security_send);
912
913
req_hdr.cdw10 = cpu_to_le32(args->secp << 24 |
914
- args->spsp0 << 16 |
915
- args->spsp1 << 8 |
+ args->spsp1 << 16 |
+ args->spsp0 << 8 |
916
args->nssf);
917
918
req_hdr.cdw11 = cpu_to_le32(args->data_len & 0xffffffff);
@@ -957,8 +957,8 @@ int nvme_mi_admin_security_recv(nvme_mi_ctrl_t ctrl,
957
nvme_admin_security_recv);
958
959
960
961
962
963
964
0 commit comments