Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ixhamza committed May 20, 2024
1 parent 569f8a6 commit 14ba3b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/nvme/host/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2721,6 +2721,8 @@ static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn)
list_for_each_entry(subsys, &nvme_subsystems, entry) {
if (strcmp(subsys->subnqn, subsysnqn))
continue;
printk(KERN_ERR "%s(): subnqnq matched, list:%d\n", __func__,
list_empty(&subsys->ctrls));
if (list_empty(&subsys->ctrls))
continue;
if (!kref_get_unless_zero(&subsys->ref))
Expand Down

0 comments on commit 14ba3b5

Please sign in to comment.