Re: [PATCH v9 7/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

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

 



Hi Jake,

[auto build test ERROR on pci/next]
[also build test ERROR on v4.4-rc4 next-20151209]

url:    https://github.com/0day-ci/linux/commits/jakeo-microsoft-com/PCI-hv-New-paravirtual-PCI-front-end-for-Hyper-V-VMs/20151210-070027
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-randconfig-x006-12100835 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/pci/host/hv_pcifront.c: In function 'hv_compose_msi_msg':
>> drivers/pci/host/hv_pcifront.c:830:4: error: 'apic' undeclared (first use in this function)
      (apic->irq_delivery_mode == dest_LowestPrio) ? 1 : 0;
       ^
   drivers/pci/host/hv_pcifront.c:830:4: note: each undeclared identifier is reported only once for each function it appears in
   drivers/pci/host/hv_pcifront.c: In function 'hv_pci_allocate_bridge_windows':
   drivers/pci/host/hv_pcifront.c:1776:18: warning: unused variable 'length' [-Wunused-variable]
     resource_size_t length;
                     ^

vim +/apic +830 drivers/pci/host/hv_pcifront.c

   824		int_pkt = (struct pci_create_interrupt *)&ctxt.pkt.message;
   825		int_pkt->message_type.message_type = PCI_CREATE_INTERRUPT_MESSAGE;
   826		int_pkt->wslot.slot = hpdev->desc.win_slot.slot;
   827		int_pkt->int_desc.vector = cfg->vector;
   828		int_pkt->int_desc.vector_count = 1;
   829		int_pkt->int_desc.delivery_mode =
 > 830			(apic->irq_delivery_mode == dest_LowestPrio) ? 1 : 0;
   831	
   832		/*
   833		 * This bit doesn't have to work on machines with more than 64

---
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