linux-kernelorg-stable/drivers/crypto
Arnd Bergmann bfb2892018 crypto: sunxi - don't print confusing data
gcc correctly warns that the printk output contains a variable that
it thinks is not initialized in some cases:

drivers/crypto/sunxi-ss/sun4i-ss-cipher.c: In function 'sun4i_ss_cipher_poll':
drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:254:76: warning: 'todo' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:144:15: note: 'todo' was declared here

A closer look at the function reveals that the variable is always
initialized at this point (ileft is guaranteed to be positive at the
start), but its contents are not well-defined:
Depending on some other variables, it might be either a count in
words or bytes, and it could refer to either input or output.

The easiest solution apparently is to remove the confusing output
and let the reader figure out the state from the other variables.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-01-27 20:36:26 +08:00
..
amcc
caam crypto: caam - enable LARGE_BURST for enhancing DMA transactions size 2016-01-25 22:39:03 +08:00
ccp crypto: ccp - Add hash state import and export support 2016-01-25 22:39:03 +08:00
marvell
nx crypto: nx-842 - Mask XERS0 bit in return value 2015-12-17 16:42:12 +08:00
qat crypto: qat - Reduced reqsize in qat_algs 2016-01-25 22:42:10 +08:00
qce
rockchip crypto: rockchip - fix possible deadlock 2015-12-04 22:21:48 +08:00
sunxi-ss crypto: sunxi - don't print confusing data 2016-01-27 20:36:26 +08:00
ux500 crypto: ux500 - Use precalculated hash from headers 2015-12-22 20:43:40 +08:00
vmx powerpc updates for 4.5 2016-01-15 13:18:47 -08:00
Kconfig crypto: CRYPTO_DEV_ATMEL_AES should depend on HAS_DMA 2016-01-18 18:16:34 +08:00
Makefile
atmel-aes-regs.h crypto: atmel-aes - add support to GCM mode 2015-12-23 18:19:58 +08:00
atmel-aes.c crypto: atmel-aes - Add missing break to atmel_aes_reg_name 2016-01-19 15:52:08 +08:00
atmel-sha-regs.h crypto: atmel-sha - fix context switches 2016-01-25 22:42:07 +08:00
atmel-sha.c crypto: atmel-sha - fix context switches 2016-01-25 22:42:07 +08:00
atmel-tdes-regs.h
atmel-tdes.c
bfin_crc.c
bfin_crc.h
geode-aes.c
geode-aes.h
hifn_795x.c crypto: hifn_795x, picoxcell - use ablkcipher_request_cast 2015-12-29 21:32:44 +08:00
img-hash.c
ixp4xx_crypto.c crypto: ixp4xx - Fix false lastlen uninitialised warning 2016-01-25 22:42:09 +08:00
mv_cesa.c
mv_cesa.h
mxs-dcp.c
n2_asm.S
n2_core.c crypto: n2 - Use precalculated hash from headers 2015-12-22 20:43:37 +08:00
n2_core.h
omap-aes.c crypto: omap - Removed unused variable "err" 2015-12-17 16:42:13 +08:00
omap-des.c crypto: omap - Removed unused variable "err" 2015-12-17 16:42:13 +08:00
omap-sham.c
padlock-aes.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-01-12 18:51:14 -08:00
padlock-sha.c x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros 2015-12-19 11:49:55 +01:00
picoxcell_crypto.c crypto: hifn_795x, picoxcell - use ablkcipher_request_cast 2015-12-29 21:32:44 +08:00
picoxcell_crypto_regs.h
s5p-sss.c crypto: s5p-sss - Use memcpy_toio for iomem annotated memory 2016-01-25 22:39:02 +08:00
sahara.c crypto: sahara - fix debug output for 64-bit dma_addr_t 2015-12-10 22:39:50 +08:00
talitos.c crypto: talitos - add new crypto modes 2015-12-04 22:29:56 +08:00
talitos.h crypto: talitos - add new crypto modes 2015-12-04 22:29:56 +08:00