summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2025-12-08 13:52:40 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-01-21 06:24:43 +0300
commit8b8017d7c411403731ee4d502cdbd76e9425f0e1 (patch)
tree76efc6c2ea1b9d6ac32afa4e0dce1867a33a4a10 /include/linux
parent9f5edd785da3cf373285259928d7f1f08c9ce758 (diff)
downloadlinux-8b8017d7c411403731ee4d502cdbd76e9425f0e1.tar.xz
tools/mm/slabinfo: fix --partial long option mapping
The long option "--partial" was incorrectly mapped to lowercase 'p' in the opts[] array, but the getopt string and switch case handle uppercase 'P'. This mismatch caused --partial to be rejected. Fix the long_options mapping to use 'P' so --partial works correctly alongside the existing -P short option. Link: https://lkml.kernel.org/r/20251208105240.2719773-1-kaushlendra.kumar@intel.com Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> Reviewed-by: SeongJae Park <sj@kernel.org> Tested-by: SeongJae Park <sj@kernel.org> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions