linux-stable/drivers/crypto
Herbert Xu f85e7b202a crypto: nx - Fix RCU warning in nx842_OF_upd_status
[ Upstream commit 2a96726bd0 ]

The function nx842_OF_upd_status triggers a sparse RCU warning when
it directly dereferences the RCU-protected devdata.  This appears
to be an accident as there was another variable of the same name
that was passed in from the caller.

After it was removed (because the main purpose of using it, to
update the status member was itself removed) the global variable
unintenionally stood in as its replacement.

This patch restores the devdata parameter.

Fixes: 90fd73f912 ("crypto: nx - remove pSeries NX 'status' field")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:15:48 +02:00
..
amcc crypto: crypto4xx - Replace bitwise OR with logical OR in crypto4xx_build_pd 2020-12-30 11:25:55 +01:00
axis crypto: artpec6 - return correct error code for failed setkey() 2020-02-14 16:33:27 -05:00
bcm crypto: bcm - Rename struct device_private to bcm_device_private 2021-03-04 09:39:39 +01:00
caam crypto: caam - update xts sector size for large input length 2020-04-17 10:48:54 +02:00
cavium crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 2020-08-19 08:15:05 +02:00
ccp crypto: ccp - Fix a resource leak in an error handling path 2021-07-20 16:15:47 +02:00
ccree crypto: ccree - fix resource leak on error path 2020-08-19 08:14:48 +02:00
chelsio cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds 2021-03-04 09:39:36 +01:00
hisilicon crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 2020-08-19 08:15:05 +02:00
inside-secure crypto: inside-secure - Fix sizeof() mismatch 2020-12-30 11:25:51 +01:00
marvell
mediatek cypto: mediatek - fix leaks in mtk_desc_ring_alloc 2020-10-29 09:55:03 +01:00
nx crypto: nx - Fix RCU warning in nx842_OF_upd_status 2021-07-20 16:15:48 +02:00
qat crypto: qat - remove unused macro in FW loader 2021-07-20 16:15:43 +02:00
qce
rockchip crypto: rockchip - update IV buffer to contain the next IV 2019-05-22 07:37:37 +02:00
stm32 crypto: stm32/crc32 - fix multi-instance 2020-06-22 09:05:18 +02:00
sunxi-ss crypto: sun4i-ss - handle BigEndian for cipher 2021-03-04 09:39:54 +01:00
ux500 crypto: ux500 - Fix error return code in hash_hw_final() 2021-07-20 16:15:47 +02:00
virtio crypto: virtio: Fix dest length calculation in __virtio_crypto_skcipher_do_req() 2020-06-22 09:05:06 +02:00
vmx crypto: vmx - Avoid weird build failures 2019-12-31 16:36:13 +01:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel-aes - Fix counter overflow in CTR mode 2020-02-11 04:34:05 -08:00
atmel-authenc.h crypto: atmel - Fix authenc support when it is set to m 2019-12-31 16:35:56 +01:00
atmel-ecc.c
atmel-ecc.h
atmel-sha-regs.h
atmel-sha.c crypto: atmel-sha - fix error handling when setting hmac key 2020-02-14 16:33:27 -05:00
atmel-tdes-regs.h
atmel-tdes.c
exynos-rng.c
geode-aes.c crypto: geode-aes - convert to skcipher API and make thread-safe 2020-02-11 04:34:00 -08:00
geode-aes.h crypto: geode-aes - convert to skcipher API and make thread-safe 2020-02-11 04:34:00 -08:00
hifn_795x.c
img-hash.c
ixp4xx_crypto.c crypto: ixp4xx - dma_unmap the correct address 2021-07-20 16:15:46 +02:00
Kconfig
Makefile
mxc-scc.c crypto: mxc-scc - fix build warnings on ARM64 2019-12-05 09:20:49 +01:00
mxs-dcp.c crypto: mxs-dcp - make symbols 'sha1_null_hash' and 'sha256_null_hash' static 2020-04-29 16:31:07 +02:00
n2_asm.S
n2_core.c
n2_core.h
omap-aes-gcm.c
omap-aes.c crypto: omap-aes - Fix PM disable depth imbalance in omap_aes_probe 2020-12-30 11:25:55 +01:00
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c crypto: omap-sham - fix digcnt register handling with export/import 2020-10-29 09:55:02 +01:00
padlock-aes.c
padlock-sha.c
picoxcell_crypto.c crypto: picoxcell - Fix potential race condition bug 2020-10-29 09:55:01 +01:00
picoxcell_crypto_regs.h
qcom-rng.c
s5p-sss.c crypto: s5p-sss: Fix Fix argument list alignment 2019-11-20 18:47:43 +01:00
sahara.c
talitos.c crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error) 2021-03-04 09:39:40 +01:00
talitos.h crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error) 2021-03-04 09:39:40 +01:00