* [pci:pci/host-request-windows 8/22] drivers/pci/host/pcie-iproc.c:465:39: error: passing argument 1 of 'devm_request_pci_bus_resources' from incompatible pointer type
@ 2016-05-31 19:28 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-05-31 19:28 UTC (permalink / raw)
Cc: kbuild-all, linux-pci, Bjorn Helgaas
[-- Attachment #1: Type: text/plain, Size: 2489 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-request-windows
head: 001fdc8c3dd699197ede3f80776e40ad26d6ea20
commit: 1481d1cdd1a6fe0119b06c070748929966881e5d [8/22] PCI: iproc: Request host bridge window resources
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
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 1481d1cdd1a6fe0119b06c070748929966881e5d
# save the attached .config to linux build tree
make.cross ARCH=arm64
Note: the pci/pci/host-request-windows HEAD 001fdc8c3dd699197ede3f80776e40ad26d6ea20 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/pci/host/pcie-iproc.c: In function 'iproc_pcie_setup':
>> drivers/pci/host/pcie-iproc.c:465:39: error: passing argument 1 of 'devm_request_pci_bus_resources' from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = devm_request_pci_bus_resources(&pcie->dev, &res);
^
In file included from drivers/pci/host/pcie-iproc.c:16:0:
include/linux/pci.h:1150:5: note: expected 'struct device *' but argument is of type 'struct device **'
int devm_request_pci_bus_resources(struct device *dev,
^
drivers/pci/host/pcie-iproc.c:465:51: error: passing argument 2 of 'devm_request_pci_bus_resources' from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = devm_request_pci_bus_resources(&pcie->dev, &res);
^
In file included from drivers/pci/host/pcie-iproc.c:16:0:
include/linux/pci.h:1150:5: note: expected 'struct list_head *' but argument is of type 'struct list_head **'
int devm_request_pci_bus_resources(struct device *dev,
^
cc1: some warnings being treated as errors
vim +/devm_request_pci_bus_resources +465 drivers/pci/host/pcie-iproc.c
459 void *sysdata;
460 struct pci_bus *bus;
461
462 if (!pcie || !pcie->dev || !pcie->base)
463 return -EINVAL;
464
> 465 ret = devm_request_pci_bus_resources(&pcie->dev, &res);
466 if (ret)
467 return ret;
468
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 25966 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-31 19:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31 19:28 [pci:pci/host-request-windows 8/22] drivers/pci/host/pcie-iproc.c:465:39: error: passing argument 1 of 'devm_request_pci_bus_resources' from incompatible pointer type kbuild test robot
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.