TO: Jan Beulich <[email protected]>
CC: Thomas Gleixner <[email protected]>

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ebc7163fafb29c390519378897c201748acc2756
commit: 8c66877ee65ec4e6974e9aa69bc53abe4a603f10 [3753/6262] x86: Avoid 
building unused IRQ entry stubs
:::::: branch date: 16 hours ago
:::::: commit date: 8 days ago

arch/x86/lguest/boot.c:848 lguest_init_IRQ() error: buffer overflow 'interrupt' 
207 <= 223
arch/x86/lguest/boot.c:848 lguest_init_IRQ() error: buffer overflow 'interrupt' 
207 <= 223

git remote add next 
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git remote update next
git checkout 8c66877ee65ec4e6974e9aa69bc53abe4a603f10
vim +/interrupt +848 arch/x86/lguest/boot.c

07ad157f drivers/lguest/lguest.c Rusty Russell 2007-07-19  832  };
07ad157f drivers/lguest/lguest.c Rusty Russell 2007-07-19  833  
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  834  /*
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  835   * This sets up 
the Interrupt Descriptor Table (IDT) entry for each hardware
b2b47c21 drivers/lguest/lguest.c Rusty Russell 2007-07-26  836   * interrupt 
(except 128, which is used for system calls), and then tells the
b2b47c21 drivers/lguest/lguest.c Rusty Russell 2007-07-26  837   * Linux 
infrastructure that each interrupt is controlled by our level-based
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  838   * lguest 
interrupt controller.
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  839   */
07ad157f drivers/lguest/lguest.c Rusty Russell 2007-07-19  840  static void 
__init lguest_init_IRQ(void)
07ad157f drivers/lguest/lguest.c Rusty Russell 2007-07-19  841  {
07ad157f drivers/lguest/lguest.c Rusty Russell 2007-07-19  842          
unsigned int i;
07ad157f drivers/lguest/lguest.c Rusty Russell 2007-07-19  843  
1028375e arch/x86/lguest/boot.c  Rusty Russell 2009-06-12  844          for (i 
= FIRST_EXTERNAL_VECTOR; i < NR_VECTORS; i++) {
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  845                  
/* Some systems map "vectors" to interrupts weirdly.  Not us! */
ced05dd7 arch/x86/lguest/boot.c  Rusty Russell 2011-01-20  846                  
__this_cpu_write(vector_irq[i], i - FIRST_EXTERNAL_VECTOR);
1028375e arch/x86/lguest/boot.c  Rusty Russell 2009-06-12  847                  
if (i != SYSCALL_VECTOR)
1028375e arch/x86/lguest/boot.c  Rusty Russell 2009-06-12 @848                  
        set_intr_gate(i, interrupt[i - FIRST_EXTERNAL_VECTOR]);
07ad157f drivers/lguest/lguest.c Rusty Russell 2007-07-19  849          }
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  850  
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  851          /*
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  852           * This 
call is required to set up for 4k stacks, where we have
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  853           * 
separate stacks for hard and soft interrupts.
2e04ef76 arch/x86/lguest/boot.c  Rusty Russell 2009-07-30  854           */
07ad157f drivers/lguest/lguest.c Rusty Russell 2007-07-19  855          
irq_ctx_init(smp_processor_id());
07ad157f drivers/lguest/lguest.c Rusty Russell 2007-07-19  856  }

:::::: The code at line 848 was first introduced by commit
:::::: 1028375e93a7aa4dbe466947d1c65f368b1f61c1 lguest: clean up lguest_init_IRQ

:::::: TO: Rusty Russell <[email protected]>
:::::: CC: Rusty Russell <[email protected]>

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to