[U-Boot] [PATCH] driver: net: ldpaa: Update priv->phydev after free()
Joe Hershberger
joe.hershberger at gmail.com
Fri Aug 11 18:43:16 UTC 2017
On Wed, Feb 15, 2017 at 9:14 AM, Ashish Kumar <Ashish.Kumar at nxp.com> wrote:
> From: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
>
> Even after memory free of phydev, priv is still pointing to the
> obsolete address.
> So update priv->phydev as NULL after memory free.
>
> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
Acked-by: Joe Hershberger <joe.hershberger at ni.com>
More information about the U-Boot
mailing list