Re: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

From: kbuild test robot
Date: Wed Nov 02 2016 - 04:54:11 EST

Hi Arnd,

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.9-rc3 next-20161028]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check for more information]

base: usb-testing
config: powerpc-mpc8313_rdb_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

drivers/usb/host/ehci-fsl.c: In function 'fsl_ehci_drv_probe':
>> drivers/usb/host/ehci-fsl.c:99:56: error: invalid type argument of '->' (have 'struct device')
hcd = __usb_create_hcd(&fsl_ehci_hc_driver, &pdev->dev->parent,

vim +99 drivers/usb/host/ehci-fsl.c

93 "Found HC with no IRQ. Check %s setup!\n",
94 dev_name(&pdev->dev));
95 return -ENODEV;
96 }
97 irq = res->start;
> 99 hcd = __usb_create_hcd(&fsl_ehci_hc_driver, &pdev->dev->parent,
100 &pdev->dev, dev_name(&pdev->dev), NULL);
101 if (!hcd) {
102 retval = -ENOMEM;

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip