mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 07:30:54 +07:00
8d7debe744
[ Upstream commit 2a96726bd0ccde4f12b9b9a9f61f7b1ac5af7e10 ]
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
nx_csbcpb.h | ||
nx_debugfs.c | ||
nx-842-pseries.c | ||
nx-842.c | ||
nx-842.h | ||
nx-aes-cbc.c | ||
nx-aes-ccm.c | ||
nx-aes-ctr.c | ||
nx-aes-ecb.c | ||
nx-aes-gcm.c | ||
nx-aes-xcbc.c | ||
nx-common-powernv.c | ||
nx-sha256.c | ||
nx-sha512.c | ||
nx.c | ||
nx.h |