]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit195e264a2289cf7bbadf26174918ef9bbe75cf96
treed8d22dbf6548a0eca78e90b8f124c2b8d5cf9bf3
parenta29044b70d69f9dc3f80c3f0d75d3ab4f8b3834d
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>
drivers/pci/hotplug/cpqphp_ctrl.c