summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-08-12 07:39:06 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-09-09 10:57:39 +0200
commit74b408ff06c39238edd66350cd0d4057787fc853 (patch)
tree26223c10889df05a81783c7c91be3cc04f2c9cb5 /rust/kernel
parentd7516f25a90c554d25847634884179d8be2782c7 (diff)
selftests: vDSO: vdso_test_abi: Use explicit indices for name array
The array relies on the numeric values of the clock IDs. When reading the code it is not obvious that the order is correct. Make the code easier to read by using explicit indices. While at it make the array static. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250812-vdso-tests-fixes-v2-5-90f499dd35f8@linutronix.de
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions