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

From: Vivek Goyal
Date: Mon Aug 11 2014 - 08:22:57 EST


On Sun, Aug 10, 2014 at 06:56:14PM +0200, Richard Weinberger wrote:
> Hi Vivek,
>
> Daniel Walter reported that UML is currently broken.
> The offending commit is:
>

Hi Richard,

Thanks for pointing it out. I will look into it.

Would you have link to the report Daniel sent. I am interested in
looking at backtrace.

Thanks
Vivek

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