aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-07-14 11:32:35 +0000
committerDanilo Krummrich <[email protected]>2025-07-15 12:46:09 +0000
commit91ae26b06aab476bdd8b56cd99e127f029490330 (patch)
treeebaec0e300811016e6a5b9eb4c9ec11c5e15120e /rust/helpers/xarray.c
parentlpfc: don't use file->f_path.dentry for comparisons (diff)
downloadkernel-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/xarray.c')
0 files changed, 0 insertions, 0 deletions