1
0
Fork 0
alistair23-linux/drivers/bus/fsl-mc
Diana Craciun 37464a8a7f bus/fsl_mc: Do not rely on caller to provide non NULL mc_io
[ Upstream commit 5026cf6051 ]

Before destroying the mc_io, check first that it was
allocated.

Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Link: https://lore.kernel.org/r/20200929085441.17448-11-diana.craciun@oss.nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-05 11:43:19 +01:00
..
Kconfig
Makefile
dpbp.c
dpcon.c
dpmcp.c
dprc-driver.c
dprc.c
fsl-mc-allocator.c
fsl-mc-bus.c
fsl-mc-msi.c
fsl-mc-private.h
mc-io.c bus/fsl_mc: Do not rely on caller to provide non NULL mc_io 2020-11-05 11:43:19 +01:00
mc-sys.c