diff options
| author | Can Guo <[email protected]> | 2021-06-09 01:24:00 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-06-09 22:56:47 -0400 |
| commit | eb783bb8bbe72f92947e42f2dbd3ea6185470295 (patch) | |
| tree | 08c6275b2688aaeebd8032b8c42767fa386b823d /tools/perf/scripts/python/bin | |
| parent | 105424895c02858922e1bf27ef01127e12caca9a (diff) | |
scsi: ufs: core: Fix a possible use before initialization case
In ufshcd_exec_dev_cmd(), if error happens before lrpb is initialized, then
we should bail out instead of letting trace record the error.
Link: https://lore.kernel.org/r/[email protected]
Fixes: a45f937110fa ("scsi: ufs: Optimize host lock on transfer requests send/compl paths")
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Stanley Chu <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Signed-off-by: Can Guo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions