Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=373167e80c52d65e444dfd40652ca227f5e4c227
Commit:     373167e80c52d65e444dfd40652ca227f5e4c227
Parent:     e384f41409cb9e543fbc84b375e2ba46cbcbec6a
Author:     Kenji Kaneshige <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 22 19:28:36 2007 +0900
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Wed Dec 19 11:13:27 2007 -0800

    [IA64] Remove compiler warinings about uninitialized variable in irq_ia64.c
    
    This patch removes the following compiler warning messages.
    
      CC      arch/ia64/kernel/irq_ia64.o
    arch/ia64/kernel/irq_ia64.c: In function 'create_irq':
    arch/ia64/kernel/irq_ia64.c:343: warning: 'domain.bits[0u]' may be used 
uninitialized in this function
    arch/ia64/kernel/irq_ia64.c: In function 'assign_irq_vector':
    arch/ia64/kernel/irq_ia64.c:203: warning: 'domain.bits[0u]' may be used 
uninitialized in this function
    
    Signed-off-by: Kenji Kaneshige <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/irq_ia64.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c
index 00a4599..0b52f19 100644
--- a/arch/ia64/kernel/irq_ia64.c
+++ b/arch/ia64/kernel/irq_ia64.c
@@ -200,7 +200,7 @@ assign_irq_vector (int irq)
 {
        unsigned long flags;
        int vector, cpu;
-       cpumask_t domain;
+       cpumask_t domain = CPU_MASK_NONE;
 
        vector = -ENOSPC;
 
@@ -340,7 +340,7 @@ int create_irq(void)
 {
        unsigned long flags;
        int irq, vector, cpu;
-       cpumask_t domain;
+       cpumask_t domain = CPU_MASK_NONE;
 
        irq = vector = -ENOSPC;
        spin_lock_irqsave(&vector_lock, flags);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to