Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[sfrench/cifs-2.6.git] / drivers / scsi / lpfc / lpfc_bsg.c
index c2776b88d493d999f782171191458ca66b03277d..38cfe1bc6a4dcddc4d2994085abbd40c4df58bac 100644 (file)
@@ -934,7 +934,7 @@ lpfc_bsg_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
        INIT_LIST_HEAD(&head);
        list_add_tail(&head, &piocbq->list);
 
-       ct_req = (struct lpfc_sli_ct_request *)bdeBuf1;
+       ct_req = (struct lpfc_sli_ct_request *)bdeBuf1->virt;
        evt_req_id = ct_req->FsType;
        cmd = ct_req->CommandResponse.bits.CmdRsp;