mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 05:36:22 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user