Re: [PATCH] alpha: fix vmalloc breakage

From: Ivan Kokshaysky
Date: Mon Jan 12 2009 - 06:35:50 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/