lpfc: fix compile error when CONFIG_NVME_TARGET_FC not enabled
Subsystems (3)
PATCH 1/1 lpfc: fix compile error when CONFIG_NVME_TARGET_FC not enabled
From: James Smart <[email protected]>
fix compile error when CONFIG_NVME_TARGET_FC not enabled
return statement needs to be outside of ifdef
---
Patch to be pulled in via block trees
Patch cut against nvme-4.12 tree
drivers/scsi/lpfc/lpfc_nvmet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/lpfc/lpfc_nvmet.c +1 -1
@@ -958,8 +958,8 @@ lpfc_nvmet_rcv_unsol_abort(struct lpfc_vport *vport,/* Respond with BA_RJT accordingly */ lpfc_sli4_seq_abort_rsp (vport, fc_hdr,0 ); -return 0 ;#endif +return 0 ; }void
Signature · 1 line
2.9.3
Jens Axboe
maintainerPATCH 1/1 lpfc: fix compile error when CONFIG_NVME_TARGET_FC not enabled
Quoted 23 lines · On 04/27/2017 01:35 PM, [email protected] wrote:
From: James Smart <jsmart2021 at gmail.com>
fix compile error when
CONFIG_NVME_TARGET_FCnot enabledreturn statement needs to be outside of ifdef
Signed-off-by Dick Kennedy <dick.kennedy at broadcom.com>Signed-off-by James Smart <james.smart at broadcom.com>---
Patch to be pulled in via block treesPatch cut against nvme-4.12 tree
drivers/scsi/lpfc/lpfc_nvmet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/scsi/lpfc/lpfc_nvmet.c +0
-0
drivers/scsi/lpfc/lpfc_nvmet.c lpfc_nvmet_rcv_unsol_abort(struct lpfc_vport *vport, · line 965
Quoted 9 lines
drivers/scsi/lpfc/lpfc_nvmet.c +1
-1@@ -958,8 +958,8 @@ lpfc_nvmet_rcv_unsol_abort(struct lpfc_vport *vport,/* Respond with BA_RJT accordingly */ lpfc_sli4_seq_abort_rsp (vport, fc_hdr,0 ); -return 0 ;#endif +return 0 ; }void
I fixed this up already when I merged it, it's in the merge commit with the block for-4.12/post-merge tree.
Signature · 1 line
Jens Axboe