aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2025-05-17 15:14:53 +0000
committerPeter Zijlstra <[email protected]>2025-05-21 11:57:41 +0000
commit279f2c2c8e2169403d01190f042efa6e41731578 (patch)
treed122f1475bdf3f5d08331c4986e32609171994bc /rust/helpers/xarray.c
parentselftests/futex: Use TAP output in futex_numa_mpol (diff)
downloadkernel-279f2c2c8e2169403d01190f042efa6e41731578.tar.gz
kernel-279f2c2c8e2169403d01190f042efa6e41731578.zip
futex: Use RCU_INIT_POINTER() in futex_mm_init().
There is no need for an explicit NULL pointer initialisation plus a comment why it is okay. RCU_INIT_POINTER() can be used for NULL initialisations and it is documented. This has been build tested with gcc version 9.3.0 (Debian 9.3.0-22) on a x86-64 defconfig. Fixes: 094ac8cff7858 ("futex: Relax the rcu_assign_pointer() assignment of mm->futex_phash in futex_mm_init()") Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions