Change-Id: Iee3000f142cd9ef969f351c22810d7f17724c29f
Signed-off-by: hgchu <hg.chu@samsung.com>
dev_err(hba->dev,
"%s: cmd was completed, but without a notifying intr, tag = %d",
__func__, tag);
+ goto clean;
}
/* Print Transfer Request of aborted task */
__func__, tag, err);
if (!err)
err = resp; /* service response error */
+ dev_err(hba->dev,
+ "%s: query task failed with err %d\n",
+ __func__, err);
goto out;
}
}
if (!poll_cnt) {
err = -EBUSY;
+ dev_err(hba->dev,
+ "%s: cmd might be missed, not pending in device\n",
+ __func__);
goto out;
}
__func__, tag, err);
goto out;
}
-
+clean:
scsi_dma_unmap(cmd);
spin_lock_irqsave(host->host_lock, flags);