Re: [PATCH 1/2] PCI: spear: Move LTSSM state definitions to pcie-designware.h

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

 



Hi Fabio,

[auto build test results on next-20151002 -- if it's inappropriate base, please ignore]

config: arm-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

>> drivers/pci/host/pci-keystone-dw.c:28:0: warning: "LTSSM_STATE_MASK" redefined
    #define LTSSM_STATE_MASK  0x1f
    ^
   In file included from drivers/pci/host/pci-keystone-dw.c:23:0:
   drivers/pci/host/pcie-designware.h:57:0: note: this is the location of the previous definition
    #define LTSSM_STATE_MASK  0x3F
    ^
--
>> drivers/pci/host/pci-layerscape.c:32:0: warning: "LTSSM_STATE_MASK" redefined
    #define LTSSM_STATE_MASK 0x3f
    ^
   In file included from drivers/pci/host/pci-layerscape.c:27:0:
   drivers/pci/host/pcie-designware.h:57:0: note: this is the location of the previous definition
    #define LTSSM_STATE_MASK  0x3F
    ^

vim +/LTSSM_STATE_MASK +28 drivers/pci/host/pci-keystone-dw.c

0c4ffcfe Murali Karicheri 2014-09-02  12   * published by the Free Software Foundation.
0c4ffcfe Murali Karicheri 2014-09-02  13   */
0c4ffcfe Murali Karicheri 2014-09-02  14  
0c4ffcfe Murali Karicheri 2014-09-02  15  #include <linux/irq.h>
0c4ffcfe Murali Karicheri 2014-09-02  16  #include <linux/irqdomain.h>
0c4ffcfe Murali Karicheri 2014-09-02  17  #include <linux/module.h>
0c4ffcfe Murali Karicheri 2014-09-02  18  #include <linux/of.h>
0c4ffcfe Murali Karicheri 2014-09-02  19  #include <linux/of_pci.h>
0c4ffcfe Murali Karicheri 2014-09-02  20  #include <linux/pci.h>
0c4ffcfe Murali Karicheri 2014-09-02  21  #include <linux/platform_device.h>
0c4ffcfe Murali Karicheri 2014-09-02  22  
0c4ffcfe Murali Karicheri 2014-09-02  23  #include "pcie-designware.h"
0c4ffcfe Murali Karicheri 2014-09-02  24  #include "pci-keystone.h"
0c4ffcfe Murali Karicheri 2014-09-02  25  
0c4ffcfe Murali Karicheri 2014-09-02  26  /* Application register defines */
0c4ffcfe Murali Karicheri 2014-09-02  27  #define LTSSM_EN_VAL		        1
0c4ffcfe Murali Karicheri 2014-09-02 @28  #define LTSSM_STATE_MASK		0x1f
0c4ffcfe Murali Karicheri 2014-09-02  29  #define LTSSM_STATE_L0			0x11
0c4ffcfe Murali Karicheri 2014-09-02  30  #define DBI_CS2_EN_VAL			0x20
0c4ffcfe Murali Karicheri 2014-09-02  31  #define OB_XLAT_EN_VAL		        2
0c4ffcfe Murali Karicheri 2014-09-02  32  
0c4ffcfe Murali Karicheri 2014-09-02  33  /* Application registers */
0c4ffcfe Murali Karicheri 2014-09-02  34  #define CMD_STATUS			0x004
0c4ffcfe Murali Karicheri 2014-09-02  35  #define CFG_SETUP			0x008
0c4ffcfe Murali Karicheri 2014-09-02  36  #define OB_SIZE				0x030

:::::: The code at line 28 was first introduced by commit
:::::: 0c4ffcfe1fbc1ef564ec137eab21137cb013b00e PCI: keystone: Add TI Keystone PCIe driver

:::::: TO: Murali Karicheri <m-karicheri2@xxxxxx>
:::::: CC: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[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