diff options
author | Keith Busch <[email protected]> | 2024-06-04 11:59:07 -0700 |
---|---|---|
committer | Keith Busch <[email protected]> | 2024-06-24 12:53:42 -0700 |
commit | 72cded7573c8c038f999e49c77d1097efcfd15aa (patch) | |
tree | 0f7b8c0b7226411b31900d1586cd0bd7d6f17f3d /lib/debugobjects.c | |
parent | ea47c471a2cf34a0ab3cd1c5f13b3625454f1fdd (diff) |
nvme: fc: split controller bringup handling
Drivers must call nvme_uninit_ctrl after a successful nvme_init_ctrl.
Split the allocation side out to make the error handling boundary easier
to navigate. The nvme fc driver's error handling had different returns
in the error goto label's, which harm readability.
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions