Skip to content

Commit

Permalink
nvme: Scan NVMe topology without nvme identify namespace
Browse files Browse the repository at this point in the history
Since the show-regs command needed this to scan for PCI.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t committed Mar 16, 2024
1 parent 2af3218 commit 7390623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -5322,7 +5322,7 @@ static int show_registers(int argc, char **argv, struct command *cmd, struct plu
if (err)
return err;

r = nvme_scan(NULL);
r = nvme_scan_no_id(NULL);
err = validate_output_format(output_format_val, &flags);
if (err < 0) {
nvme_show_error("Invalid output format");
Expand Down

0 comments on commit 7390623

Please sign in to comment.