[PATCH 6.9 126/163] powerpc/eeh: avoid possible crash when edev->pdev changes