diff options
| author | Colin Ian King <[email protected]> | 2019-05-22 09:39:03 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-06-18 19:46:23 -0400 |
| commit | 36631157eb3ff8b0b359d574452ebb8f81370ec5 (patch) | |
| tree | a36cd5fd2369f90c617240908abefa465b57ea63 /tools/perf/scripts/python/futex-contention.py | |
| parent | 8a914f32e2dfaff7f23002502ba64a2abb2a4a50 (diff) | |
scsi: hpsa: fix an uninitialized read and dereference of pointer dev
Currently the check for a lockup_detected failure exits via the label
return_reset_status that reads and dereferences an uninitialized pointer
dev. Fix this by ensuring dev is inintialized to null.
Addresses-Coverity: ("Uninitialized pointer read")
Fixes: 14991a5bade5 ("scsi: hpsa: correct device resets")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Don Brace <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions