Commit db13a768a07b31b4955db934f3d55d2c77335bcc
Committed by
Simon Glass
1 parent
9c1390d4b9
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
cmd: scsi: Fix null pointer dereference in 'scsi reset'
During 'scsi reset', scsi_bus_reset() is called with udevice pointed to NULL, which causes exception. As a temporary fix, disable the call for DM SCSI for now. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
cmd/scsi.c