]> git.baikalelectronics.ru Git - uboot.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)
commit2469c0300e1df800eb022d65deada10b7c6d1672
tree32cd979ba4351e0a2b02f5735512d4fd2a484183
parent92b78fb16de6da21bd4958f4b5b727f0356b835a
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