Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1410086

Re: [PATCH] hwrng: stm32: fix maybe uninitialized variable warning

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH] hwrng: stm32: fix maybe uninitialized variable warning
Date 2016-05-31 12:20 +0200
Message-ID <rEOWf-1nn-47@gated-at.bofh.it> (permalink)
References <rCZVM-4Fq-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, May 26, 2016 at 11:34:57AM +0200, Maxime Coquelin wrote:
> This patch fixes the following warning:
> drivers/char/hw_random/stm32-rng.c: In function 'stm32_rng_read':
> drivers/char/hw_random/stm32-rng.c:82:19: warning: 'sr' may be used
>                                         uninitialized in this function
> 
> Reported-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
> Suggested-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Daniel Thompson <daniel.thompson@linaro.org>
> Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>

Applied.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] hwrng: stm32: fix maybe uninitialized variable warning Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2016-05-26 11:40 +0200
  Re: [PATCH] hwrng: stm32: fix maybe uninitialized variable warning Daniel Thompson <daniel.thompson@linaro.org> - 2016-05-27 15:50 +0200
  Re: [PATCH] hwrng: stm32: fix maybe uninitialized variable warning Herbert Xu <herbert@gondor.apana.org.au> - 2016-05-31 12:20 +0200

csiph-web