alistair23-linux/drivers/crypto
Kamil Konieczny aa1abbe015 crypto: s5p-sss - fix AES support for Exynos5433
Commit 0918f18c71 ("crypto: s5p - add AES support for Exynos5433")
introduced bug in dereferencing clk_names[1] on platforms different from
Exynos5433. On Exynos board XU3 call trace is:

"Unable to handle kernel paging request at virtual address 00004000"
(strcmp) from [<c0774014>] (of_property_match_string+0x58/0xd0)
...
(devm_clk_get) from [<c075c248>] (s5p_aes_probe+0xd4/0x4a0)
(s5p_aes_probe) from [<c059dbc4>] (platform_drv_probe+0x6c/0xa4)

Fix this by setting array clk_names size to 2.

Fixes: 0918f18c71 ("crypto: s5p - add AES support for Exynos5433")
Reported-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-03-07 16:24:52 +08:00
..
amcc crypto: crypto4xx - add missing of_node_put after of_device_is_available 2019-02-28 14:37:35 +08:00
axis crypto: axis - move request unmap outside of the queue lock 2019-02-01 14:42:04 +08:00
bcm crypto: export arc4 defines 2019-02-15 13:21:55 +08:00
caam crypto: caam - remove redundant likely/unlikely annotation 2019-02-28 14:17:59 +08:00
cavium crypto: cavium/zip - fix collision with generic cra_driver_name 2019-02-28 14:37:35 +08:00
ccp crypto: ccp - Update driver messages to remove some confusion 2019-02-22 12:47:27 +08:00
ccree crypto: ccree - fix missing break in switch statement 2019-02-22 12:47:26 +08:00
chelsio crypto: chelsio - Fixed Traffic Stall 2019-02-28 14:17:58 +08:00
hisilicon crypto: hisilicon - Fix reference after free of memories on error path 2018-11-09 17:35:43 +08:00
inside-secure crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
marvell crypto: marvell - Remove set but not used variable 'ivsize' 2019-02-28 14:17:58 +08:00
mediatek headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
nx crypto: skcipher - remove remnants of internal IV generators 2018-12-23 11:52:45 +08:00
qat crypto: qat - Remove unused goto label 2019-02-08 15:30:09 +08:00
qce crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
rockchip crypto: rockchip - update new iv to device in multiple operations 2019-02-22 12:47:26 +08:00
stm32 crypto: stm32 - drop pointless static qualifier in stm32_hash_remove() 2019-02-28 14:17:58 +08:00
sunxi-ss crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
ux500 crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
virtio crypto: virtio - clean up indentation, replace spaces with tab 2019-01-11 14:16:56 +08:00
vmx crypto: vmx - Remove VLA usage of skcipher 2018-09-28 12:46:08 +08:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel - switch to SPDX license identifiers 2018-09-04 11:37:04 +08:00
atmel-authenc.h crypto: atmel - switch to SPDX license identifiers 2018-09-04 11:37:04 +08:00
atmel-ecc.c crypto: atmel - switch to SPDX license identifiers 2018-09-04 11:37:04 +08:00
atmel-ecc.h crypto: atmel - switch to SPDX license identifiers 2018-09-04 11:37:04 +08:00
atmel-sha-regs.h
atmel-sha.c crypto: atmel - switch to SPDX license identifiers 2018-09-04 11:37:04 +08:00
atmel-tdes-regs.h
atmel-tdes.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
exynos-rng.c
geode-aes.c crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations 2018-11-20 14:26:55 +08:00
geode-aes.h
hifn_795x.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
img-hash.c
ixp4xx_crypto.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
Kconfig crypto: bcm - convert to use crypto_authenc_extractkeys() 2019-01-10 21:37:31 +08:00
Makefile crypto: caam/qi2 - add DPAA2-CAAM driver 2018-09-21 13:24:51 +08:00
mxc-scc.c crypto: mxc-scc - fix build warnings on ARM64 2018-12-23 11:52:44 +08:00
mxs-dcp.c crypto: mxs-dcp - Add support for dcp clk 2018-11-16 14:11:03 +08:00
n2_asm.S
n2_core.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
n2_core.h
omap-aes-gcm.c
omap-aes.c crypto: skcipher - remove remnants of internal IV generators 2018-12-23 11:52:45 +08:00
omap-aes.h crypto: omap-aes - Remove VLA usage of skcipher 2018-09-28 12:46:09 +08:00
omap-crypto.c
omap-crypto.h
omap-des.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
omap-sham.c crypto: ahash - remove useless setting of type flags 2018-07-09 00:30:25 +08:00
padlock-aes.c crypto: padlock-aes - Fix Nano workaround data corruption 2018-07-20 13:47:42 +08:00
padlock-sha.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
picoxcell_crypto.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
picoxcell_crypto_regs.h
qcom-rng.c crypto: qcom-rng - Add ACPI support 2018-07-27 19:04:32 +08:00
s5p-sss.c crypto: s5p-sss - fix AES support for Exynos5433 2019-03-07 16:24:52 +08:00
sahara.c crypto: remove useless initializations of cra_list 2018-11-20 14:26:55 +08:00
talitos.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
talitos.h