Re: [GIT PULL] PCI changes for v4.7
From: kbuild test robot
Date: Sun May 22 2016 - 16:31:05 EST
Hi,
[auto build test ERROR on linus/master]
url: https://github.com/0day-ci/linux/commits/Bjorn-Helgaas/PCI-changes-for-v4-7/20160519-235212
config: x86_64-rhel (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
Note: the linux-review/Bjorn-Helgaas/PCI-changes-for-v4-7/20160519-235212 HEAD 1e5c1867a5d64bd92babd851c5656d0841652f23 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/iommu/amd_iommu.c: In function 'get_alias':
>> drivers/iommu/amd_iommu.c:266:3: error: implicit declaration of function 'pci_add_dma_alias' [-Werror=implicit-function-declaration]
pci_add_dma_alias(pdev, ivrs_alias & 0xff);
^
cc1: some warnings being treated as errors
vim +/pci_add_dma_alias +266 drivers/iommu/amd_iommu.c
260 /*
261 * If we don't have a PCI DMA alias and the IVRS alias is on the same
262 * bus, then the IVRS table may know about a quirk that we don't.
263 */
264 if (pci_alias == devid &&
265 PCI_BUS_NUM(ivrs_alias) == pdev->bus->number) {
> 266 pci_add_dma_alias(pdev, ivrs_alias & 0xff);
267 pr_info("AMD-Vi: Added PCI DMA alias %02x.%d for %s\n",
268 PCI_SLOT(ivrs_alias), PCI_FUNC(ivrs_alias),
269 dev_name(dev));
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data