[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250711095413.1472448-1-andriy.shevchenko@linux.intel.com>
Date: Fri, 11 Jul 2025 12:51:06 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Feng Tang <feng.tang@...ux.alibaba.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-kernel@...r.kernel.org
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Nathan Chancellor <nathan@...nel.org>
Subject: [rft, PATCH v1 0/7] panic: sys_info: Refactor and fix a compilation issue
While targeting the compilation issue due to dangling variable,
I have noticed more opportunities for refactoring that helps to
avoid above mentioned compilation issue and make code cleaner in
general. Please, give it a try.
I put a revert as the first patch of the previous solution, but I believe
the previous solution may be pulled out without a problem.
Andy Shevchenko (7):
Revert "panic: fix compilation error (`make W=1`)"
panic: sys_info: Align constant definition names with parameters
panic: sys_info: Capture si_bits_global before iterating over it
panic: sys_info: Replace struct sys_info_name with plain array of
strings
panic: sys_info: Fix compilation error (`make W=1`)
panic: sys_info: Deduplicate local variable 'table; assignments
panic: sys_info: Factor out read and write handlers
include/linux/sys_info.h | 2 +-
kernel/panic.c | 2 +-
lib/sys_info.c | 129 ++++++++++++++++++++++-----------------
3 files changed, 74 insertions(+), 59 deletions(-)
--
2.47.2
Powered by blists - more mailing lists