* [merged mm-stable] selftest-mm-fix-typo-in-virtual_address_range.patch removed from -mm tree
@ 2024-11-11 8:28 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-11-11 8:28 UTC (permalink / raw)
To: mm-commits, shuah, paul.walmsley, palmer, charlie, alex,
zhangchunyan, akpm
The quilt patch titled
Subject: selftest/mm: fix typo in virtual_address_range
has been removed from the -mm tree. Its filename was
selftest-mm-fix-typo-in-virtual_address_range.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: Chunyan Zhang <zhangchunyan@iscas.ac.cn>
Subject: selftest/mm: fix typo in virtual_address_range
Date: Tue, 8 Oct 2024 17:41:40 +0800
The function name should be *hint* address, so correct it.
Link: https://lkml.kernel.org/r/20241008094141.549248-4-zhangchunyan@iscas.ac.cn
Signed-off-by: Chunyan Zhang <zhangchunyan@iscas.ac.cn>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Cc: Alexandre Ghiti <alex@ghiti.fr>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
tools/testing/selftests/mm/virtual_address_range.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/tools/testing/selftests/mm/virtual_address_range.c~selftest-mm-fix-typo-in-virtual_address_range
+++ a/tools/testing/selftests/mm/virtual_address_range.c
@@ -64,7 +64,7 @@
#define NR_CHUNKS_HIGH NR_CHUNKS_384TB
#endif
-static char *hind_addr(void)
+static char *hint_addr(void)
{
int bits = HIGH_ADDR_SHIFT + rand() % (63 - HIGH_ADDR_SHIFT);
@@ -185,7 +185,7 @@ int main(int argc, char *argv[])
}
for (i = 0; i < NR_CHUNKS_HIGH; i++) {
- hint = hind_addr();
+ hint = hint_addr();
hptr[i] = mmap(hint, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
_
Patches currently in -mm which might be from zhangchunyan@iscas.ac.cn are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-11 8:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11 8:28 [merged mm-stable] selftest-mm-fix-typo-in-virtual_address_range.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.