[PATCH] mm: prefer 'unsigned int' over bare 'unsigned' in page_alloc.c
From: Manish Kumar
Date: Thu Jan 15 2026 - 14:48:53 EST
Change the declaration of 'seq' from 'unsigned' to 'unsigned int'
to follow kernel coding style. No functional change.
Signed-off-by: Manish Kumar <manish1588@xxxxxxxxx>
---
mm/page_alloc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 231950d9d5c0..5e132ead5ea0 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -577,7 +577,7 @@ void __meminit init_pageblock_migratetype(struct page *page,
static int page_outside_zone_boundaries(struct zone *zone, struct page *page)
{
int ret;
- unsigned seq;
+ unsigned int seq;
unsigned long pfn = page_to_pfn(page);
unsigned long sp, start_pfn;
@@ -659,7 +659,7 @@ static inline unsigned int order_to_pindex(int migratetype, int order)
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
bool movable;
-
+
if (order > PAGE_ALLOC_COSTLY_ORDER) {
VM_BUG_ON(order != HPAGE_PMD_ORDER);
--
2.43.0