x86: fix warning in arch/x86/kernel/io_apic.c
authorIngo Molnar <mingo@elte.hu>
Thu, 18 Dec 2008 23:59:09 +0000 (00:59 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Dec 2008 08:21:59 +0000 (09:21 +0100)
commita7883dece6ef82097e6bdf19c1d0a20351e06056
treefa7ca12c6665a19048448f8300c7f58d9e4fd985
parent9924da434a13668fceb208d56dbdf86d166862cc
x86: fix warning in arch/x86/kernel/io_apic.c

this warning:

  arch/x86/kernel/io_apic.c: In function ‘ir_set_msi_irq_affinity’:
  arch/x86/kernel/io_apic.c:3373: warning: ‘cfg’ may be used uninitialized in this function

triggers because the variable was truly uninitialized. We'd crash on
entering this code.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c