Hi, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.6-rc4 next-20160421] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Felipe-Balbi/usb-host-xhci-rcar-retire-use-of-xhci_plat_type_is/20160422-154613 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing config: i386-randconfig-x002-201616 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/usb/host/xhci-plat.c: In function 'xhci_plat_quirks': >> drivers/usb/host/xhci-plat.c:76:6: error: implicit declaration of function 'xhci_plat_type_is' [-Werror=implicit-function-declaration] if (xhci_plat_type_is(hcd, XHCI_PLAT_TYPE_RENESAS_RCAR_GEN2) || ^ >> drivers/usb/host/xhci-plat.c:76:29: error: 'XHCI_PLAT_TYPE_RENESAS_RCAR_GEN2' undeclared (first use in this function) if (xhci_plat_type_is(hcd, XHCI_PLAT_TYPE_RENESAS_RCAR_GEN2) || ^ drivers/usb/host/xhci-plat.c:76:29: note: each undeclared identifier is reported only once for each function it appears in >> drivers/usb/host/xhci-plat.c:77:29: error: 'XHCI_PLAT_TYPE_RENESAS_RCAR_GEN3' undeclared (first use in this function) xhci_plat_type_is(hcd, XHCI_PLAT_TYPE_RENESAS_RCAR_GEN3)) ^ cc1: some warnings being treated as errors vim +/xhci_plat_type_is +76 drivers/usb/host/xhci-plat.c 5ad3b03e Yoshihiro Shimoda 2016-04-08 70 * On R-Car Gen2 and Gen3, the AC64 bit (bit 0) of HCCPARAMS1 is set 5ad3b03e Yoshihiro Shimoda 2016-04-08 71 * to 1. However, these SoCs don't support 64-bit address memory 5ad3b03e Yoshihiro Shimoda 2016-04-08 72 * pointers. So, this driver clears the AC64 bit of xhci->hcc_params 5ad3b03e Yoshihiro Shimoda 2016-04-08 73 * to call dma_set_coherent_mask(dev, DMA_BIT_MASK(32)) in 5ad3b03e Yoshihiro Shimoda 2016-04-08 74 * xhci_gen_setup(). 5ad3b03e Yoshihiro Shimoda 2016-04-08 75 */ 5ad3b03e Yoshihiro Shimoda 2016-04-08 @76 if (xhci_plat_type_is(hcd, XHCI_PLAT_TYPE_RENESAS_RCAR_GEN2) || 5ad3b03e Yoshihiro Shimoda 2016-04-08 @77 xhci_plat_type_is(hcd, XHCI_PLAT_TYPE_RENESAS_RCAR_GEN3)) 5ad3b03e Yoshihiro Shimoda 2016-04-08 78 xhci->quirks |= XHCI_NO_64BIT_SUPPORT; 3429e91a Sebastian Andrzej Siewior 2012-03-13 79 } 3429e91a Sebastian Andrzej Siewior 2012-03-13 80 :::::: The code at line 76 was first introduced by commit :::::: 5ad3b03e4910f9f62342956ecdc758c7af6b8699 usb: host: xhci-plat: fix cannot work if R-Car Gen2/3 run on above 4GB phys :::::: TO: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data