* [folded-merged] panic-sys_info-factor-out-read-and-write-handlers-checkpatch-fixes.patch removed from -mm tree
@ 2025-11-20 21:51 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-11-20 21:51 UTC (permalink / raw)
To: mm-commits, pmladek, feng.tang, andriy.shevchenko, akpm, akpm
The quilt patch titled
Subject: panic-sys_info-factor-out-read-and-write-handlers-checkpatch-fixes
has been removed from the -mm tree. Its filename was
panic-sys_info-factor-out-read-and-write-handlers-checkpatch-fixes.patch
This patch was dropped because it was folded into panic-sys_info-factor-out-read-and-write-handlers.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: panic-sys_info-factor-out-read-and-write-handlers-checkpatch-fixes
Date: Thu Oct 30 08:14:21 PM PDT 2025
WARNING: struct ctl_table should normally be const
#24: FILE: lib/sys_info.c:46:
+static int sys_info_write_handler(struct ctl_table *table,
WARNING: struct ctl_table should normally be const
#43: FILE: lib/sys_info.c:65:
+static int sys_info_read_handler(struct ctl_table *table,
total: 0 errors, 2 warnings, 99 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
./patches/panic-sys_info-factor-out-read-and-write-handlers.patch has style problems, please review.
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Feng Tang <feng.tang@linux.alibaba.com>
Cc: Petr Mladek <pmladek@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
lib/sys_info.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/lib/sys_info.c~panic-sys_info-factor-out-read-and-write-handlers-checkpatch-fixes
+++ a/lib/sys_info.c
@@ -43,7 +43,7 @@ unsigned long sys_info_parse_param(char
#ifdef CONFIG_SYSCTL
-static int sys_info_write_handler(struct ctl_table *table,
+static int sys_info_write_handler(const struct ctl_table *table,
void *buffer, size_t *lenp, loff_t *ppos,
unsigned long *si_bits_global)
{
@@ -62,7 +62,7 @@ static int sys_info_write_handler(struct
return 0;
}
-static int sys_info_read_handler(struct ctl_table *table,
+static int sys_info_read_handler(const struct ctl_table *table,
void *buffer, size_t *lenp, loff_t *ppos,
unsigned long *si_bits_global)
{
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-khugepaged-unify-pmd-folio-installation-with-map_anon_folio_pmd-fix.patch
mm-huge_memory-introduce-enum-split_type-for-clarity-fix.patch
mm-correctly-handle-uffd-pte-markers-fix.patch
mm-huge_memoryc-introduce-folio_split_unmapped-v2-fix-fix.patch
panic-sys_info-factor-out-read-and-write-handlers.patch
lib-base64-optimize-base64_decode-with-reverse-lookup-tables-fix.patch
lib-base64-rework-encode-decode-for-speed-and-stricter-validation-fix.patch
uaccess-gate-_copy__user-on-inline_copy_from_user-fix.patch
memblock-unpreserve-memory-in-case-of-error-fix.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-11-20 21:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-20 21:51 [folded-merged] panic-sys_info-factor-out-read-and-write-handlers-checkpatch-fixes.patch removed from -mm tree Andrew Morton
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.