diff options
| author | Danilo Krummrich <[email protected]> | 2025-07-14 11:32:35 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-07-15 12:46:09 +0000 |
| commit | 91ae26b06aab476bdd8b56cd99e127f029490330 (patch) | |
| tree | ebaec0e300811016e6a5b9eb4c9ec11c5e15120e /rust/helpers/signal.c | |
| parent | lpfc: don't use file->f_path.dentry for comparisons (diff) | |
| download | kernel-91ae26b06aab476bdd8b56cd99e127f029490330.tar.gz kernel-91ae26b06aab476bdd8b56cd99e127f029490330.zip | |
rust: devres: initialize Devres::inner::data last
Users may want to access the Devres object from callbacks registered
through the initialization of Devres::inner::data.
For those accesses to be valid, Devres::inner::data must be initialized
last [1].
Credit to Boqun for spotting this [2].
Link: https://lore.kernel.org/lkml/[email protected]/ [1]
Link: https://lore.kernel.org/lkml/[email protected]/ [2]
Reviewed-by: Alice Ryhl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions
