lkml.org 
[lkml]   [2023]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH -next v2 0/3] cacheinfo: Fix misbehaviours around init_cache_level()
Date
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@intel.com>
Link: https://lore.kernel.org/all/202301052307.JYt1GWaJ-lkp@intel.com/
- Dan Carpenter <error27@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

\
 
 \ /
  Last update: 2023-03-26 23:54    [W:0.042 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site