On Thu, 28 Jun 2012, Gavin Shan wrote:
quoted hunk ↗ jump to hunk
diff --git a/mm/sparse.c b/mm/sparse.c
index a803599..8b8250e 100644
--- a/mm/sparse.c
+++ b/mm/sparse.c
@@ -149,6 +149,8 @@ int __section_nr(struct mem_section* ms)
break;
}
+ VM_BUG_ON(root_nr >= NR_SECTION_ROOTS);
+
VM_BUG_ON(root_nr == NR_SECTION_ROOTS);
--
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>