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
---
drivers/soc/fsl/dpio/dpio-driver.c | 2 +-
1 file
On Mon, Feb 4, 2019 at 8:12 AM Dan Carpenter wrote:
>
> 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