Skip to content

tree: Handle NULL subsysname in nvme_scan_ctrl()#309

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
tbzatek:init-subsystem-2
Mar 23, 2022
Merged

tree: Handle NULL subsysname in nvme_scan_ctrl()#309
igaw merged 1 commit intolinux-nvme:masterfrom
tbzatek:init-subsystem-2

Conversation

@tbzatek
Copy link
Copy Markdown
Contributor

@tbzatek tbzatek commented Mar 23, 2022

As noted couple of lines earlier, the subsysname string might
be NULL. In that case, defer initialization of nvme_subsystem_t
in hope that it would get initialized while scanning subsystems.

As noted couple of lines earlier, the subsysname string might
be NULL. In that case, defer initialization of nvme_subsystem_t
in hope that it would get initialized while scanning subsystems.
@tbzatek
Copy link
Copy Markdown
Contributor Author

tbzatek commented Mar 23, 2022

This is a followup to #304 - Github was somewhat broken yesterday, giving me Internal server error on any git push and eventually succeeded... only to make my changes ignored in the webui and as checked after the merge, also in the merged code.

Resubmitting, just a tiny fix.

@igaw igaw merged commit 9277a35 into linux-nvme:master Mar 23, 2022
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Mar 23, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants