[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251025163305.306787-10-yury.norov@gmail.com>
Date: Sat, 25 Oct 2025 12:32:59 -0400
From: "Yury Norov (NVIDIA)" <yury.norov@...il.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Lee Jones <lee@...nel.org>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
linux-mm@...ck.org
Cc: "Yury Norov (NVIDIA)" <yury.norov@...il.com>
Subject: [PATCH 17/21] mm: don't use GENMASK()
GENMASK(high, low) notation is confusing. FIRST_BITS() is more
appropriate.
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@...il.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
Powered by blists - more mailing lists