]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: scsi: Fix null pointer dereference in 'scsi reset'
authorBin Meng <bmeng.cn@gmail.com>
Sat, 17 Jun 2017 13:36:00 +0000 (06:36 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Jul 2017 18:02:47 +0000 (12:02 -0600)
commitdb13a768a07b31b4955db934f3d55d2c77335bcc
tree32cd979ba4351e0a2b02f5735512d4fd2a484183
parent9c1390d4b988b1c7170dca9d06539ea1a363dfe7
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>
cmd/scsi.c