diff options
| author | Chad Dupuis <chad.dupuis@qlogic.com> | 2011-02-23 15:27:07 -0800 |
|---|---|---|
| committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-25 12:24:59 -0500 |
| commit | 7c8cf2fee1027caaadf0e96145ff97f931ba4bdd (patch) | |
| tree | 9fb7422358ca3c710a3dcb244a77299dff14478a /tools/perf/scripts/python/check-perf-trace.py | |
| parent | f5e3e40b398d3593e26fcced987d4bd7b8f9e57a (diff) | |
| download | olio-linux-3.10-7c8cf2fee1027caaadf0e96145ff97f931ba4bdd.tar.xz olio-linux-3.10-7c8cf2fee1027caaadf0e96145ff97f931ba4bdd.zip | |
[SCSI] qla2xxx: Fix array subscript is above array bounds in qla2xx_build_scsi_type_6_iocbs().
The additional increment of dsd_seg was causing the compiler to throw an array
out of bounds warning. This patch moves to a direct assignment of
cmd_pkt->fcp_data_dseg_len so that the compiler doesn't generate an array out
bounds warning.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions