"resource: provide new functions to walk through resources" breaks UML

From: Richard Weinberger
Date: Sun Aug 10 2014 - 12:56:25 EST


Hi Vivek,

Daniel Walter reported that UML is currently broken.
The offending commit is:

commit 8c86e70acead629aacb4afcd818add66bf6844d9
Author: Vivek Goyal <vgoyal@xxxxxxxxxx>
Date: Fri Aug 8 14:25:50 2014 -0700

resource: provide new functions to walk through resources

It dies in next_resource():
/* Caller wants to traverse through siblings only */
if (sibling_only)
return p->sibling;

because p is NULL.
Please note that UML has no iomem, maybe this is the problem...

Thanks,
//richard
--
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/