[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230811093614.28005-4-dwagner@suse.de>
Date: Fri, 11 Aug 2023 11:36:04 +0200
From: Daniel Wagner <dwagner@...e.de>
To: linux-nvme@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
Chaitanya Kulkarni <kch@...dia.com>,
Shin'ichiro Kawasaki <shinichiro.kawasaki@....com>,
Max Gurtovoy <mgurtovoy@...dia.com>,
Hannes Reinecke <hare@...e.de>,
Sagi Grimberg <sagi@...mberg.me>,
James Smart <jsmart2021@...il.com>,
Bart Van Assche <bvanassche@....org>,
Daniel Wagner <dwagner@...e.de>
Subject: [PATCH blktests v3 03/13] nvme/043: Use hostnqn to generate DHCAP key
The key is supposed to be derived from the hostnqn not fom the subsys
name.
Signed-off-by: Daniel Wagner <dwagner@...e.de>
---
tests/nvme/043 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/nvme/043 b/tests/nvme/043
index 4a37f91e50c3..b5cb8378681e 100755
--- a/tests/nvme/043
+++ b/tests/nvme/043
@@ -37,7 +37,7 @@ test() {
hostid="${def_hostid}"
hostnqn="${def_hostnqn}"
- hostkey="$(nvme gen-dhchap-key -n ${subsys_name} 2> /dev/null)"
+ hostkey="$(nvme gen-dhchap-key -n ${hostnqn} 2> /dev/null)"
if [ -z "$hostkey" ] ; then
echo "nvme gen-dhchap-key failed"
return 1
--
2.41.0
Powered by blists - more mailing lists