linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: prefer 'unsigned int' over bare 'unsigned' in page_alloc.c
@ 2026-01-15 19:48 Manish Kumar
  2026-01-15 20:07 ` Joshua Hahn
  2026-01-15 20:08 ` Matthew Wilcox
  0 siblings, 2 replies; 4+ messages in thread
From: Manish Kumar @ 2026-01-15 19:48 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-kernel, Manish Kumar

Change the declaration of 'seq' from 'unsigned' to 'unsigned int'
to follow kernel coding style. No functional change.

Signed-off-by: Manish Kumar <manish1588@gmail.com>
---
 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-15 20:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-15 19:48 [PATCH] mm: prefer 'unsigned int' over bare 'unsigned' in page_alloc.c Manish Kumar
2026-01-15 20:07 ` Joshua Hahn
2026-01-15 20:11   ` Joshua Hahn
2026-01-15 20:08 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox