Re: [PATCH] pci: hotplug: cpqphp_ctrl.c: Fix for possible null pointer dereference

2014-05-27 Thread Bjorn Helgaas
On Sun, May 18, 2014 at 06:02:57PM +0200, Rickard Strandqvist wrote: > There is otherwise a risk of a possible null pointer dereference. > > Was largely found by using a static code analysis program called cppcheck. > > Signed-off-by: Rickard Strandqvist Applied to pci/hotplug for v3.16, thanks

[PATCH] pci: hotplug: cpqphp_ctrl.c: Fix for possible null pointer dereference

2014-05-18 Thread Rickard Strandqvist
There is otherwise a risk of a possible null pointer dereference. Was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/pci/hotplug/cpqphp_ctrl.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/