qla2x00t-32gbit, target: Define qlt_handle_dif_error() also if PI is disabled

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8136 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-04-02 04:14:40 +00:00
parent 42c39e73a0
commit 621e67205f
+9
View File
@@ -3526,6 +3526,7 @@ out_unlock_free_unmap:
EXPORT_SYMBOL(qlt_rdy_to_xfer);
#if QLA_ENABLE_PI
/*
* it is assumed either hardware_lock or qpair lock is held.
*/
@@ -3628,6 +3629,14 @@ out:
break;
}
}
#else
static void
qlt_handle_dif_error(struct qla_qpair *qpair, struct qla_tgt_cmd *cmd,
struct ctio_crc_from_fw *sts)
{
WARN_ON_ONCE(true);
}
#endif
/* If hardware_lock held on entry, might drop it, then reaquire */
/* This function sends the appropriate CTIO to ISP 2xxx or 24xx */