PCI: cpqphp: Fix possible null pointer dereference
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 18 May 2014 16:02:57 +0000 (18:02 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 May 2014 02:51:14 +0000 (20:51 -0600)
There is otherwise a risk of a null pointer dereference.

Found by cppcheck, a static code analysis program.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/cpqphp_ctrl.c

Simple merge