Thread (6 messages) 6 messages, 4 authors, 2015-08-20

Re: un4i-ss-cipher.c warning

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2015-08-20 22:08:30
Also in: linux-arm-kernel, lkml

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 [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help