diff options
author | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2016-08-21 19:31:32 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-08-23 04:12:21 (GMT) |
commit | 429404572a29e2fac36749ed957cd76ce5eddc70 (patch) | |
tree | bb423c94e91eefbcdbadfa658eb8a24ac07de6fc /arch/arm/cpu/armv8/fsl-layerscape/Kconfig | |
parent | 999341d873c5a7f051eed8d83d14e8b5ee662d0b (diff) | |
download | u-boot-429404572a29e2fac36749ed957cd76ce5eddc70.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>
Diffstat (limited to 'arch/arm/cpu/armv8/fsl-layerscape/Kconfig')
0 files changed, 0 insertions, 0 deletions