[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061002204425.GC24539@zakalwe.fi>
Date: Mon, 2 Oct 2006 23:44:25 +0300
From: Heikki Orsila <shd@...alwe.fi>
To: "Scott E. Preece" <preece@...orola.com>
Cc: eugeny.mints@...il.com, linux-pm@...ts.osdl.org,
linux-kernel@...r.kernel.org, ext-Tuukka.Tikkanen@...ia.com
Subject: Re: [linux-pm] [RFC] OMAP1 PM Core, PM Core Implementation 2/2
On Mon, Oct 02, 2006 at 01:58:33PM -0500, Scott E. Preece wrote:
> It also helps with static analysis tools.
I'd say those analysis tools are pretty useless if they can not handle
trivial cases like this.
> CodingStyle seems to
> be silent on the point, but points to Kernighan and Ritchie, who say
> "These initializations are actually unnecessary, since all are zero, but
> it's a good idea to make them explicit anyway."
It was a local variable. They are not autoinitialised. Are you perhaps
mixing this with statics and globals?
- Heikki
-
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