summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-09-02 14:06:15 +0200
committerThomas Gleixner <tglx@kernel.org>2026-10-25 23:30:54 +0100
commitcbd0f65b48f52d308c457b0fd5201324abadb501 (patch)
tree12df3c6a70f577e4944d9d4f682b3c4f63c1a27a /scripts/basic/split-include.c
parente389ae428847a2e6a3b698b5967df68ccf90361c (diff)
downloadlinux-cbd0f65b48f52d308c457b0fd5201324abadb501.tar.gz
linux-cbd0f65b48f52d308c457b0fd5201324abadb501.zip
vdso/gettimeofday: Correct the read of tz_minuteswest and tz_dsttime
When these fields got moved from 'struct vdso_time_data' to the new 'struct vdso_clock', this access was forgotten. 'vd' is not an array, but a pointer to a single structure. The code works by accident in its current form as CS_HRES_COARSE is 0. Replace the incorrect array access with a regular pointer dereference. Fixes: 886653e36639 ("vdso: Rework struct vdso_time_data and introduce struct vdso_clock") Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Reviewed-by: Nam Cao <namcao@linutronix.de> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Link: https://patch.msgid.link/20260902-vdso-tz-v1-1-4d37a6b85ff9@linutronix.de
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions