Re: [PATCH 1/3] stmmac: pci: Overcome stmmac_pci_info structure

2017-05-23 Thread kbuild test robot
Hi Jan, [auto build test ERROR on net-next/master] [also build test ERROR on v4.12-rc2 next-20170523] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jan-Kiszka/stmmac-pci-Refactor-DMI-probing/20

Re: [PATCH 1/3] stmmac: pci: Overcome stmmac_pci_info structure

2017-05-22 Thread Andy Shevchenko
On Mon, May 22, 2017 at 2:12 PM, Jan Kiszka wrote: > First, pass the PCI device reference as function parameter. Then the > setup function knows which stmmac_pci_dmi_data structure to use. > Finally, we are left with a setup function in stmmac_pci_info and can > convert the structure into a functi

[PATCH 1/3] stmmac: pci: Overcome stmmac_pci_info structure

2017-05-22 Thread Jan Kiszka
First, pass the PCI device reference as function parameter. Then the setup function knows which stmmac_pci_dmi_data structure to use. Finally, we are left with a setup function in stmmac_pci_info and can convert the structure into a function pointer. By converting stmmac_default_data to that type,