[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081004215714.242f066d@mjolnir.drzeus.cx>
Date: Sat, 4 Oct 2008 21:57:14 +0200
From: Pierre Ossman <drzeus@...eus.cx>
To: Steven Noonan <steven@...inklabs.net>
Cc: linux-kernel@...r.kernel.org, mingo@...e.hu,
Steven Noonan <steven@...inklabs.net>
Subject: Re: [PATCH] sdhci: 'scratch' may be used uninitialized
On Wed, 1 Oct 2008 01:50:25 -0700
Steven Noonan <steven@...inklabs.net> wrote:
> The variable 'scratch' is always initialized before it's used. The
> conditional which is responsible for initialization of 'scratch' will
> always evaluate 'true' when the first loop iteration occurs, and thus,
> it's properly initialized. GCC doesn't see this, of course, so using
> the uninitialized_var() macro seems to work for silencing this case.
>
> Signed-off-by: Steven Noonan <steven@...inklabs.net>
Queued, thanks.
Rgds
--
-- Pierre Ossman
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists