tools-mm-page-types-fix-typo-in-madvise-error-message.patch removed from -mm tree
The quilt patch titled
Subject: tools/mm/page-types: fix typo in madvise() error message
has been removed from the -mm tree. Its filename was
tools-mm-page-types-fix-typo-in-madvise-error-message.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 typo in madvise() error message
Date: Wed, 13 May 2026 10:21:16 +0800
Patch series "tools/mm/page-types: Fix misc bugs".
This series fixes three issues in tools/mm/page-types.c:
1. Fix two typos in madvise() error messages ("madvice" -> "madvise")
2. Fix operator precedence bug in the sigbus handler where the ternary operator binds looser than addition, producing incorrect offset calculation when sigbus_addr is non-NULL
3. Fix --kpageflags option declaration in getopt_long: has_arg should be 1 (required_argument) since the option requires a file path
This patch (of 3):
Two error messages incorrectly spelled the madvise() function name as "madvice". Fix the typo in both occurrences.
---
tools/mm/page-types.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/mm/page-types.c renamed from tools/mm/page-types.c~tools-mm-page-types-fix-typo-in-madvise-error-message +2 -2
@@ -997,7 +997,7 @@ static void walk_file_range(const char */* turn off readahead */ if (madvise (ptr, len,MADV_RANDOM )) -fatal ("madvice failed: %s" , name); +fatal ("madvise failed: %s" , name);if (sigsetjmp (sigbus_jmp,1 )) { end = off + sigbus_addr ? sigbus_addr - ptr :0 ;
@@ -1015,7 +1015,7 @@ got_sigbus:/* turn off harvesting reference bits */ if (madvise (ptr, len,MADV_SEQUENTIAL )) -fatal ("madvice failed: %s" , name); +fatal ("madvise failed: %s" , name);if (pagemap_read (buf, (unsigned long )ptr / page_size, nr_pages) != nr_pages)
_
Patches currently in -mm which might be from [email protected] are