You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two dhchap keys, a 'host' and a 'ctrl' key. Additionally,
the libnvme interface prefixes function calls with 'nvme_ctrl_XX'
and 'nvme_host_XX', depending on whether the first argument is a
controller or a host.
But that means that the function 'nvme_ctrl_dhchap_key' does _not_
refer to the dhchap ctrl key, but in fact to the dhchap host key.
So to avoid all confusion make the naming consistent, and use the
'_host_key' suffix for all functions referring to the dhchap host
key, and '_ctrl_key' to all functions referring to the dhchap ctrl key.
Which, incidentally, uncovered quite a few mixups.
Signed-off-by: Hannes Reinecke <[email protected]>
0 commit comments