On Sun, Aug 09, 2020 at 08:04:23AM -0700, trix@xxxxxxxxxx wrote: > From: Tom Rix <trix@xxxxxxxxxx> > > 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 <trix@xxxxxxxxxx> > --- > drivers/char/hw_random/intel-rng.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt