[PATCH] powerpc/kernel: Change retrieval of pci_dn

Michael Ellerman mpe at ellerman.id.au
Tue Aug 29 16:33:17 AEST 2017


"Bryant G. Ly" <bryantly at linux.vnet.ibm.com> writes:

> For a PCI device it's pci_dn can be retrieved from
> pdev->dev.archdata.firmware_data, PCI_DN(devnode), or parent's list.
> Thus, we should just use the generic function pci_get_pdn_by_devfn
> to get the pci_dn.
>
> Signed-off-by: Bryant G. Ly <bgly at us.ibm.com>

Minor issue, it's preferable if the email in your Signed-off-by matches
the email you send patches from.

cheers


More information about the Linuxppc-dev mailing list