All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] scsi: two fixes in scsi_add_host_with_dma
@ 2021-05-28  1:18 Ming Lei
  2021-05-28  1:18 ` [PATCH V2 1/2] scsi: core: fix failure handling of scsi_add_host_with_dma Ming Lei
  2021-05-28  1:18 ` [PATCH V2 2/2] scsi: core: put shost->shost_gendev in failure handling path Ming Lei
  0 siblings, 2 replies; 5+ messages in thread
From: Ming Lei @ 2021-05-28  1:18 UTC (permalink / raw)
  To: Martin K . Petersen, linux-scsi
  Cc: Ming Lei, Bart Van Assche, John Garry, Hannes Reinecke

Hello Martin,

The 1st patch fixes one double free in failure path of adding host.

The 2nd patch fixes one host device leak in failure path of adding host.

V2:
	- add patch 2 for addressing shost leak in case of adding host
	  failure, reported by John Garry.


Ming Lei (2):
  scsi: core: fix failure handling of scsi_add_host_with_dma
  scsi: core: put shost->shost_gendev in failure handling path

 drivers/scsi/hosts.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Cc: Bart Van Assche <bvanassche@acm.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Hannes Reinecke <hare@suse.de>


-- 
2.29.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-31  1:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28  1:18 [PATCH V2 0/2] scsi: two fixes in scsi_add_host_with_dma Ming Lei
2021-05-28  1:18 ` [PATCH V2 1/2] scsi: core: fix failure handling of scsi_add_host_with_dma Ming Lei
2021-05-28  8:34   ` John Garry
2021-05-31  1:22     ` Ming Lei
2021-05-28  1:18 ` [PATCH V2 2/2] scsi: core: put shost->shost_gendev in failure handling path Ming Lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.