diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2021-06-17 15:57:12 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-06-24 14:51:35 +0800 |
commit | 2a96726bd0ccde4f12b9b9a9f61f7b1ac5af7e10 (patch) | |
tree | 36dda33a143e73e719f7c884d36b6af4741e9cbe /drivers/edac/edac_device.c | |
parent | 5163ab505e489400b4738b2a5547ec83d2dff7bb (diff) | |
download | linux-2a96726bd0ccde4f12b9b9a9f61f7b1ac5af7e10.tar.bz2 |
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: 90fd73f912f0 ("crypto: nx - remove pSeries NX 'status' field")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/edac/edac_device.c')
0 files changed, 0 insertions, 0 deletions