diff options
author | James Smart <james.smart@emulex.com> | 2014-09-03 12:57:55 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 12:10:12 -0400 |
commit | a2fc4aefa06d8b57b6728c1787c84fb3d3c86354 (patch) | |
tree | c7833b3e44299747314298646b5d8fa0e8bf5eb6 /drivers/scsi/lpfc/lpfc_sli4.h | |
parent | 7ba36effb666831ac3803ca5b8aed371e7d17c4e (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.h | 20 |
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 *); | |||
670 | struct lpfc_queue *lpfc_sli4_queue_alloc(struct lpfc_hba *, uint32_t, | 670 | struct lpfc_queue *lpfc_sli4_queue_alloc(struct lpfc_hba *, uint32_t, |
671 | uint32_t); | 671 | uint32_t); |
672 | void lpfc_sli4_queue_free(struct lpfc_queue *); | 672 | void lpfc_sli4_queue_free(struct lpfc_queue *); |
673 | uint32_t lpfc_eq_create(struct lpfc_hba *, struct lpfc_queue *, uint32_t); | 673 | int lpfc_eq_create(struct lpfc_hba *, struct lpfc_queue *, uint32_t); |
674 | uint32_t lpfc_modify_fcp_eq_delay(struct lpfc_hba *, uint16_t); | 674 | int lpfc_modify_fcp_eq_delay(struct lpfc_hba *, uint16_t); |
675 | uint32_t lpfc_cq_create(struct lpfc_hba *, struct lpfc_queue *, | 675 | int 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); |
677 | int32_t lpfc_mq_create(struct lpfc_hba *, struct lpfc_queue *, | 677 | int32_t lpfc_mq_create(struct lpfc_hba *, struct lpfc_queue *, |
678 | struct lpfc_queue *, uint32_t); | 678 | struct lpfc_queue *, uint32_t); |
679 | uint32_t lpfc_wq_create(struct lpfc_hba *, struct lpfc_queue *, | 679 | int lpfc_wq_create(struct lpfc_hba *, struct lpfc_queue *, |
680 | struct lpfc_queue *, uint32_t); | 680 | struct lpfc_queue *, uint32_t); |
681 | uint32_t lpfc_rq_create(struct lpfc_hba *, struct lpfc_queue *, | 681 | int 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); |
683 | void lpfc_rq_adjust_repost(struct lpfc_hba *, struct lpfc_queue *, int); | 683 | void lpfc_rq_adjust_repost(struct lpfc_hba *, struct lpfc_queue *, int); |
684 | uint32_t lpfc_eq_destroy(struct lpfc_hba *, struct lpfc_queue *); | 684 | int lpfc_eq_destroy(struct lpfc_hba *, struct lpfc_queue *); |
685 | uint32_t lpfc_cq_destroy(struct lpfc_hba *, struct lpfc_queue *); | 685 | int lpfc_cq_destroy(struct lpfc_hba *, struct lpfc_queue *); |
686 | uint32_t lpfc_mq_destroy(struct lpfc_hba *, struct lpfc_queue *); | 686 | int lpfc_mq_destroy(struct lpfc_hba *, struct lpfc_queue *); |
687 | uint32_t lpfc_wq_destroy(struct lpfc_hba *, struct lpfc_queue *); | 687 | int lpfc_wq_destroy(struct lpfc_hba *, struct lpfc_queue *); |
688 | uint32_t lpfc_rq_destroy(struct lpfc_hba *, struct lpfc_queue *, | 688 | int lpfc_rq_destroy(struct lpfc_hba *, struct lpfc_queue *, |
689 | struct lpfc_queue *); | 689 | struct lpfc_queue *); |
690 | int lpfc_sli4_queue_setup(struct lpfc_hba *); | 690 | int lpfc_sli4_queue_setup(struct lpfc_hba *); |
691 | void lpfc_sli4_queue_unset(struct lpfc_hba *); | 691 | void lpfc_sli4_queue_unset(struct lpfc_hba *); |