Re: [PATCH] usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi yuan,

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.10]
[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/yuan-linyu/usb-add-CONFIG_USB_PCI-for-system-have-both-PCI-HW-and-non-PCI-based-USB-HW/20170215-203820
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: i386-randconfig-c0-02240849 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> drivers/usb/host/pci-quirks.c:156:6: error: redefinition of 'sb800_prefetch'
    void sb800_prefetch(struct device *dev, int on)
         ^
   In file included from drivers/usb/host/pci-quirks.c:18:0:
   drivers/usb/host/pci-quirks.h:23:20: note: previous definition of 'sb800_prefetch' was here
    static inline void sb800_prefetch(struct device *dev, int on) {}
                       ^
>> drivers/usb/host/pci-quirks.c:409:6: error: redefinition of 'usb_amd_quirk_pll_disable'
    void usb_amd_quirk_pll_disable(void)
         ^
   In file included from drivers/usb/host/pci-quirks.c:18:0:
   drivers/usb/host/pci-quirks.h:19:20: note: previous definition of 'usb_amd_quirk_pll_disable' was here
    static inline void usb_amd_quirk_pll_disable(void) {}
                       ^
>> drivers/usb/host/pci-quirks.c:415:6: error: redefinition of 'usb_amd_quirk_pll_enable'
    void usb_amd_quirk_pll_enable(void)
         ^
   In file included from drivers/usb/host/pci-quirks.c:18:0:
   drivers/usb/host/pci-quirks.h:20:20: note: previous definition of 'usb_amd_quirk_pll_enable' was here
    static inline void usb_amd_quirk_pll_enable(void) {}
                       ^
>> drivers/usb/host/pci-quirks.c:421:6: error: redefinition of 'usb_amd_dev_put'
    void usb_amd_dev_put(void)
         ^
   In file included from drivers/usb/host/pci-quirks.c:18:0:
   drivers/usb/host/pci-quirks.h:21:20: note: previous definition of 'usb_amd_dev_put' was here
    static inline void usb_amd_dev_put(void) {}
                       ^
>> drivers/usb/host/pci-quirks.c:951:6: error: redefinition of 'usb_disable_xhci_ports'
    void usb_disable_xhci_ports(struct pci_dev *xhci_pdev)
         ^
   In file included from drivers/usb/host/pci-quirks.c:18:0:
   drivers/usb/host/pci-quirks.h:22:20: note: previous definition of 'usb_disable_xhci_ports' was here
    static inline void usb_disable_xhci_ports(struct pci_dev *xhci_pdev) {}
                       ^

vim +/sb800_prefetch +156 drivers/usb/host/pci-quirks.c

22b4f0cd Huang Rui        2013-09-16  150  	}
22b4f0cd Huang Rui        2013-09-16  151  
22b4f0cd Huang Rui        2013-09-16  152  	pinfo->sb_type.rev = rev;
22b4f0cd Huang Rui        2013-09-16  153  	return 1;
22b4f0cd Huang Rui        2013-09-16  154  }
22b4f0cd Huang Rui        2013-09-16  155  
2621d011 Manjunath Goudar 2013-05-28 @156  void sb800_prefetch(struct device *dev, int on)
2621d011 Manjunath Goudar 2013-05-28  157  {
2621d011 Manjunath Goudar 2013-05-28  158  	u16 misc;
2621d011 Manjunath Goudar 2013-05-28  159  	struct pci_dev *pdev = to_pci_dev(dev);

:::::: The code at line 156 was first introduced by commit
:::::: 2621d0119e574f12496c4ab731265d5777cb6a18 USB: OHCI: Generic changes to make ohci-pci a separate driver

:::::: TO: Manjunath Goudar <manjunath.goudar@xxxxxxxxxx>
:::::: 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: application/gzip


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux