panic: sys_info: Refactor and fix a potential issue
Status from this message: [merged mm-nonmm-stable] panic-sys_info-factor-out-read-and-write-handlers.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 8 repliesApplied 6/6
- v26 patches 10 repliesSuperseded
- v17 patches 9 repliesSuperseded
Changes in v3 from the cover letter
- addressed an issue with empty parameter returned (Feng)
- gathered tags (Feng)
Patches in v3 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | panic: sys_info: Capture si_bits_global before iterating over itlib/ | +5 | 0 replies | Applied |
| 2/6 | panic: sys_info: Align constant definition names with parametersinclude/ kernel/ lib/ | +4 | 0 replies | Applied |
| 3/6 | panic: sys_info: Replace struct sys_info_name with plain array of stringslib/ | +20 | 2 replies | Applied |
| 4/6 | panic: sys_info: Rewrite a fix for a compilation error (`make W=1`)lib/ | +16 | 0 replies | Applied |
| 5/6 | panic: sys_info: Deduplicate local variable 'table; assignmentslib/ | +4 | 0 replies | Applied |
| 6/6 | panic: sys_info: Factor out read and write handlerslib/ | +46 | 3 replies | Applied |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Feng Tang | Petr Mladek |
|---|---|---|
| Series | R-b | |
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | ||
| 4/6 | ||
| 5/6 | R-b | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/6] panic: sys_info: Refactor and fix a potential 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 in a cleaner way and also fixes a potential problem with global variable access. Please, give it a try.
Changelog v3:
- addressed an issue with empty parameter returned (Feng)
- gathered tags (Feng)
Changelog v2:
v2: https://lore.kernel.org/r/[email protected]
- rebased on top of the current codebase
- addressed an issue when converting to match_string() (Feng)
- Cc'ed to Petr (requested by Feng)
v1: https://lore.kernel.org/r/[email protected]
Andy Shevchenko (6):
panic: sys_info: Capture si_bits_global before iterating over it
panic: sys_info: Align constant definition names with parameters
panic: sys_info: Replace struct sys_info_name with plain array of
strings
panic: sys_info: Rewrite a fix for a 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 | 138 +++++++++++++++++++++------------------ 3 files changed, 78 insertions(+), 64 deletions(-)
Signature · 1 line
2.50.1