tools-mm-page-types-fix-kpageflags-option-argument-in-getopt_long.patch removed from -mm tree
The quilt patch titled
Subject: tools/mm/page-types: fix kpageflags option argument in getopt_long
has been removed from the -mm tree. Its filename was
tools-mm-page-types-fix-kpageflags-option-argument-in-getopt_long.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Ye Liu <[email protected]>
Subject: tools/mm/page-types: fix kpageflags option argument in getopt_long
Date: Wed, 13 May 2026 10:21:18 +0800
The --kpageflags option requires an argument to specify the kpageflags file path, but has_arg was set to 0 (no_argument) in the long options table. Change it to 1 (required_argument) so getopt_long correctly parses the argument.
---
tools/mm/page-types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/mm/page-types.c renamed from tools/mm/page-types.c~tools-mm-page-types-fix-kpageflags-option-argument-in-getopt_long +1 -1
@@ -1261,7 +1261,7 @@ static const struct option opts[] = { { "no-summary", 0, NULL, 'N' }, { "hwpoison" , 0, NULL, 'X' }, { "unpoison" , 0, NULL, 'x' }, - { "kpageflags", 0, NULL, 'F' }, + { "kpageflags", 1, NULL, 'F' }, { "help" , 0, NULL, 'h' }, { NULL , 0, NULL, 0 } };
_
Patches currently in -mm which might be from [email protected] are