[bus,bus/pnp,disk/pnp] Don't use LowerDeviceObject if NULL
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Thu, 9 Dec 2010 20:56:47 +0000 (15:56 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Thu, 9 Dec 2010 20:56:47 +0000 (15:56 -0500)
commit8c99fbb74a134703f6302ecb62eb2b3e82a4bb19
tree165c61dfb6bdf34bd966ad6c2a0072cd20dbb8a0
parentfb2a3e9dd6f4898da293a92ba12f2c62ecf8018e
[bus,bus/pnp,disk/pnp] Don't use LowerDeviceObject if NULL

A bus might not be an FDO on top of some other PDO, so we should
only call a bus' "LowerDeviceObject" if it exists.
src/winvblock/bus/bus.c
src/winvblock/bus/pnp.c
src/winvblock/disk/pnp.c