File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Documentation/ABI/testing Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -243,8 +243,8 @@ Description:
243
243
244
244
index:
245
245
Used with HDD and NVME authentication to set the drive index
246
- that is being referenced (e.g hdd0, hdd1 etc)
247
- This attribute defaults to device 0 .
246
+ that is being referenced (e.g hdd1, hdd2 etc)
247
+ This attribute defaults to device 1 .
248
248
249
249
certificate, signature, save_signature:
250
250
These attributes are used for certificate based authentication. This is
Original file line number Diff line number Diff line change @@ -1534,6 +1534,10 @@ static int tlmi_analyze(void)
1534
1534
if (!tlmi_priv .pwd_nvme )
1535
1535
goto fail_clear_attr ;
1536
1536
1537
+ /* Set default hdd/nvme index to 1 as there is no device 0 */
1538
+ tlmi_priv .pwd_hdd -> index = 1 ;
1539
+ tlmi_priv .pwd_nvme -> index = 1 ;
1540
+
1537
1541
if (tlmi_priv .pwdcfg .core .password_state & TLMI_HDD_PWD ) {
1538
1542
/* Check if PWD is configured and set index to first drive found */
1539
1543
if (tlmi_priv .pwdcfg .ext .hdd_user_password ||
You can’t perform that action at this time.
0 commit comments