diff options
author | 2025-02-05 11:55:14 +0100 | |
---|---|---|
committer | 2025-02-18 17:41:35 +0100 | |
commit | 3f8d93d1371f460ed30ebfa30fb930c0605035fc (patch) | |
tree | b25900bfb9a622a22c32c3bfca69fa96ae507189 /scripts/lib/kdoc/kdoc_re.py | |
parent | serial: xilinx_uartps: Use helper function hrtimer_update_function() (diff) | |
download | wireguard-linux-3f8d93d1371f460ed30ebfa30fb930c0605035fc.tar.xz wireguard-linux-3f8d93d1371f460ed30ebfa30fb930c0605035fc.zip |
io_uring: 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/9b33f490fb1d207d3918ef5e116dc3412ae35c1e.1738746927.git.namcao@linutronix.de
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions