All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: kbuild-all@01.org, linux-pci@vger.kernel.org
Subject: [pci:pci/host-cleanups-wip 42/95] drivers/pci/host/pci-dra7xx.c:151:29: error: passing argument 1 of 'dra7xx_pcie_establish_link' from incompatible pointer type
Date: Wed, 5 Oct 2016 17:26:56 +0800	[thread overview]
Message-ID: <201610051754.IK9Mwmyf%fengguang.wu@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-cleanups-wip
head:   ee9b4e4188d1ca0e60edc96ed54acebe8ec19dc9
commit: dbcd9e3eefd5efbb4c711093d6dec641232fe63d [42/95] PCI: dra7xx: Pass device-specific struct to internal functions
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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
        git checkout dbcd9e3eefd5efbb4c711093d6dec641232fe63d
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/pci/host/pci-dra7xx.c: In function 'dra7xx_pcie_host_init':
>> drivers/pci/host/pci-dra7xx.c:151:29: error: passing argument 1 of 'dra7xx_pcie_establish_link' from incompatible pointer type [-Werror=incompatible-pointer-types]
     dra7xx_pcie_establish_link(pp);
                                ^~
   drivers/pci/host/pci-dra7xx.c:105:12: note: expected 'struct dra7xx_pcie *' but argument is of type 'struct pcie_port *'
    static int dra7xx_pcie_establish_link(struct dra7xx_pcie *dra7xx)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/dra7xx_pcie_establish_link +151 drivers/pci/host/pci-dra7xx.c

9cdce1cd Zhou Wang              2015-10-29  145  	pp->mem_base &= DRA7XX_CPU_TO_BUS_ADDR;
9cdce1cd Zhou Wang              2015-10-29  146  	pp->cfg0_base &= DRA7XX_CPU_TO_BUS_ADDR;
9cdce1cd Zhou Wang              2015-10-29  147  	pp->cfg1_base &= DRA7XX_CPU_TO_BUS_ADDR;
883cc17c Gabriele Paoloni       2015-10-29  148  
7e57fd14 Jisheng Zhang          2016-03-16  149  	dw_pcie_setup_rc(pp);
7e57fd14 Jisheng Zhang          2016-03-16  150  
47ff3de9 Kishon Vijay Abraham I 2014-07-22 @151  	dra7xx_pcie_establish_link(pp);
47ff3de9 Kishon Vijay Abraham I 2014-07-22  152  	if (IS_ENABLED(CONFIG_PCI_MSI))
47ff3de9 Kishon Vijay Abraham I 2014-07-22  153  		dw_pcie_msi_init(pp);
dbcd9e3e Bjorn Helgaas          2016-08-30  154  	dra7xx_pcie_enable_interrupts(dra7xx);

:::::: The code at line 151 was first introduced by commit
:::::: 47ff3de911a728cdf9ecc6ad777131902cff62b4 PCI: dra7xx: Add TI DRA7xx PCIe driver

:::::: TO: Kishon Vijay Abraham I <kishon@ti.com>
:::::: CC: Bjorn Helgaas <bhelgaas@google.com>

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

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

                 reply	other threads:[~2016-10-05  9:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201610051754.IK9Mwmyf%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=bhelgaas@google.com \
    --cc=kbuild-all@01.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.