mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
scsi: lpfc: Fix a bunch of kernel-doc issues
Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_sli.c:9654: warning: expecting prototype for lpfc_sli_iocb2wqe(). Prototype was for lpfc_sli4_iocb2wqe() instead drivers/scsi/lpfc/lpfc_sli.c:10439: warning: Function parameter or member 'phba' not described in 'lpfc_sli_issue_fcp_io' drivers/scsi/lpfc/lpfc_sli.c:10439: warning: Function parameter or member 'ring_number' not described in 'lpfc_sli_issue_fcp_io' drivers/scsi/lpfc/lpfc_sli.c:10439: warning: Function parameter or member 'piocb' not described in 'lpfc_sli_issue_fcp_io' drivers/scsi/lpfc/lpfc_sli.c:10439: warning: Function parameter or member 'flag' not described in 'lpfc_sli_issue_fcp_io' drivers/scsi/lpfc/lpfc_sli.c:14189: warning: expecting prototype for lpfc_sli4_sp_process_cq(). Prototype was for __lpfc_sli4_sp_process_cq() instead drivers/scsi/lpfc/lpfc_sli.c:14754: warning: expecting prototype for lpfc_sli4_hba_process_cq(). Prototype was for lpfc_sli4_dly_hba_process_cq() instead drivers/scsi/lpfc/lpfc_sli.c:17230: warning: expecting prototype for lpfc_sli4_free_xri(). Prototype was for __lpfc_sli4_free_xri() instead drivers/scsi/lpfc/lpfc_sli.c:18950: warning: expecting prototype for lpfc_sli4_free_rpi(). Prototype was for __lpfc_sli4_free_rpi() instead Link: https://lore.kernel.org/r/20210303144631.3175331-18-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: Sumit Semwal <sumit.semwal@linaro.org> Cc: "Christian König" <christian.koenig@amd.com> Cc: linux-scsi@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.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
53616df281
commit
8514e2f1e2
|
|
@ -9632,7 +9632,7 @@ lpfc_sli4_bpl2sgl(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq,
|
|||
}
|
||||
|
||||
/**
|
||||
* lpfc_sli_iocb2wqe - Convert the IOCB to a work queue entry.
|
||||
* lpfc_sli4_iocb2wqe - Convert the IOCB to a work queue entry.
|
||||
* @phba: Pointer to HBA context object.
|
||||
* @iocbq: Pointer to command iocb.
|
||||
* @wqe: Pointer to the work queue entry.
|
||||
|
|
@ -10418,7 +10418,7 @@ __lpfc_sli_issue_iocb_s4(struct lpfc_hba *phba, uint32_t ring_number,
|
|||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* lpfc_sli_issue_fcp_io - Wrapper func for issuing fcp i/o
|
||||
*
|
||||
* This routine wraps the actual fcp i/o function for issusing WQE for sli-4
|
||||
|
|
@ -14167,7 +14167,7 @@ __lpfc_sli4_process_cq(struct lpfc_hba *phba, struct lpfc_queue *cq,
|
|||
}
|
||||
|
||||
/**
|
||||
* lpfc_sli4_sp_process_cq - Process a slow-path event queue entry
|
||||
* __lpfc_sli4_sp_process_cq - Process a slow-path event queue entry
|
||||
* @cq: pointer to CQ to process
|
||||
*
|
||||
* This routine calls the cq processing routine with a handler specific
|
||||
|
|
@ -14741,7 +14741,7 @@ lpfc_sli4_hba_process_cq(struct work_struct *work)
|
|||
}
|
||||
|
||||
/**
|
||||
* lpfc_sli4_hba_process_cq - fast-path work handler when started by timer
|
||||
* lpfc_sli4_dly_hba_process_cq - fast-path work handler when started by timer
|
||||
* @work: pointer to work element
|
||||
*
|
||||
* translates from the work handler and calls the fast-path handler.
|
||||
|
|
@ -17215,7 +17215,7 @@ lpfc_sli4_alloc_xri(struct lpfc_hba *phba)
|
|||
}
|
||||
|
||||
/**
|
||||
* lpfc_sli4_free_xri - Release an xri for reuse.
|
||||
* __lpfc_sli4_free_xri - Release an xri for reuse.
|
||||
* @phba: pointer to lpfc hba data structure.
|
||||
* @xri: xri to release.
|
||||
*
|
||||
|
|
@ -18935,7 +18935,7 @@ lpfc_sli4_alloc_rpi(struct lpfc_hba *phba)
|
|||
}
|
||||
|
||||
/**
|
||||
* lpfc_sli4_free_rpi - Release an rpi for reuse.
|
||||
* __lpfc_sli4_free_rpi - Release an rpi for reuse.
|
||||
* @phba: pointer to lpfc hba data structure.
|
||||
* @rpi: rpi to free
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user