Hi Daniel,

[auto build test ERROR on pci/next]
[also build test ERROR on v4.14-rc2]
[cannot apply to tip/x86/core next-20170926]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Daniel-Drake/PCI-MSI-allow-alignment-restrictions-on-vector-allocation/20170927-035611
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: i386-randconfig-x000-201739 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/kernel/apic/vector.c: In function 'assign_irq_vector_policy':
>> arch/x86/kernel/apic/vector.c:266:25: error: 'struct irq_alloc_info' has no 
>> member named 'allowed_vectors'
      allowed_vectors = info->allowed_vectors;
                            ^~

vim +266 arch/x86/kernel/apic/vector.c

   252  
   253  static int assign_irq_vector_policy(int irq, int node,
   254                                      struct apic_chip_data *data,
   255                                      struct irq_alloc_info *info,
   256                                      struct irq_data *irqdata)
   257  {
   258          unsigned long *allowed_vectors = NULL;
   259  
   260          /* Some MSI interrupts have restrictions on which vector numbers
   261           * can be used.
   262           */
   263          if (info &&
   264                  (info->type == X86_IRQ_ALLOC_TYPE_MSI ||
   265                   info->type == X86_IRQ_ALLOC_TYPE_MSIX))
 > 266                  allowed_vectors = info->allowed_vectors;
   267  
   268          if (info && info->mask)
   269                  return assign_irq_vector(irq, data, info->mask, irqdata,
   270                                           allowed_vectors);
   271          if (node != NUMA_NO_NODE &&
   272              assign_irq_vector(irq, data, cpumask_of_node(node), irqdata,
   273                                allowed_vectors) == 0)
   274                  return 0;
   275          return assign_irq_vector(irq, data, apic->target_cpus(), 
irqdata,
   276                                   allowed_vectors);
   277  }
   278  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to