diff options
author | Chen-Yu Tsai <[email protected]> | 2024-10-08 16:29:04 +0800 |
---|---|---|
committer | Jonathan Corbet <[email protected]> | 2024-10-14 10:19:22 -0600 |
commit | be9264110e4e874622d588a75daf930539fdf6ea (patch) | |
tree | 6c9805ee59790cbe43ec4058e4263c3fdfc6e04d /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 6a32c8dfec8126040a3f5484f4f7301ca96d697c (diff) |
scripts/kernel-doc: Do not track section counter across processed files
The section counter tracks how many sections of kernel-doc were added.
The only real use of the counter value is to check if anything was
actually supposed to be output and give a warning is nothing is
available.
The current logic of remembering the initial value and then resetting
the value then when processing each file means that if a file has the
same number of sections as the previously processed one, a warning is
incorrectly given.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions