diff options
author | Keith Busch <kbusch@kernel.org> | 2024-06-04 21:59:07 +0300 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-06-24 22:53:42 +0300 |
commit | 72cded7573c8c038f999e49c77d1097efcfd15aa (patch) | |
tree | 0f7b8c0b7226411b31900d1586cd0bd7d6f17f3d /scripts/generate_rust_analyzer.py | |
parent | ea47c471a2cf34a0ab3cd1c5f13b3625454f1fdd (diff) | |
download | linux-72cded7573c8c038f999e49c77d1097efcfd15aa.tar.xz |
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 <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions