Re: [uml-devel] "resource: provide new functions to walk through resources" breaks UML

2014-08-11 Thread Vivek Goyal
m interested in looking at backtrace. Thanks Vivek > commit 8c86e70acead629aacb4afcd818add66bf6844d9 > Author: Vivek Goyal > Date: Fri Aug 8 14:25:50 2014 -0700 > > resource: provide new functions to walk through resources > > It dies in next_resource(): >

Re: [uml-devel] "resource: provide new functions to walk through resources" breaks UML

2014-08-11 Thread Vivek Goyal
On Mon, Aug 11, 2014 at 02:25:56PM +0200, Richard Weinberger wrote: > Hi Vivek, > > Am 11.08.2014 14:22, schrieb Vivek Goyal: > > On Sun, Aug 10, 2014 at 06:56:14PM +0200, Richard Weinberger wrote: > >> Hi Vivek, > >> > >> Daniel Walter reported that U

[uml-devel] [PATCH] resource: Fix the case of null pointer access

2014-08-12 Thread Vivek Goyal
w_thread_handler+0x81/0xa3 Reported-by: Daniel Walter Tested-by: Richard Weinberger Tested-by: Toralf Förster Tested-by: Daniel Walter Signed-off-by: Vivek Goyal --- kernel/resource.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) Index: linux-2.6/kernel/resource.c

Re: [uml-devel] [PATCH] resource: Fix the case of null pointer access

2014-08-12 Thread Vivek Goyal
On Tue, Aug 12, 2014 at 04:49:35PM +0200, Richard Weinberger wrote: > Am 12.08.2014 16:46, schrieb Vivek Goyal: > > Richard and Daniel reported that UML is broken due to changes to resource > > traversal functions. Problem is that iomem_resource.child can be null > > and new c