Skip to content

Commit f7cb0d0

Browse files
zhengbin13martinkpetersen
authored andcommitted
scsi: lpfc: Make function lpfc_defer_pt2pt_acc static
Fix sparse warnings: drivers/scsi/lpfc/lpfc_nportdisc.c:290:1: warning: symbol 'lpfc_defer_pt2pt_acc' was not declared. Should it be static? Link: https://lore.kernel.org/r/[email protected] Reported-by: Hulk Robot <[email protected]> Signed-off-by: zhengbin <[email protected]> Reviewed-by: Dick Kennedy <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent c51c484 commit f7cb0d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/scsi/lpfc/lpfc_nportdisc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ lpfc_els_abort(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp)
286286
* This routine is only called if we are SLI3, direct connect pt2pt
287287
* mode and the remote NPort issues the PLOGI after link up.
288288
*/
289-
void
289+
static void
290290
lpfc_defer_pt2pt_acc(struct lpfc_hba *phba, LPFC_MBOXQ_t *link_mbox)
291291
{
292292
LPFC_MBOXQ_t *login_mbox;

0 commit comments

Comments
 (0)