diff options
| author | 2025-02-05 11:55:13 +0100 | |
|---|---|---|
| committer | 2025-02-20 15:38:02 +0100 | |
| commit | a2d1afe65a152e8e581b48cebb1517e6bdf09d04 (patch) | |
| tree | 76d159f0737f0c46e99146512c50dd113e303115 /include/linux/bcma/ssh:/git@git.zx2c4.com/git: | |
| parent | serial: mctrl_gpio: split disable_ms into sync and no_sync APIs (diff) | |
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>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/af7823518fb060c6c97105a2513cfc61adbdf38f.1738746927.git.namcao@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
