Skip to contentSkip to conversation

mm: page-flags.h: Typo fix (It -> If)

PATCH Applied [email protected] 1 participant 1 message Dec 26, 2020

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 1/1 mm: page-flags.h: Typo fix (It -> If)

From: Guo Ren <[email protected]>

The "If" was wrongly spelled as "It".

Cc Andrew Morton <[email protected]>
Cc Oscar Salvador <[email protected]>
Cc Alexander Duyck <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc Steven Price <[email protected]>
---
 include/linux/page-flags.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/page-flags.h +2 -2
index 4f6ba93..e7b4242 100644
@@ -824,7 +824,7 @@ static inline void ClearPageSlabPfmemalloc(struct page *page)
 
 /*
  * Flags checked when a page is freed.  Pages being freed should not have
- * these flags set.  It they are, there is a problem.
+ * these flags set.  If they are, there is a problem.
  */
 #define PAGE_FLAGS_CHECK_AT_FREE				\
 	(1UL << PG_lru		| 1UL << PG_locked	|	\
@@ -835,7 +835,7 @@ static inline void ClearPageSlabPfmemalloc(struct page *page)
 
 /*
  * Flags checked when a page is prepped for return by the page allocator.
- * Pages being prepped should not have these flags set.  It they are set,
+ * Pages being prepped should not have these flags set.  If they are set,
  * there has been a kernel bug or struct page corruption.
  *
  * __PG_HWPOISON is exceptional because it needs to be kept beyond page's
Signature · 1 line
2.7.4