aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/mediatek
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-02-04 17:10:05 +0300
committerLi Yang <leoyang.li@nxp.com>2019-02-04 14:58:49 -0600
commitc1959066ac02bd123201352ff5a8c506469a1645 (patch)
tree7c0fb14ecf94c4c233878effcaea1aaf6b280a62 /drivers/soc/mediatek
parentsoc: fsl: guts: reuse machine name from device tree (diff)
downloadlinux-dev-c1959066ac02bd123201352ff5a8c506469a1645.tar.xz
linux-dev-c1959066ac02bd123201352ff5a8c506469a1645.zip
soc: fsl: dpio: Use after free in dpaa2_dpio_remove()
The dpaa2_io_down(priv->io) call frees "priv->io" so I've shifted the code around a little bit to avoid the use after free. Fixes: 991e873223e9 ("soc: fsl: dpio: use a cpumask to identify which cpus are unused") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc/mediatek')
0 files changed, 0 insertions, 0 deletions