summaryrefslogtreecommitdiffstats
path: root/drivers/pci/slot.c
diff options
context:
space:
mode:
authorYu Zhao <yu.zhao@intel.com>2009-06-26 14:04:46 +0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-29 12:13:13 -0700
commit654b75e044119bf8e7d773bce41ea039281bbfbe (patch)
tree5c749390a41cbbd59617d5dd1cee5160392b5feb /drivers/pci/slot.c
parent977badb2f385db14d8ba3fcf02fbd7ead8e63d0f (diff)
downloadlinux-654b75e044119bf8e7d773bce41ea039281bbfbe.tar.gz
linux-654b75e044119bf8e7d773bce41ea039281bbfbe.tar.bz2
linux-654b75e044119bf8e7d773bce41ea039281bbfbe.zip
PCI: check if bus has a proper bridge device before triggering SBR
For devices attached to the root bus, we can't trigger Secondary Bus Reset because there is no bridge device associated with the bus. So need to check bus->self again NULL first before using it. Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Yu Zhao <yu.zhao@intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/slot.c')
0 files changed, 0 insertions, 0 deletions