diff options
| author | Pierre Gondois <[email protected]> | 2023-01-24 16:40:46 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-31 16:02:02 +0100 |
| commit | ecaef469920fd6d2c7687f19081946f47684a423 (patch) | |
| tree | 066e6ef43e8ef6bdc9138bf42a0bd4d4edb35504 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 2b8e35337605ca581f777cad73d7a6ac2ccbf6ec (diff) | |
cacheinfo: Initialize variables in fetch_cache_info()
Set potentially uninitialized variables to 0. This is particularly
relevant when CONFIG_ACPI_PPTT is not set.
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Reported-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/all/Y86iruJPuwNN7rZw@kili/
Fixes: 5944ce092b97 ("arch_topology: Build cacheinfo from primary CPU")
Signed-off-by: Pierre Gondois <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions