Re: [PATCH 05/38] sparc: kernel: add missing put_device call

2013-12-27 Thread David Miller
From: Levente Kurusa Date: Thu, 19 Dec 2013 16:03:16 +0100 > This is required so that we give up the last reference to the device. > The kfree() has been removed because put_device will set the underlying kref's > reference count to zero and hence vio_dev_release will get called resulting in >

Re: [PATCH 05/38] sparc: kernel: add missing put_device call

2013-12-27 Thread David Miller
From: Levente Kurusa le...@linux.com Date: Thu, 19 Dec 2013 16:03:16 +0100 This is required so that we give up the last reference to the device. The kfree() has been removed because put_device will set the underlying kref's reference count to zero and hence vio_dev_release will get called

[PATCH 05/38] sparc: kernel: add missing put_device call

2013-12-19 Thread Levente Kurusa
This is required so that we give up the last reference to the device. The kfree() has been removed because put_device will set the underlying kref's reference count to zero and hence vio_dev_release will get called resulting in kfreeing the structure. Signed-off-by: Levente Kurusa ---

[PATCH 05/38] sparc: kernel: add missing put_device call

2013-12-19 Thread Levente Kurusa
This is required so that we give up the last reference to the device. The kfree() has been removed because put_device will set the underlying kref's reference count to zero and hence vio_dev_release will get called resulting in kfreeing the structure. Signed-off-by: Levente Kurusa le...@linux.com