Skip to content

release /dev/nvmeX if nvme_probe failed

Weiping Zhang linux-nvme 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* drop patch of remove whitespace
* release iomap and prp_pools in nvme_pci_free_ctrl
* direct use nvme_put_ctrl to release resource if failed after nvme_init_ctrl in nvme_probe.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme-pci: release iomap and prp_pools in nvme_pci_free_ctrldrivers/nvme/host/pci.c+2 -25 replies
2/2nvme-pci: release nvme_ctrl if failed to alloc memory in nvme_probedrivers/nvme/host/pci.c+4 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] release /dev/nvmeX if nvme_probe failed

Changes since V1:
* drop patch of remove whitespace
* release iomap and prp_pools in nvme_pci_free_ctrl
* direct use nvme_put_ctrl to release resource if failed after nvme_init_ctrl in nvme_probe.

Weiping Zhang (2):
nvme-pci: release iomap and prp_pools in nvme_pci_free_ctrl
nvme-pci: release nvme_ctrl if failed to alloc memory in nvme_probe

 drivers/nvme/host/pci.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
Signature · 1 line
2.14.1