]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pcie portdriver: initialize returned value
authorLinas Vepstas <linas@austin.ibm.com>
Fri, 2 Nov 2007 20:14:28 +0000 (15:14 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 22:35:25 +0000 (14:35 -0800)
commit8ec7f8515d4fd941f3a7ddcc66e725445d90c057
tree607458e331bec426b2896319d7f5adb976ebdf51
parent266e678a3c43b1a5019cc7e27e92483208522e5d
PCI: pcie portdriver: initialize returned value

The pcie protdrv status can be returned uninitialized,
if there are no children under a device. This leads to
bad responses downstream. Fix this.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/portdrv_pci.c