lkml.org 
[lkml]   [2014]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] drivers/tty/serial: deal with 8250_core.c uninitialized warning for good
From
Date
On Wed, 2014-02-19 at 15:00 -0500, Paul Gortmaker wrote:
> Every couple of months, someone sends a patch to fix:
>
> drivers/tty/serial/8250/8250_core.c: In function 'serial_unlink_irq_chain':
> drivers/tty/serial/8250/8250_core.c:1712:2: warning: 'i' may be used uninitialized in this function [-Wuninitialized]
>
> and they in turn get a NACK for their efforts, and are told that
> their compiler is broken. This has been going on since at least
> the year 2008: https://lkml.org/lkml/2008/11/24/433
>
> Lets add a comment, so that subsequent patches don't get as far as
> the maintainers or the mailing lists.

Are people still using gcc variants that get this wrong ?

Fine by me.

Acked-by: Alan Cox <alan@linux.intel.com>




\
 
 \ /
  Last update: 2014-02-19 22:21    [W:0.030 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site