[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200607310137.00404.arnd@arndb.de>
Date: Mon, 31 Jul 2006 01:36:58 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Andrew Morton <akpm@...l.org>
Cc: Krzysztof Halasa <khc@...waw.pl>, jesper.juhl@...il.com,
linux-kernel@...r.kernel.org, nikita@...sterfs.com,
joe@...ches.com, tali@...ingilde.org, jbglaw@...-owl.de,
hch@...radead.org, dwmw2@...radead.org, arjan@...radead.org,
dmitry.torokhov@...il.com, Valdis.Kletnieks@...edu,
sam@...nborg.org, rmk@....linux.org.uk, rusty@...tcorp.com.au,
rdunlap@...otime.net
Subject: Re: [PATCH 00/12] making the kernel -Wshadow clean - The initial step
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists