aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index c54a9ea336a6..ce5ff2bccba6 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -363,7 +363,7 @@ lpfc_sli_next_iotag(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq)
363 if (psli->iocbq_lookup) 363 if (psli->iocbq_lookup)
364 memcpy(new_arr, old_arr, 364 memcpy(new_arr, old_arr,
365 ((psli->last_iotag + 1) * 365 ((psli->last_iotag + 1) *
366 sizeof (struct lpfc_iocbq *))); 366 sizeof (struct lpfc_iocbq *)));
367 psli->iocbq_lookup = new_arr; 367 psli->iocbq_lookup = new_arr;
368 psli->iocbq_lookup_len = new_len; 368 psli->iocbq_lookup_len = new_len;
369 psli->last_iotag = iotag; 369 psli->last_iotag = iotag;
@@ -623,7 +623,7 @@ struct lpfc_hbq_init *lpfc_hbq_defs[] = {
623 &lpfc_extra_hbq, 623 &lpfc_extra_hbq,
624}; 624};
625 625
626int 626static int
627lpfc_sli_hbqbuf_fill_hbqs(struct lpfc_hba *phba, uint32_t hbqno, uint32_t count) 627lpfc_sli_hbqbuf_fill_hbqs(struct lpfc_hba *phba, uint32_t hbqno, uint32_t count)
628{ 628{
629 uint32_t i, start, end; 629 uint32_t i, start, end;