]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: scsi: Adjust return value of scsi_exec()
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:44 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commitf6580ef39b332387f84334d238320ce99115af67
treeb78bf42fde9e8fe489336498f558053cb7ac48bb
parentf6ab5a92acc78371fc088075b64bd394d1f0d45f
dm: scsi: Adjust return value of scsi_exec()

Change this function to return an error number instead of true/false.
This allows us to return a proper error number.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/ata/ahci.c
drivers/scsi/scsi.c