projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
85f9f9e
)
Revert most of r53392 effects.
author
Hervé Poussineau
<hpoussin@reactos.org>
Sat, 3 Mar 2012 20:39:51 +0000
(20:39 +0000)
committer
Hervé Poussineau
<hpoussin@reactos.org>
Sat, 3 Mar 2012 20:39:51 +0000
(20:39 +0000)
When IoReportDetectedDevice() creates a PDO, the PDO is in no way related to the DriverObject given to the function.
Driver calling IoReportDetectedDevice() should then ensure that it attachs a FDO on top of this PDO.
svn path=/trunk/; revision=55972
reactos/ntoskrnl/io/pnpmgr/pnpreport.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/pnpmgr/pnpreport.c
b/reactos/ntoskrnl/io/pnpmgr/pnpreport.c
index
0522c01
..
7f9ab6c
100644
(file)
--- a/
reactos/ntoskrnl/io/pnpmgr/pnpreport.c
+++ b/
reactos/ntoskrnl/io/pnpmgr/pnpreport.c
@@
-207,7
+207,7
@@
IoReportDetectedDevice(IN PDRIVER_OBJECT DriverObject,
{
/* Create the PDO */
Status = PnpRootCreateDevice(&ServiceName,
{
/* Create the PDO */
Status = PnpRootCreateDevice(&ServiceName,
-
DriverObject
,
+
NULL
,
&Pdo,
NULL);
if (!NT_SUCCESS(Status))
&Pdo,
NULL);
if (!NT_SUCCESS(Status))