diff options
| author | Masami Hiramatsu (Google) <[email protected]> | 2024-03-04 03:40:36 +0000 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <[email protected]> | 2024-03-06 15:27:15 +0000 |
| commit | 035ba76014c096316fa809a46ce0a1b9af1cde0d (patch) | |
| tree | 9bd6baeb02aacef945ce12f1d37c65069cfb6232 /drivers/clocksource/timer-stm32.c | |
| parent | tracing/probes: Cleanup probe argument parser (diff) | |
| download | kernel-035ba76014c096316fa809a46ce0a1b9af1cde0d.tar.gz kernel-035ba76014c096316fa809a46ce0a1b9af1cde0d.zip | |
tracing/probes: cleanup: Set trace_probe::nr_args at trace_probe_init
Instead of incrementing the trace_probe::nr_args, init it at
trace_probe_init(). Without this change, there is no way to get the number
of trace_probe arguments while parsing it.
This is a cleanup, so the behavior is not changed.
Link: https://lore.kernel.org/all/170952363585.229804.13060759900346411951.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-stm32.c')
0 files changed, 0 insertions, 0 deletions
