Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH 00/12] making the kernel -Wshadow clean - The initial step | Date | Mon, 31 Jul 2006 01:36:58 +0200 |
| |
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/
| |