aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli4.h
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2014-09-03 12:57:55 -0400
committerChristoph Hellwig <hch@lst.de>2014-09-16 12:10:12 -0400
commita2fc4aefa06d8b57b6728c1787c84fb3d3c86354 (patch)
treec7833b3e44299747314298646b5d8fa0e8bf5eb6 /drivers/scsi/lpfc/lpfc_sli4.h
parent7ba36effb666831ac3803ca5b8aed371e7d17c4e (diff)
lpfc: fix high priority issues from fortify source code scan
Fixed High priority issues from lpfc given by fortify source code scan. Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli4.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli4.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h
index 7f50aa04d66a..22ceb2b05ba1 100644
--- a/drivers/scsi/lpfc/lpfc_sli4.h
+++ b/drivers/scsi/lpfc/lpfc_sli4.h
@@ -670,22 +670,22 @@ void lpfc_sli4_hba_reset(struct lpfc_hba *);
670struct lpfc_queue *lpfc_sli4_queue_alloc(struct lpfc_hba *, uint32_t, 670struct lpfc_queue *lpfc_sli4_queue_alloc(struct lpfc_hba *, uint32_t,
671 uint32_t); 671 uint32_t);
672void lpfc_sli4_queue_free(struct lpfc_queue *); 672void lpfc_sli4_queue_free(struct lpfc_queue *);
673uint32_t lpfc_eq_create(struct lpfc_hba *, struct lpfc_queue *, uint32_t); 673int lpfc_eq_create(struct lpfc_hba *, struct lpfc_queue *, uint32_t);
674uint32_t lpfc_modify_fcp_eq_delay(struct lpfc_hba *, uint16_t); 674int lpfc_modify_fcp_eq_delay(struct lpfc_hba *, uint16_t);
675uint32_t lpfc_cq_create(struct lpfc_hba *, struct lpfc_queue *, 675int lpfc_cq_create(struct lpfc_hba *, struct lpfc_queue *,
676 struct lpfc_queue *, uint32_t, uint32_t); 676 struct lpfc_queue *, uint32_t, uint32_t);
677int32_t lpfc_mq_create(struct lpfc_hba *, struct lpfc_queue *, 677int32_t lpfc_mq_create(struct lpfc_hba *, struct lpfc_queue *,
678 struct lpfc_queue *, uint32_t); 678 struct lpfc_queue *, uint32_t);
679uint32_t lpfc_wq_create(struct lpfc_hba *, struct lpfc_queue *, 679int lpfc_wq_create(struct lpfc_hba *, struct lpfc_queue *,
680 struct lpfc_queue *, uint32_t); 680 struct lpfc_queue *, uint32_t);
681uint32_t lpfc_rq_create(struct lpfc_hba *, struct lpfc_queue *, 681int lpfc_rq_create(struct lpfc_hba *, struct lpfc_queue *,
682 struct lpfc_queue *, struct lpfc_queue *, uint32_t); 682 struct lpfc_queue *, struct lpfc_queue *, uint32_t);
683void lpfc_rq_adjust_repost(struct lpfc_hba *, struct lpfc_queue *, int); 683void lpfc_rq_adjust_repost(struct lpfc_hba *, struct lpfc_queue *, int);
684uint32_t lpfc_eq_destroy(struct lpfc_hba *, struct lpfc_queue *); 684int lpfc_eq_destroy(struct lpfc_hba *, struct lpfc_queue *);
685uint32_t lpfc_cq_destroy(struct lpfc_hba *, struct lpfc_queue *); 685int lpfc_cq_destroy(struct lpfc_hba *, struct lpfc_queue *);
686uint32_t lpfc_mq_destroy(struct lpfc_hba *, struct lpfc_queue *); 686int lpfc_mq_destroy(struct lpfc_hba *, struct lpfc_queue *);
687uint32_t lpfc_wq_destroy(struct lpfc_hba *, struct lpfc_queue *); 687int lpfc_wq_destroy(struct lpfc_hba *, struct lpfc_queue *);
688uint32_t lpfc_rq_destroy(struct lpfc_hba *, struct lpfc_queue *, 688int lpfc_rq_destroy(struct lpfc_hba *, struct lpfc_queue *,
689 struct lpfc_queue *); 689 struct lpfc_queue *);
690int lpfc_sli4_queue_setup(struct lpfc_hba *); 690int lpfc_sli4_queue_setup(struct lpfc_hba *);
691void lpfc_sli4_queue_unset(struct lpfc_hba *); 691void lpfc_sli4_queue_unset(struct lpfc_hba *);