PCI ASPM: fix possible null pointer dereference
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 19 Aug 2009 01:58:46 +0000 (10:58 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 9 Sep 2009 20:29:45 +0000 (13:29 -0700)
commitfc87e919c0ce8e213edf2ffca17f384f059873d3
tree0bd3d67b0320c486e9ec1c846569c3a72baf6bc7
parent8a339e7321f10dc2f28928ffadb69b6c7c2d5c3b
PCI ASPM: fix possible null pointer dereference

Fix possible NULL dereference in pcie_aspm_exit_link_state(). This
patch also cleanup some code.

Acked-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aspm.c