]> git.baikalelectronics.ru Git - uboot.git/commit
net: phy: Reloc next and prev pointers inside phy_drivers
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 4 Mar 2019 15:01:30 +0000 (16:01 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 8 May 2019 22:27:00 +0000 (17:27 -0500)
commit76fe9d9f241c1c5d48a96d4c237b374ca6a5fd8c
treec0486ed13f69edeaa26567dbec8ed95123cf38c5
parent71b4164c33235df08fc488ef7e311fd65a97209b
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 <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/phy.c