Skip to contentSkip to conversation

mm-page_owner-fix-%pgp-format-specifier-argument-type.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 29

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/page_owner: fix %pGp format specifier argument type
has been removed from the -mm tree. Its filename was
mm-page_owner-fix-%pgp-format-specifier-argument-type.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: Zhen Ni <[email protected]>
Subject: mm/page_owner: fix %pGp format specifier argument type
Date: Tue, 14 Apr 2026 15:58:13 +0800

The %pGp format specifier expects an argument of type 'unsigned long *', but page->flags is now of type 'memdesc_flags_t' (a struct containing an unsigned long member 'f') after the introduction of memdesc_flags_t.

Fix the type mismatch by passing &page->flags.f instead of &page->flags, which matches the expected type.

Fixes 53fbef56e07d ("mm: introduce memdesc_flags_t")
Cc Brendan Jackman <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Zi Yan <[email protected]>

---

 mm/page_owner.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/page_owner.c renamed from mm/page_owner.c~mm-page_owner-fix-%pgp-format-specifier-argument-type +1 -1
@@ -573,7 +573,7 @@ print_page_owner(char __user *buf, size_
 			migratetype_names[page_mt],
 			pfn >> pageblock_order,
 			migratetype_names[pageblock_mt],
-			&page->flags);
+			&page->flags.f);
 
 	ret += stack_depot_snprint(handle, kbuf + ret, count - ret, 0);
 	if (ret >= count)

_

Patches currently in -mm which might be from [email protected] are