aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <[email protected]>2025-03-11 01:30:03 +0000
committerSteven Rostedt (Google) <[email protected]>2025-03-28 12:39:56 +0000
commit486fbcb3806c0c7a5dbeea326c4a146fd4ed4eff (patch)
treec7c22dfcc95ff0ec996a2ca682d2a96f05b000ec /drivers/pwm/pwm-stm32.c
parenttracing: Initialize scratch_size to zero to prevent UB (diff)
downloadkernel-486fbcb3806c0c7a5dbeea326c4a146fd4ed4eff.tar.gz
kernel-486fbcb3806c0c7a5dbeea326c4a146fd4ed4eff.zip
tracing: Skip update_last_data() if cleared and remove active check for save_mod()
If the last boot data is already cleared, there is no reason to update it again. Skip if the TRACE_ARRAY_FL_LAST_BOOT is cleared. Also, for calling save_mod() when module loading, we don't need to check the trace is active or not because any module address can be on the stacktrace. Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Link: https://lore.kernel.org/174165660328.1173316.15529357882704817499.stgit@devnote2 Signed-off-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions