diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-06-13 12:25:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-06-13 12:25:33 -0700 |
commit | 331a6edb30af2b06fcc7f2bf734c6f4984b48a31 (patch) | |
tree | c84a94cd3f78ebc409d7238b721fcb13a6cc248f /drivers/net | |
parent | 8ecfa36cd4db3275bf3b6c6f32c7e3c6bb537de2 (diff) | |
parent | 1e0d4e6225996f05271de1ebcb1a7c9381af0b27 (diff) |
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()
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions