diff options
author | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-02-15 15:26:03 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2017-08-14 17:47:33 (GMT) |
commit | a5fe87e829487cb5589afba3b5d8c3adff3b077d (patch) | |
tree | b435c59517aaea2fd10c2e84ac9d63debd560cb3 /include | |
parent | d2c319792210c2db518235eb8e90979a311bbf73 (diff) | |
download | u-boot-a5fe87e829487cb5589afba3b5d8c3adff3b077d.tar.xz |
driver: net: ldpaa: Update priv->phydev after free()
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@nxp.com>
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions