forked from Minki/linux
scsi: lpfc: Fix a few incorrectly named functions
Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_bsg.c:3591: warning: expecting prototype for lpfc_bsg_mbox_ext_cleanup(). Prototype was for lpfc_bsg_mbox_ext_session_reset() instead drivers/scsi/lpfc/lpfc_bsg.c:3885: warning: expecting prototype for lpfc_bsg_sli_cfg_mse_read_cmd_ext(). Prototype was for lpfc_bsg_sli_cfg_read_cmd_ext() instead drivers/scsi/lpfc/lpfc_bsg.c:4371: warning: expecting prototype for lpfc_bsg_mbox_ext_abort_req(). Prototype was for lpfc_bsg_mbox_ext_abort() instead Link: https://lore.kernel.org/r/20210312094738.2207817-14-lee.jones@linaro.org Cc: James Smart <james.smart@broadcom.com> Cc: Dick Kennedy <dick.kennedy@broadcom.com> Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
2c6400b782
commit
3145d2d69e
@ -3580,7 +3580,7 @@ static int lpfc_bsg_check_cmd_access(struct lpfc_hba *phba,
|
||||
}
|
||||
|
||||
/**
|
||||
* lpfc_bsg_mbox_ext_cleanup - clean up context of multi-buffer mbox session
|
||||
* lpfc_bsg_mbox_ext_session_reset - clean up context of multi-buffer mbox session
|
||||
* @phba: Pointer to HBA context object.
|
||||
*
|
||||
* This is routine clean up and reset BSG handling of multi-buffer mbox
|
||||
@ -3869,7 +3869,7 @@ lpfc_bsg_sli_cfg_dma_desc_setup(struct lpfc_hba *phba, enum nemb_type nemb_tp,
|
||||
}
|
||||
|
||||
/**
|
||||
* lpfc_bsg_sli_cfg_mse_read_cmd_ext - sli_config non-embedded mailbox cmd read
|
||||
* lpfc_bsg_sli_cfg_read_cmd_ext - sli_config non-embedded mailbox cmd read
|
||||
* @phba: Pointer to HBA context object.
|
||||
* @job: Pointer to the job object.
|
||||
* @nemb_tp: Enumerate of non-embedded mailbox command type.
|
||||
@ -4360,7 +4360,7 @@ lpfc_bsg_handle_sli_cfg_mbox(struct lpfc_hba *phba, struct bsg_job *job,
|
||||
}
|
||||
|
||||
/**
|
||||
* lpfc_bsg_mbox_ext_abort_req - request to abort mbox command with ext buffers
|
||||
* lpfc_bsg_mbox_ext_abort - request to abort mbox command with ext buffers
|
||||
* @phba: Pointer to HBA context object.
|
||||
*
|
||||
* This routine is for requesting to abort a pass-through mailbox command with
|
||||
|
Loading…
Reference in New Issue
Block a user