mirror of
https://github.com/SCST-project/scst.git
synced 2026-07-20 15:02:18 +00:00
qla2x00t-32gbit: Fix a compiler warning triggered by kernel versions before v4.10
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8878 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2170,10 +2170,11 @@ static void qla24xx_nvme_iocb_entry(scsi_qla_host_t *vha, struct req_que *req,
|
||||
}
|
||||
|
||||
if (state_flags & SF_NVME_ERSP) {
|
||||
struct nvme_fc_ersp_iu *rsp_iu = fd->rspaddr;
|
||||
u32 tgt_xfer_len;
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)
|
||||
struct nvme_fc_ersp_iu *rsp_iu = fd->rspaddr;
|
||||
|
||||
/*
|
||||
* xfrd_len was introduced by commit b1ad1475b447
|
||||
* ("nvme-fabrics: Add FC transport FC-NVME definitions")
|
||||
|
||||
Reference in New Issue
Block a user