Skip to content

lpfc: Fix errors in LS receive refactoring

James Smart kernel-janitors linux-nvme linux-scsi 1 version Applied

Status from this message: applied to nvme-5.8.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3lpfc: Fix pointer checks and comments in LS receive refactoringdrivers/scsi/lpfc/lpfc_nvmet.c+17 -90 replies
2/3lpfc: fix axchg pointer reference after free and double freesdrivers/scsi/lpfc/lpfc_nvmet.c drivers/scsi/lpfc/lpfc_sli.c+7 -60 replies
3/3lpfc: Fix return value in __lpfc_nvme_ls_abortdrivers/scsi/lpfc/lpfc_nvme.c+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDan Carpenter
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] lpfc: Fix errors in LS receive refactoring

A prior patch set refactored lpfc to create common routines for NVME LS handling for use by both the initiator and target paths. The refactoring introduced several errors spotted by additional testing and static checker reporting.

This patch set corrects those errors.

The patches should enter via the nvme tree, as the lpfc modifications were in support of nvme-fc transport api deltas merged via the nvme tree.

-- james

James Smart (3):
lpfc: Fix pointer checks and comments in LS receive refactoring
lpfc: fix axchg pointer reference after free and double frees
lpfc: Fix return value in __lpfc_nvme_ls_abort

 drivers/scsi/lpfc/lpfc_nvme.c  |  2 +-
 drivers/scsi/lpfc/lpfc_nvmet.c | 29 ++++++++++++++++++-----------
 drivers/scsi/lpfc/lpfc_sli.c   | 10 ++++++----
 3 files changed, 25 insertions(+), 16 deletions(-)
Signature · 1 line
2.26.1