Skip to content

scsi: fix failure handling of alloc/add host

Ming Lei linux-scsi 1 version Applied

Status from this message: Applied to 5.13/scsi-fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 18 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4scsi: core: fix error handling of scsi_host_allocdrivers/scsi/hosts.c+13 -105 replies
2/4scsi: core: fix failure handling of scsi_add_host_with_dmadrivers/scsi/hosts.c+6 -83 replies
3/4scsi: core: put .shost_dev in failure path if host state becomes runningdrivers/scsi/hosts.c+6 -24 replies
4/4scsi: core: only put parent device if host state isn't in SHOST_CREATEDdrivers/scsi/hosts.c+1 -14 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchBart Van AsscheJohn GarryHannes Reinecke
SeriesT-b
1/4R-b R-b R-b
2/4R-b R-b R-b
3/4R-b R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] scsi: fix failure handling of alloc/add host

Hello Martin,

Fix failure handling of alloc/add host code, and related device release handling.

Ming Lei (4):
scsi: core: fix error handling of scsi_host_alloc
scsi: core: fix failure handling of scsi_add_host_with_dma
scsi: core: put .shost_dev in failure path if host state becomes
running
scsi: core: only put parent device if host state isn't in
SHOST_CREATED

 drivers/scsi/hosts.c | 47 ++++++++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 21 deletions(-)
Cc Bart Van Assche <[email protected]>
Cc John Garry <[email protected]>
Cc Hannes Reinecke <[email protected]>
Signature · 1 line
2.29.2