lkml.org 
[lkml]   [2006]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 00/12] making the kernel -Wshadow clean - The initial step
Date
Am Sunday 30 July 2006 20:29 schrieb Andrew Morton:
> While I don't recall any kernel bugs which -Wshadow would have saved us
> from, I think it's a sensible thing to do - it _might_ save us from a bug,
> and we need all the help we can get.

One case where it would have helped in the past is jiffies -- when
experimenting with tickless systems, turning the global jiffies
variable into a macro comes in handy, but that breaks all functions
that have a local variable with the same name.

Arnd <><
-
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-07-31 01:39    [W:0.054 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site