diff options
author | 2025-02-05 11:55:13 +0100 | |
---|---|---|
committer | 2025-02-18 17:41:35 +0100 | |
commit | eee00df8e1f1f5648ed8f9e40e2bb54c2877344a (patch) | |
tree | 48df172e6aeeaa3e34059b1818eee09242a204ce /scripts/lib/kdoc/kdoc_re.py | |
parent | ASoC: fsl: imx-pcm-fiq: Switch to use hrtimer_setup() (diff) | |
download | wireguard-linux-eee00df8e1f1f5648ed8f9e40e2bb54c2877344a.tar.xz wireguard-linux-eee00df8e1f1f5648ed8f9e40e2bb54c2877344a.zip |
serial: xilinx_uartps: Use helper function hrtimer_update_function()
The field 'function' of struct hrtimer should not be changed directly, as
the write is lockless and a concurrent timer expiry might end up using the
wrong function pointer.
Switch to use hrtimer_update_function() which also performs runtime checks
that it is safe to modify the callback.
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/af7823518fb060c6c97105a2513cfc61adbdf38f.1738746927.git.namcao@linutronix.de
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions