[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090112113544.GA4609@jurassic.park.msu.ru>
Date: Mon, 12 Jan 2009 14:35:44 +0300
From: Ivan Kokshaysky <ink@...assic.park.msu.ru>
To: Johannes Weiner <hannes@...xchg.org>
Cc: Nick Piggin <npiggin@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Richard Henderson <rth@...ddle.net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] alpha: fix vmalloc breakage
On Mon, Jan 12, 2009 at 12:04:30AM +0100, Johannes Weiner wrote:
> > + va = alloc_bootmem(sizeof(struct vmap_area));
> > + if (!va)
> > + break;
>
> You don't need this check, alloc_bootmem() panics when it fails.
Ah, indeed. Thanks.
Ivan.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists