All of lore.kernel.org
 help / color / mirror / Atom feed
* [rft, PATCH v1 0/7] panic: sys_info: Refactor and fix a compilation issue
@ 2025-07-11  9:51 Andy Shevchenko
  2025-07-11  9:51 ` [PATCH v1 1/7] Revert "panic: fix compilation error (`make W=1`)" Andy Shevchenko
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Andy Shevchenko @ 2025-07-11  9:51 UTC (permalink / raw)
  To: Feng Tang, Andy Shevchenko, linux-kernel; +Cc: Andrew Morton, Nathan Chancellor

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2025-07-11 16:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-11  9:51 [rft, PATCH v1 0/7] panic: sys_info: Refactor and fix a compilation issue Andy Shevchenko
2025-07-11  9:51 ` [PATCH v1 1/7] Revert "panic: fix compilation error (`make W=1`)" Andy Shevchenko
2025-07-11  9:51 ` [PATCH v1 2/7] panic: sys_info: Align constant definition names with parameters Andy Shevchenko
2025-07-11  9:51 ` [PATCH v1 3/7] panic: sys_info: Capture si_bits_global before iterating over it Andy Shevchenko
2025-07-11 14:56   ` Feng Tang
2025-07-11 15:05     ` Andy Shevchenko
2025-07-11  9:51 ` [PATCH v1 4/7] panic: sys_info: Replace struct sys_info_name with plain array of strings Andy Shevchenko
2025-07-11 15:21   ` Feng Tang
2025-07-11 16:26     ` Andy Shevchenko
2025-07-11  9:51 ` [PATCH v1 5/7] panic: sys_info: Fix compilation error (`make W=1`) Andy Shevchenko
2025-07-11  9:51 ` [PATCH v1 6/7] panic: sys_info: Deduplicate local variable 'table; assignments Andy Shevchenko
2025-07-11  9:51 ` [PATCH v1 7/7] panic: sys_info: Factor out read and write handlers Andy Shevchenko
2025-07-11 15:09   ` Feng Tang
2025-07-11 16:34     ` Andy Shevchenko
2025-07-11 12:13 ` [rft, PATCH v1 0/7] panic: sys_info: Refactor and fix a compilation issue Andy Shevchenko
2025-07-11 15:42   ` Feng Tang
2025-07-11 16:36     ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.