aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2024-06-04 11:59:06 -0700
committerKeith Busch <[email protected]>2024-06-24 12:53:42 -0700
commitea47c471a2cf34a0ab3cd1c5f13b3625454f1fdd (patch)
tree601a79ce1b35dc6acc6ede3bf32e876ed1cffbdc /lib/netdev-notifier-error-inject.c
parent10fd7fb676d71482b64bc61f5058b1011133f984 (diff)
nvme: rdma: 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 rdma 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/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions