[PATCH] scripts/gdb: Correct grammar in page_owner.py

From: Florian Fainelli

Date: Thu Mar 26 2026 - 19:27:35 EST


Replace the error message with a grammatically correct message that
indicates the CONFIG_PAGE_OWNER option is not enabled.

Signed-off-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
---
scripts/gdb/linux/page_owner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gdb/linux/page_owner.py b/scripts/gdb/linux/page_owner.py
index 8e713a09cfe7..21e60d798578 100644
--- a/scripts/gdb/linux/page_owner.py
+++ b/scripts/gdb/linux/page_owner.py
@@ -40,7 +40,7 @@ class DumpPageOwner(gdb.Command):

def invoke(self, args, from_tty):
if not constants.LX_CONFIG_PAGE_OWNER:
- raise gdb.GdbError('CONFIG_PAGE_OWNER does not enable')
+ raise gdb.GdbError('CONFIG_PAGE_OWNER is not enabled')

page_owner_inited = gdb.parse_and_eval('page_owner_inited')
if page_owner_inited['key']['enabled']['counter'] != 0x1:
--
2.43.0