Re: [PATCH] sdhci: 'scratch' may be used uninitialized

From: Pierre Ossman
Date: Mon Oct 06 2008 - 03:27:45 EST


On Mon, 6 Oct 2008 08:30:35 +0200
Ingo Molnar <mingo@xxxxxxx> wrote:

>
> Correct. Would you be interested in sending a patch for a (default-off)
> debug feature that allows the disabling of all the gcc annotations? That
> way we can do regular sweeps to determine whether old annotations are
> still relevant on latest and greatest GCC.
>

How would you find the ones that are no longer needed though?

Perhaps we could make it so that uninitialized_var() itself emits a
warning. That way you could turn that option on and check that you
always have pairs of warnings.

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.

Attachment: signature.asc
Description: PGP signature