mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
And look who made a dumber mistake ;). Thanks WaxDragon
svn path=/trunk/; revision=14858
This commit is contained in:
parent
b35cd289ca
commit
19a014905e
1 changed files with 1 additions and 3 deletions
|
@ -2147,8 +2147,6 @@ SpiGetInquiryData(IN PSCSI_PORT_DEVICE_EXTENSION DeviceExtension,
|
|||
((PUCHAR)AdapterBusInfo + sizeof(SCSI_ADAPTER_BUS_INFO) +
|
||||
(sizeof(SCSI_BUS_DATA) * (AdapterBusInfo->NumberOfBuses - 1)));
|
||||
|
||||
RtlZeroMemory(UnitInfo, sizeof(*UnitInfo));
|
||||
|
||||
for (Bus = 0; Bus < AdapterBusInfo->NumberOfBuses; Bus++)
|
||||
{
|
||||
AdapterBusInfo->BusData[Bus].InitiatorBusId =
|
||||
|
@ -2171,7 +2169,7 @@ SpiGetInquiryData(IN PSCSI_PORT_DEVICE_EXTENSION DeviceExtension,
|
|||
{
|
||||
DPRINT("(Bus %lu Target %lu Lun %lu)\n",
|
||||
Bus, Target, Lun);
|
||||
|
||||
RtlZeroMemory(UnitInfo, sizeof(*UnitInfo));
|
||||
UnitInfo->PathId = Bus;
|
||||
UnitInfo->TargetId = Target;
|
||||
UnitInfo->Lun = Lun;
|
||||
|
|
Loading…
Reference in a new issue