Re: [PATCH] x86: split e820 reserved entries record to late v4 -fix

From: Linus Torvalds
Date: Fri Aug 29 2008 - 12:56:26 EST




On Fri, 29 Aug 2008, Yinghai Lu wrote:
> >
> > void insert_resource_expand_to_fit(struct resource *root, struct resource *new)
> > {
> > write_lock(&resource_lock);
> > while (new->start && new->parent) {

That should obviously be

while (new->start && !new->parent) {
^^^

oops.

I told you it was untested ;)

Linus
--
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/