diff options
author | Maxime Coquelin <mcoquelin.stm32@gmail.com> | 2016-05-26 11:34:57 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-05-31 16:41:57 +0800 |
commit | 1ff69adf747e75425d5e67df2f2ac866e7ebd165 (patch) | |
tree | eec779e7de0daae449941334c2e0821dbb79009e /init | |
parent | f6c60b15e13344998fdc16453d01a3192817751c (diff) | |
download | linux-1ff69adf747e75425d5e67df2f2ac866e7ebd165.tar.bz2 |
hwrng: stm32 - fix maybe uninitialized variable warning
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>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions