]> 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)
commitc67f73358d9f020172e8f116044e425f8906420d
treec84a94cd3f78ebc409d7238b721fcb13a6cc248f
parenta2e0c0f879470a231e96e37ddf46d125411faf8e
parent43fbd20888d0059e7c8afe314b8b04e2afed51a3
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()