staging: fsl-mc: Fixed WARN_ON() in fsl_mc_resource_pool_remove_device
authorJ. German Rivera <German.Rivera@freescale.com>
Sat, 17 Oct 2015 16:18:22 +0000 (11:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 03:53:38 +0000 (20:53 -0700)
commit2379bdbc6c37ad9db6538dbe8f56f18968b566ad
tree9d620de774ad9f3ae1255a70aa9f8efb08d448e9
parent09a38ab0b1a67e85b11d363dedc1f5de3d0e17e8
staging: fsl-mc: Fixed WARN_ON() in fsl_mc_resource_pool_remove_device

Check that resource is not NULL before de-referencing it.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-allocator.c
This page took 0.026418 seconds and 5 git commands to generate.