diff options
| author | 2026-09-02 14:06:15 +0200 | |
|---|---|---|
| committer | 2026-10-25 23:30:54 +0100 | |
| commit | cbd0f65b48f52d308c457b0fd5201324abadb501 (patch) | |
| tree | 12df3c6a70f577e4944d9d4f682b3c4f63c1a27a /scripts/Makefile.thinlto | |
| parent | tick/nohz: Reevaluate the tick for kicks flushed outside hardirq (diff) | |
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/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
