summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorAvi Weiss <thnkslprpt@gmail.com>2026-10-31 14:22:17 +0200
committerThomas Gleixner <tglx@kernel.org>2026-11-09 20:15:58 +0100
commit67f1969e29b692ab3cfcc97ba175b9109212de00 (patch)
treecd0b3e796f807d1dbe954b73c1bc5ec467d49036 /rust/kernel
parentc49b3c20a2d0b22700e2100a527e68e829ece7f0 (diff)
timekeeping: Reject cross timestamps for invalid AUX clocks
get_device_system_crosststamp() accepts AUX clock IDs even when the corresponding timekeeper is disabled. A never-enabled AUX timekeeper has no initialized clocksource, and a previously enabled one can retain stale timekeeping data. Return -ENODEV before calling the device timestamp callback when the selected timekeeper is invalid. Fixes: 9aebde8af6fe ("timekeeping: Add support for AUX clock cross timestamping") Signed-off-by: Avi Weiss <thnkslprpt@gmail.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20261031122218.118921-1-thnkslprpt@gmail.com
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions