Re: un4i-ss-cipher.c warning
From: Herbert Xu
Date: Thu Aug 20 2015 - 18:08:33 EST
On Thu, Aug 20, 2015 at 03:56:39PM +0200, Corentin LABBE wrote:
>
> Thanks for the report, strange that I do not have that warning.
> todo is always initialized, since oleft and ileft are always > 0 at start.
> But setting todo to 0 is a simple fix.
> The following patch will suppress the warning.
Nack. Please do not fix spurious uninitialised warnings in this
way. Not only is this pointless but if someone introduced a real
uninitialised bug later on we'd never catch it because of this.
Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/