diff options
author | Takashi Sakamoto <[email protected]> | 2023-01-30 23:15:32 +0900 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-01-31 09:32:10 +0100 |
commit | d8dc8720468a6585120740529d085118c27a85c2 (patch) | |
tree | a7c423e19b2aa63c6c8e2ae0cd5df3d71f6056f4 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | ba35c3a599ddd4848a6dc8511e9d16c2b9c55cf0 (diff) |
ALSA: firewire-lib: fix uninitialized local variable
The function local variable, curr_cycle_time is declared without
initialization. When tracepoints event is not probed, it looks to be
used as is. This commit fixes it. Fortunately, the value of local variable
is not used unless the event is probed, thus this commit is for better
coding.
Reported-by: Dan Carpenter <[email protected]>
Fixes: fef4e61b0b76 ("ALSA: firewire-lib: extend tracepoints event including CYCLE_TIME of 1394 OHCI")
Signed-off-by: Takashi Sakamoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions