diff options
| author | Andrew Vasquez <[email protected]> | 2019-04-02 14:24:25 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-04-03 23:45:53 -0400 |
| commit | 5cbdae10bf11f96e30b4d14de7b08c8b490e903c (patch) | |
| tree | 96b16f5e27ed0a04b5a0e68b23ba1f792938cc3e /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 5da05a26b8305a625bc9d537671b981795b46dab (diff) | |
scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
Commit e6f77540c067 ("scsi: qla2xxx: Fix an integer overflow in sysfs
code") incorrectly set 'optrom_region_size' to 'start+size', which can
overflow option-rom boundaries when 'start' is non-zero. Continue setting
optrom_region_size to the proper adjusted value of 'size'.
Fixes: e6f77540c067 ("scsi: qla2xxx: Fix an integer overflow in sysfs code")
Cc: [email protected]
Signed-off-by: Andrew Vasquez <[email protected]>
Signed-off-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions