diff options
| author | Ye Liu <liuye@kylinos.cn> | 2026-05-13 05:21:18 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-06-03 01:22:18 +0300 |
| commit | 3fb355431eb864a95be3b832605d0575f43d6971 (patch) | |
| tree | cdedba4da675afedbf8b90bdef674573ca005415 /include/linux | |
| parent | e696ff06db374c1adb877d20e56085abe1d109a3 (diff) | |
| download | linux-3fb355431eb864a95be3b832605d0575f43d6971.tar.xz | |
tools/mm/page-types: fix kpageflags option argument in getopt_long
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.
Link: https://lore.kernel.org/20260513022120.58033-4-ye.liu@linux.dev
Signed-off-by: Ye Liu <liuye@kylinos.cn>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
