[ Sasha's backport helper bot ]
Hi,
✅ All tests passed successfully. No issues detected. No action required from the submitter.
The upstream commit SHA1 provided is correct: 4b76fafb20dd4a2becb94949d78e86bc88006509
Note: The patch differs from the upstream commit: --- 1: 4b76fafb20dd4 ! 1: b26ce8d6f1c62 rust: revocable: indicate whether `data` has been revoked already @@ Metadata ## Commit message ## rust: revocable: indicate whether `data` has been revoked already
+ [ Upstream commit 4b76fafb20dd4a2becb94949d78e86bc88006509 ] + Return a boolean from Revocable::revoke() and Revocable::revoke_nosync() to indicate whether the data has been revoked already.
@@ Commit message Signed-off-by: Danilo Krummrich dakr@kernel.org
## rust/kernel/revocable.rs ## -@@ rust/kernel/revocable.rs: pub unsafe fn access(&self) -> &T { +@@ rust/kernel/revocable.rs: pub fn try_access_with_guard<'a>(&'a self, _guard: &'a rcu::Guard) -> Option<&'a /// # Safety /// /// Callers must ensure that there are no more concurrent users of the revocable object. ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-5.4.y | Success | Success |