diff options
| author | Bart Van Assche <[email protected]> | 2013-06-25 15:27:28 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2013-07-08 16:32:34 +0000 |
| commit | 6ec6f9094a76aa9e732ede2add6cf32d0c2206e3 (patch) | |
| tree | f650adc43b7ae4ca7903423a4e8418e84ad38c60 /drivers/scsi/mpt3sas/mpi/mpi2_init.h | |
| parent | [SCSI] qla2xxx: Remove redundant assignments. (diff) | |
| download | kernel-6ec6f9094a76aa9e732ede2add6cf32d0c2206e3.tar.gz kernel-6ec6f9094a76aa9e732ede2add6cf32d0c2206e3.zip | |
[SCSI] qla2xxx: Help Coverity with analyzing ct_sns_pkt initialization.
Coverity reports "Overrunning struct type ct_sns_req of 1228 bytes
by passing it to a function which accesses it at byte offset 8207"
for each qla2x00_prep_ct_req(), qla2x00_prep_ct_fdmi_req() and
qla24xx_prep_ct_fm_req() call. Help Coverity to recognize that
these calls do not trigger a buffer overflow by making it explicit
that these three functions initializes both the request and reply
structures. This patch does not change any functionality.
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Saurav Kashyap <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions
