On Sun, Aug 09, 2020 at 08:04:23AM -0700, t...@redhat.com wrote: > From: Tom Rix <t...@redhat.com> > > clang static analysis reports this problem > > intel-rng.c:333:2: warning: Assigned value is garbage or undefined > void __iomem *mem = mem; > ^~~~~~~~~~~~~~~~~ ~~~ > > Because mem is assigned before it is used, this is not > a real problem. But the initialization is strange and not > needed, so remove it. > > Signed-off-by: Tom Rix <t...@redhat.com> > --- > drivers/char/hw_random/intel-rng.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks. -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt