]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: phy: Reloc next and prev pointers inside phy_drivers
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 26 Feb 2019 11:47:00 +0000 (17:17 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Feb 2019 07:53:11 +0000 (08:53 +0100)
commit260ac1c66dd77b45dde22565ed4ab5ad180a1a03
tree9accad57a6fabfe823a8da3404fba6e4c2670f74
parente168f3d2311fbc55da2e58c5b02fc8d8ba48ab8f
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>
drivers/net/phy/phy.c