[SCSIPORT]

- Do not pass NULL adapter to IoMapTransfer

svn path=/trunk/; revision=62000
This commit is contained in:
Jérôme Gardou 2014-02-05 21:33:14 +00:00
parent 6bffa4c6ed
commit d9b3f370ba

View file

@ -3286,7 +3286,7 @@ SpiAdapterControl(PDEVICE_OBJECT DeviceObject,
break;
ScatterGatherList->Length = Srb->DataTransferLength - TotalLength;
ScatterGatherList->PhysicalAddress = IoMapTransfer(NULL,
ScatterGatherList->PhysicalAddress = IoMapTransfer(DeviceExtension->AdapterObject,
Irp->MdlAddress,
MapRegisterBase,
DataVA + TotalLength,