* [PATCH 17/21] mm: don't use GENMASK() [not found] <20251025164023.308884-1-yury.norov@gmail.com> @ 2025-10-25 16:40 ` Yury Norov (NVIDIA) 0 siblings, 0 replies; 2+ messages in thread From: Yury Norov (NVIDIA) @ 2025-10-25 16:40 UTC (permalink / raw) To: Linus Torvalds, Linus Walleij, Nicolas Frattaroli, Andrew Morton, linux-mm, linux-kernel Cc: Yury Norov (NVIDIA), Rasmus Villemoes GENMASK(high, low) notation is confusing. FIRST_BITS() is more appropriate. Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com> --- mm/debug_vm_pgtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/debug_vm_pgtable.c b/mm/debug_vm_pgtable.c index 830107b6dd08..b722dc3c091b 100644 --- a/mm/debug_vm_pgtable.c +++ b/mm/debug_vm_pgtable.c @@ -40,7 +40,7 @@ * expectations that are being validated here. All future changes in here * or the documentation need to be in sync. */ -#define RANDOM_NZVALUE GENMASK(7, 0) +#define RANDOM_NZVALUE FIRST_BITS(8) struct pgtable_debug_args { struct mm_struct *mm; -- 2.43.0 ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <20251025162858.305236-1-yury.norov@gmail.com>]
* [PATCH 17/21] mm: don't use GENMASK() [not found] <20251025162858.305236-1-yury.norov@gmail.com> @ 2025-10-25 16:32 ` Yury Norov (NVIDIA) 0 siblings, 0 replies; 2+ messages in thread From: Yury Norov (NVIDIA) @ 2025-10-25 16:32 UTC (permalink / raw) To: Linus Walleij, Lee Jones, linux-arm-kernel, linux-kernel, Andrew Morton, linux-mm Cc: Yury Norov (NVIDIA) GENMASK(high, low) notation is confusing. FIRST_BITS() is more appropriate. Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com> --- mm/debug_vm_pgtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/debug_vm_pgtable.c b/mm/debug_vm_pgtable.c index 830107b6dd08..b722dc3c091b 100644 --- a/mm/debug_vm_pgtable.c +++ b/mm/debug_vm_pgtable.c @@ -40,7 +40,7 @@ * expectations that are being validated here. All future changes in here * or the documentation need to be in sync. */ -#define RANDOM_NZVALUE GENMASK(7, 0) +#define RANDOM_NZVALUE FIRST_BITS(8) struct pgtable_debug_args { struct mm_struct *mm; -- 2.43.0 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-25 16:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20251025164023.308884-1-yury.norov@gmail.com>
2025-10-25 16:40 ` [PATCH 17/21] mm: don't use GENMASK() Yury Norov (NVIDIA)
[not found] <20251025162858.305236-1-yury.norov@gmail.com>
2025-10-25 16:32 ` Yury Norov (NVIDIA)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox