summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fsl-mc/include/mc-private.h
diff options
context:
space:
mode:
authorJ. German Rivera <German.Rivera@freescale.com>2015-03-27 16:01:07 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-03 13:55:03 +0200
commit2bdc55d94fef59296f9f1aeda2a503d4c64cad86 (patch)
treed1aa153da79e6820cd90f4c50a7abc0a153d3895 /drivers/staging/fsl-mc/include/mc-private.h
parent1663e80982eef51892576cb2e3d4978af787ca4d (diff)
downloadop-kernel-dev-2bdc55d94fef59296f9f1aeda2a503d4c64cad86.zip
op-kernel-dev-2bdc55d94fef59296f9f1aeda2a503d4c64cad86.tar.gz
staging: fsl-mc: Fix crash in fsl_mc_device_remove()
Only call fsl_mc_io_destroy() if the DPRC being removed actually had an mc_io object associated with. Child DPRCs that have not been bound to the DPRC driver or the VFIO driver will not have an mc_io associated with them. Signed-off-by: J. German Rivera <German.Rivera@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-mc/include/mc-private.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud