public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/pci/controller/pci-ftpci100.c:37: warning: "PCI_IOSIZE" redefined
@ 2020-08-31 21:07 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-08-31 21:07 UTC (permalink / raw)
  To: Jiaxun Yang; +Cc: kbuild-all, linux-kernel, Thomas Bogendoerfer

[-- Attachment #1: Type: text/plain, Size: 3480 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f75aef392f869018f78cfedf3c320a6b3fcfda6b
commit: 482cd90cd781c9b5607ed9c9f8641dc95a9d4cce MIPS: Loongson64: Define PCI_IOBASE
date:   3 months ago
config: mips-randconfig-p002-20200831 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 482cd90cd781c9b5607ed9c9f8641dc95a9d4cce
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/pci/controller/pci-ftpci100.c:37: warning: "PCI_IOSIZE" redefined
      37 | #define PCI_IOSIZE 0x00
         | 
   In file included from arch/mips/include/asm/addrspace.h:13,
                    from arch/mips/include/asm/barrier.h:11,
                    from include/linux/compiler.h:256,
                    from include/linux/init.h:5,
                    from drivers/pci/controller/pci-ftpci100.c:14:
   arch/mips/include/asm/mach-loongson64/spaces.h:11: note: this is the location of the previous definition
      11 | #define PCI_IOSIZE SZ_16M
         | 

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=482cd90cd781c9b5607ed9c9f8641dc95a9d4cce
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 482cd90cd781c9b5607ed9c9f8641dc95a9d4cce
vim +/PCI_IOSIZE +37 drivers/pci/controller/pci-ftpci100.c

9e2aee80c78d50 drivers/pci/host/pci-ftpci100.c Rob Herring   2018-05-11  32  
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  33  /*
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  34   * Special configuration registers directly in the first few words
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  35   * in I/O space.
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  36   */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12 @37  #define PCI_IOSIZE	0x00
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  38  #define PCI_PROT	0x04 /* AHB protection */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  39  #define PCI_CTRL	0x08 /* PCI control signal */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  40  #define PCI_SOFTRST	0x10 /* Soft reset counter and response error enable */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  41  #define PCI_CONFIG	0x28 /* PCI configuration command register */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  42  #define PCI_DATA	0x2C
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  43  

:::::: The code at line 37 was first introduced by commit
:::::: d3c68e0a7e34af2b86f5408c4d6e794a38bbd9e1 PCI: faraday: Add Faraday Technology FTPCI100 PCI Host Bridge driver

:::::: TO: Linus Walleij <linus.walleij@linaro.org>
:::::: CC: Bjorn Helgaas <bhelgaas@google.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 41873 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/pci/controller/pci-ftpci100.c:37: warning: "PCI_IOSIZE" redefined
@ 2021-05-12 12:09 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-12 12:09 UTC (permalink / raw)
  To: Jiaxun Yang; +Cc: kbuild-all, linux-kernel, Thomas Bogendoerfer

[-- Attachment #1: Type: text/plain, Size: 3507 bytes --]

Hi Jiaxun,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   88b06399c9c766c283e070b022b5ceafa4f63f19
commit: 482cd90cd781c9b5607ed9c9f8641dc95a9d4cce MIPS: Loongson64: Define PCI_IOBASE
date:   12 months ago
config: mips-randconfig-r013-20210512 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=482cd90cd781c9b5607ed9c9f8641dc95a9d4cce
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 482cd90cd781c9b5607ed9c9f8641dc95a9d4cce
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/pci/controller/pci-ftpci100.c:37: warning: "PCI_IOSIZE" redefined
      37 | #define PCI_IOSIZE 0x00
         | 
   In file included from arch/mips/include/asm/addrspace.h:13,
                    from arch/mips/include/asm/barrier.h:11,
                    from include/linux/compiler.h:256,
                    from include/linux/init.h:5,
                    from drivers/pci/controller/pci-ftpci100.c:14:
   arch/mips/include/asm/mach-loongson64/spaces.h:11: note: this is the location of the previous definition
      11 | #define PCI_IOSIZE SZ_16M
         | 


vim +/PCI_IOSIZE +37 drivers/pci/controller/pci-ftpci100.c

9e2aee80c78d50 drivers/pci/host/pci-ftpci100.c Rob Herring   2018-05-11  32  
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  33  /*
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  34   * Special configuration registers directly in the first few words
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  35   * in I/O space.
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  36   */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12 @37  #define PCI_IOSIZE	0x00
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  38  #define PCI_PROT	0x04 /* AHB protection */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  39  #define PCI_CTRL	0x08 /* PCI control signal */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  40  #define PCI_SOFTRST	0x10 /* Soft reset counter and response error enable */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  41  #define PCI_CONFIG	0x28 /* PCI configuration command register */
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  42  #define PCI_DATA	0x2C
d3c68e0a7e34af drivers/pci/host/pci-ftpci100.c Linus Walleij 2017-03-12  43  

:::::: The code at line 37 was first introduced by commit
:::::: d3c68e0a7e34af2b86f5408c4d6e794a38bbd9e1 PCI: faraday: Add Faraday Technology FTPCI100 PCI Host Bridge driver

:::::: TO: Linus Walleij <linus.walleij@linaro.org>
:::::: CC: Bjorn Helgaas <bhelgaas@google.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32755 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-12 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-12 12:09 drivers/pci/controller/pci-ftpci100.c:37: warning: "PCI_IOSIZE" redefined kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-08-31 21:07 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox