PCI: cpqphp: Fix possible null pointer dereference

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>
This commit is contained in:
Rickard Strandqvist 2014-05-18 18:02:57 +02:00 • committed by Bjorn Helgaas
commit cab9a128da