]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 13 Jun 2021 19:25:33 +0000 (12:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 13 Jun 2021 19:25:33 +0000 (12:25 -0700)
commit1fffcd067223a3bbff3cf68e06b46eb38d599dd2
treec84a94cd3f78ebc409d7238b721fcb13a6cc248f
parente2890c3e36d9ab999103174c262cb82f8a2d5309
parent14a3bb16128cd3737c0711efbc22aeb6d7e284ef
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi

Pull SCSI fixes from James Bottomley:
 "Four reasonably small fixes to the core for scsi host allocation
  failure paths.

  The root problem is that we're not freeing the memory allocated by
  dev_set_name(), which involves a rejig of may of the free on error
  paths to do put_device() instead of kfree which, in turn, has several
  other knock on ramifications and inspection turned up a few other
  lurking bugs"

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
  scsi: core: Only put parent device if host state differs from SHOST_CREATED
  scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
  scsi: core: Fix failure handling of scsi_add_host_with_dma()
  scsi: core: Fix error handling of scsi_host_alloc()