[PATCH -next v2 0/3] cacheinfo: Fix misbehaviours around init_cache_level()
Pierre Gondois
pierre.gondois at arm.com
Tue Jan 24 07:40:45 PST 2023
v2:
https://lore.kernel.org/all/20230124123450.321852-1-pierre.gondois@arm.com/
- Split initial patch in 3.
- Add links to static-analysis reports.
Some cases were not correctly evaluated when updating
init_cache_level()'s prototype, in particular if CONFIG_ACPI_PPTT is
not defined. Fix them.
The initial diagnostic was done thanks to:
- the kernel test robot <lkp at intel.com>
Link: https://lore.kernel.org/all/202301052307.JYt1GWaJ-lkp@intel.com/
- Dan Carpenter <error27 at gmail.com>
Link: https://lore.kernel.org/all/Y86iruJPuwNN7rZw@kili/
Pierre Gondois (3):
cacheinfo: Initialize variables in fetch_cache_info()
cacheinfo: Make default acpi_get_cache_info() return an error
cacheinfo: Remove unused check in init_cache_level()
arch/arm64/kernel/cacheinfo.c | 5 +----
drivers/base/cacheinfo.c | 2 +-
include/linux/cacheinfo.h | 2 +-
3 files changed, 3 insertions(+), 6 deletions(-)
--
2.25.1
More information about the linux-arm-kernel
mailing list