diff --git a/[refs] b/[refs] index 94ef521cc813..d9e236dab155 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bd6cba53c524dccf72900435d29722b22f61d835 +refs/heads/master: af0cd5a7c3cded50c25e98acd94912d17a0eb914 diff --git a/trunk/mm/sparse.c b/trunk/mm/sparse.c index e06f514fe04f..d245e59048a8 100644 --- a/trunk/mm/sparse.c +++ b/trunk/mm/sparse.c @@ -83,6 +83,8 @@ static int __meminit sparse_index_init(unsigned long section_nr, int nid) return -EEXIST; section = sparse_index_alloc(nid); + if (!section) + return -ENOMEM; /* * This lock keeps two different sections from * reallocating for the same index