diff options
author | Bart Van Assche <bvanassche@acm.org> | 2013-06-25 11:27:28 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-07-08 17:32:34 +0100 |
commit | 6ec6f9094a76aa9e732ede2add6cf32d0c2206e3 (patch) | |
tree | f650adc43b7ae4ca7903423a4e8418e84ad38c60 /sound/usb/mixer_maps.c | |
parent | 7f544d00698282655c7abed2262a39f5d9fe9283 (diff) |
[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 <bvanassche@acm.org>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'sound/usb/mixer_maps.c')
0 files changed, 0 insertions, 0 deletions