Re: [RFC PATCH] sparc/kernel/vio.c: add put_device() after device_find_child()

2013-05-04 Thread David Miller
From: Federico Vaga Date: Mon, 15 Apr 2013 16:42:52 +0200 > The vio_remove() function uses device_find_child() but it does not drop > the reference of the retrieved child. > > Signed-off-by: Federico Vaga Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

[RFC PATCH] sparc/kernel/vio.c: add put_device() after device_find_child()

2013-04-15 Thread Federico Vaga
The vio_remove() function uses device_find_child() but it does not drop the reference of the retrieved child. Signed-off-by: Federico Vaga --- I do not have a SPARC system (and I do not know it), so I cannot test this patch. Please test it. If I'm right, the device_unregister() does not work pro