aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2016-10-17 10:39:32 +0000
committerBjorn Helgaas <[email protected]>2016-10-17 12:58:18 +0000
commit15480f3ab7a8b5333e170d7168ce8a1012cc735e (patch)
treefda0bde3ac2f21d1128a274893559823c41adfa8 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentPCI: designware-plat: Change maintainer to Jose Abreu (diff)
downloadkernel-15480f3ab7a8b5333e170d7168ce8a1012cc735e.tar.gz
kernel-15480f3ab7a8b5333e170d7168ce8a1012cc735e.zip
PCI: layerscape: Fix drvdata usage before assignment
Commit fefe6733e516 ("PCI: layerscape: Move struct pcie_port setup to probe function") changed the init ordering of the pcie structure, but started to use the pcie->drvdata field before initializing it. Mayhem follows. Fix this by moving the drvdata assignment right before the first use. Tested on LS2085a. Fixes: efe6733e516 ("PCI: layerscape: Move struct pcie_port setup to probe function") Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions