lkml.org 
[lkml]   [2006]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.19-rc3] i386/io_apic: fix compiler warning in create_irq

* Stefan Richter <stefanr@s5r6.in-berlin.de> wrote:

> Fix warning
> arch/i386/kernel/io_apic.c: In function `create_irq':
> arch/i386/kernel/io_apic.c:2420: warning: 'vector' might be used uninitialized in this function

> @@ -2421,6 +2421,7 @@ int create_irq(void)
> unsigned long flags;
>
> irq = -ENOSPC;
> + vector = 0;

NAK - the code is fine, and this is fixed in Jeff's gcc-warnings tree
via annotation.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-30 10:05    [W:0.127 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site