mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FLOPPY] "zero" parameters in IoQueryDeviceDescription() call are NULL pointers.
This commit is contained in:
parent
84b4a80beb
commit
4f41000714
2 changed files with 8 additions and 3 deletions
|
@ -31,8 +31,6 @@ ForwardIrpAndForget(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static
|
static
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
FdcFdoStartDevice(
|
FdcFdoStartDevice(
|
||||||
|
|
|
@ -929,7 +929,14 @@ AddControllers(PDRIVER_OBJECT DriverObject)
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
/* Find our controllers on all ISA buses */
|
/* Find our controllers on all ISA buses */
|
||||||
IoQueryDeviceDescription(&InterfaceType, 0, &ControllerType, 0, &PeripheralType, 0, ConfigCallback, 0);
|
IoQueryDeviceDescription(&InterfaceType,
|
||||||
|
NULL,
|
||||||
|
&ControllerType,
|
||||||
|
NULL,
|
||||||
|
&PeripheralType,
|
||||||
|
NULL,
|
||||||
|
ConfigCallback,
|
||||||
|
NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* w2k breaks the return val from ConfigCallback, so we have to hack around it, rather than just
|
* w2k breaks the return val from ConfigCallback, so we have to hack around it, rather than just
|
||||||
|
|
Loading…
Reference in a new issue