Messages in this thread | | | Date | Sat, 4 Oct 2008 21:57:14 +0200 | From | Pierre Ossman <> | Subject | Re: [PATCH] sdhci: 'scratch' may be used uninitialized |
| |
On Wed, 1 Oct 2008 01:50:25 -0700 Steven Noonan <steven@uplinklabs.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@uplinklabs.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. [unhandled content-type:application/pgp-signature] | |