Re: [pci:pci/misc 2/2] drivers/infiniband//hw/hfi1/pcie.c:263:7: error: 'PCI_EXP_LNKSTA_CLS_8_0GT' undeclared; did you mean 'PCI_EXP_LNKSTA_CLS_8_0GB'?

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

 



On Sat, Apr 28, 2018 at 02:14:26AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/misc
> head:   68e3ce09cb93f1a470b19816fa254b69480f246a
> commit: 68e3ce09cb93f1a470b19816fa254b69480f246a [2/2] IB/hfi1: Replace custom hfi1 macros with PCIe macros
> config: x86_64-randconfig-x001-201816 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
> reproduce:
>         git checkout 68e3ce09cb93f1a470b19816fa254b69480f246a
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/infiniband//hw/hfi1/pcie.c: In function 'extract_speed':
> >> drivers/infiniband//hw/hfi1/pcie.c:263:7: error: 'PCI_EXP_LNKSTA_CLS_8_0GT' undeclared (first use in this function); did you mean 'PCI_EXP_LNKSTA_CLS_8_0GB'?
>      case PCI_EXP_LNKSTA_CLS_8_0GT:
>           ^~~~~~~~~~~~~~~~~~~~~~~~
>           PCI_EXP_LNKSTA_CLS_8_0GB
>    drivers/infiniband//hw/hfi1/pcie.c:263:7: note: each undeclared identifier is reported only once for each function it appears in
>    drivers/infiniband//hw/hfi1/pcie.c: In function 'pcie_speeds':
> >> drivers/infiniband//hw/hfi1/pcie.c:318:40: error: 'PCI_EXP_LNKCAP_SLS_8_0GT' undeclared (first use in this function); did you mean 'PCI_EXP_LNKCAP_SLS_8_0GB'?
>      if ((linkcap & PCI_EXP_LNKCAP_SLS) != PCI_EXP_LNKCAP_SLS_8_0GT) {
>                                            ^~~~~~~~~~~~~~~~~~~~~~~~
>                                            PCI_EXP_LNKCAP_SLS_8_0GB

Sorry, my fault.  I fixed and even compiled it this time.



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux