[<prev] [next>] [day] [month] [year] [list]
Message-ID: <50e4146c.nNwOXMC7T76cA/Xb%fengguang.wu@intel.com>
Date: Wed, 02 Jan 2013 19:05:16 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Ariel Elior <ariele@...adcom.com>
Cc: netdev@...r.kernel.org, Eilon Greenstein <eilong@...adcom.com>
Subject: [net-next:master 25/51]
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:512:15: error:
'PCI_IOV_RESOURCES' undeclared
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: dc8ba109064b1473293402921169dc96aff7e691
commit: b56e9670ffa4de1a3cf0ca2f89ff5e2e0c31a1f7 [25/51] bnx2x: Prepare device and initialize VF database
config: x86_64-randconfig-x879 (attached as .config)
All error/warnings:
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c: In function 'bnx2x_vf_set_bars':
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:512:15: error: 'PCI_IOV_RESOURCES' undeclared (first use in this function)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:512:15: note: each undeclared identifier is reported only once for each function it appears in
vim +/PCI_IOV_RESOURCES +512 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
b56e9670 Ariel Elior 2013-01-01 506 {
b56e9670 Ariel Elior 2013-01-01 507 int i, n;
b56e9670 Ariel Elior 2013-01-01 508 struct pci_dev *dev = bp->pdev;
b56e9670 Ariel Elior 2013-01-01 509 struct bnx2x_sriov *iov = &bp->vfdb->sriov;
b56e9670 Ariel Elior 2013-01-01 510
b56e9670 Ariel Elior 2013-01-01 511 for (i = 0, n = 0; i < PCI_SRIOV_NUM_BARS; i += 2, n++) {
b56e9670 Ariel Elior 2013-01-01 @512 u64 start = pci_resource_start(dev, PCI_IOV_RESOURCES + i);
b56e9670 Ariel Elior 2013-01-01 513 u32 size = pci_resource_len(dev, PCI_IOV_RESOURCES + i);
b56e9670 Ariel Elior 2013-01-01 514
b56e9670 Ariel Elior 2013-01-01 515 do_div(size, iov->total);
---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation
View attachment ".config" of type "text/plain" (75428 bytes)
Powered by blists - more mailing lists