]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitbf164410d08dc83df416e3a6a43ab29bf88890ed
tree607458e331bec426b2896319d7f5adb976ebdf51
parenta531a141089714efe39eca89593524fdf05104f2
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