kernel/arch/powerpc/platforms/powernv/pci-sriov.c
.. .. @@ -600,12 +600,12 @@ 600 600 struct pnv_iov_data *iov; 601 601 602 602 iov = pnv_iov_get(pdev); 603 - num_vfs = iov->num_vfs;604 - base_pe = iov->vf_pe_arr[0].pe_number;605 -606 603 if (WARN_ON(!iov)) 607 604 return; 608 605 606 + num_vfs = iov->num_vfs;607 + base_pe = iov->vf_pe_arr[0].pe_number;608 +609 609 /* Release VF PEs */ 610 610 pnv_ioda_release_vf_PE(pdev); 611 611