OpenCloudOS-Kernel/drivers/crypto/nx
Herbert Xu 2a96726bd0 crypto: nx - Fix RCU warning in nx842_OF_upd_status
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>
2021-06-24 14:51:35 +08:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile crypto/nx: Rename nx-842-powernv file name to nx-common-powernv 2020-04-20 16:53:14 +10:00
nx-842-pseries.c crypto: nx - Fix RCU warning in nx842_OF_upd_status 2021-06-24 14:51:35 +08:00
nx-842.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
nx-842.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nx-aes-cbc.c crypto: nx - Repair some kernel-doc problems 2021-03-26 20:02:36 +11:00
nx-aes-ccm.c crypto: nx - fix incorrect kernel-doc comment syntax in files 2021-03-26 20:15:58 +11:00
nx-aes-ctr.c crypto: nx - Fix memcpy() over-reading in nonce 2021-06-24 14:51:34 +08:00
nx-aes-ecb.c crypto: nx - fix incorrect kernel-doc comment syntax in files 2021-03-26 20:15:58 +11:00
nx-aes-gcm.c crypto: nx - fix incorrect kernel-doc comment syntax in files 2021-03-26 20:15:58 +11:00
nx-aes-xcbc.c crypto: nx - fix incorrect kernel-doc comment syntax in files 2021-03-26 20:15:58 +11:00
nx-common-powernv.c crypto: nx - Fix typo in comment 2021-05-28 15:11:46 +08:00
nx-sha256.c crypto: nx - fix incorrect kernel-doc comment syntax in files 2021-03-26 20:15:58 +11:00
nx-sha512.c crypto: nx - fix incorrect kernel-doc comment syntax in files 2021-03-26 20:15:58 +11:00
nx.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2021-04-26 08:51:23 -07:00
nx.h crypto: Replace zero-length array with flexible-array member 2020-03-06 12:28:21 +11:00
nx_csbcpb.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nx_debugfs.c crypto: nx - Repair some kernel-doc problems 2021-03-26 20:02:36 +11:00