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 staging: fsl-mc: Move DPCON out of staging 2018-03-14 13:18:42 +01:00
dpbp.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpcon.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpmcp.c bus: fsl-mc: change mc_command in fsl_mc_command 2018-03-23 15:52:48 +01:00
dprc-driver.c
dprc.c bus: mc-bus: Add support for mapping shareable portals 2019-05-20 14:28:16 -05:00
fsl-mc-allocator.c bus: fsl-mc: remove explicit device_link_del 2019-08-16 14:17:35 -05:00
fsl-mc-bus.c bus: mc-bus: Add support for mapping shareable portals 2019-05-20 14:28:16 -05:00
fsl-mc-msi.c genirq/msi: Limit level-triggered MSI to platform devices 2018-05-13 15:58:59 +02:00
fsl-mc-private.h bus: mc-bus: Add support for mapping shareable portals 2019-05-20 14:28:16 -05:00
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 bus: fsl-mc: change mc_command in fsl_mc_command 2018-03-23 15:52:48 +01:00