linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/page_alloc.c: fix a typo
@ 2008-05-06  9:38 Li Zefan
  2008-05-06  9:41 ` Li Zefan
  2008-05-06 18:18 ` Oliver Pinter
  0 siblings, 2 replies; 11+ messages in thread
From: Li Zefan @ 2008-05-06  9:38 UTC (permalink / raw)
  To: Andrew Morton; +Cc: clameter, LKML, linux-mm

---
 mm/page_alloc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index bdd5c43..d0ba10d 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -303,7 +303,7 @@ static void destroy_compound_page(struct page *page, unsigned long order)
 	for (i = 1; i < nr_pages; i++) {
 		struct page *p = page + i;
 
-		if (unlikely(!PageTail(p) |
+		if (unlikely(!PageTail(p) ||
 				(p->first_page != page)))
 			bad_page(page);
 		__ClearPageTail(p);
-- 1.5.4.rc3 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2008-05-08  0:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-06  9:38 [PATCH] mm/page_alloc.c: fix a typo Li Zefan
2008-05-06  9:41 ` Li Zefan
2008-05-06  9:50   ` Li Zefan
2008-05-06 14:19     ` Andrew Morton
2008-05-07  1:27       ` Li Zefan
2008-05-07  4:32         ` Li Zefan
2008-05-06 17:51     ` Christoph Lameter
2008-05-08  0:08       ` KOSAKI Motohiro
2008-05-06 18:18 ` Oliver Pinter
2008-05-06 18:26   ` Christoph Lameter
2008-05-06 18:28     ` Oliver Pinter

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