net: phy: Reloc next and prev pointers inside phy_drivers
authorSiva Durga Prasad Paladugu <[email protected]>
Mon, 4 Mar 2019 15:01:30 +0000 (16:01 +0100)
committerJoe Hershberger <[email protected]>
Wed, 8 May 2019 22:27:00 +0000 (17:27 -0500)
commitc689c4867286888099c21e02d2494f047060d06f
treec0486ed13f69edeaa26567dbec8ed95123cf38c5
parent89bf9f1162d7420e8b41ad729608add8f0cdc83b
net: phy: Reloc next and prev pointers inside phy_drivers

This patch relocates the pointers inside phy_drivers incase
of manual reloc. Without this reloc, these points to invalid
pre relocation address and hence causes exception or hang.

Signed-off-by: Siva Durga Prasad Paladugu <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
drivers/net/phy/phy.c