Re: kobject_init_and_add() confusion

2019-05-11 Thread Tobin C. Harding
On Fri, May 10, 2019, at 19:40, Petr Mladek wrote: > On Fri 2019-05-10 12:35:38, Tobin C. Harding wrote: > > On Wed, May 01, 2019 at 09:54:16AM +0200, Rafael J. Wysocki wrote: > > > On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > > > TODO > > > > > > > > > > > > - Fix all the

Re: kobject_init_and_add() confusion

2019-05-10 Thread Petr Mladek
On Fri 2019-05-10 12:35:38, Tobin C. Harding wrote: > On Wed, May 01, 2019 at 09:54:16AM +0200, Rafael J. Wysocki wrote: > > On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > > TODO > > > > > > > > > - Fix all the callsites to kobject_init_and_add() > > > - Further clarify the

Re: kobject_init_and_add() confusion

2019-05-10 Thread Rafael J. Wysocki
On Fri, May 10, 2019 at 4:36 AM Tobin C. Harding wrote: > > On Wed, May 01, 2019 at 09:54:16AM +0200, Rafael J. Wysocki wrote: > > On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > > > > > Hi, > > > > > > Looks like I've created a bit of confusion trying to fix memleaks in > > > calls

Re: kobject_init_and_add() confusion

2019-05-09 Thread Tobin C. Harding
On Wed, May 01, 2019 at 09:54:16AM +0200, Rafael J. Wysocki wrote: > On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > > > Hi, > > > > Looks like I've created a bit of confusion trying to fix memleaks in > > calls to kobject_init_and_add(). Its spread over various patches and > >

Re: kobject_init_and_add() confusion

2019-05-03 Thread Petr Mladek
On Fri 2019-05-03 11:16:26, Tobin C. Harding wrote: > On Thu, May 02, 2019 at 10:34:12AM +0200, Petr Mladek wrote: > > On Wed 2019-05-01 09:38:03, Tobin C. Harding wrote: > > I guess that we need two examples. I currently understand > > it the following way: > > > > 1. sysfs interface and the

Re: kobject_init_and_add() confusion

2019-05-02 Thread Tobin C. Harding
On Thu, May 02, 2019 at 10:34:12AM +0200, Petr Mladek wrote: > On Wed 2019-05-01 09:38:03, Tobin C. Harding wrote: > > Hi, > > > > Looks like I've created a bit of confusion trying to fix memleaks in > > calls to kobject_init_and_add(). Its spread over various patches and > > mailing lists so

Re: kobject_init_and_add() confusion

2019-05-02 Thread Greg Kroah-Hartman
On Thu, May 02, 2019 at 10:34:12AM +0200, Petr Mladek wrote: > On Wed 2019-05-01 09:38:03, Tobin C. Harding wrote: > > Hi, > > > > Looks like I've created a bit of confusion trying to fix memleaks in > > calls to kobject_init_and_add(). Its spread over various patches and > > mailing lists so

Re: kobject_init_and_add() confusion

2019-05-02 Thread Petr Mladek
On Wed 2019-05-01 09:38:03, Tobin C. Harding wrote: > Hi, > > Looks like I've created a bit of confusion trying to fix memleaks in > calls to kobject_init_and_add(). Its spread over various patches and > mailing lists so I'm starting a new thread and CC'ing anyone that > commented on one of

Re: kobject_init_and_add() confusion

2019-05-02 Thread Greg Kroah-Hartman
On Thu, May 02, 2019 at 07:58:58AM +1000, Tobin C. Harding wrote: > On Wed, May 01, 2019 at 01:10:22PM +0200, Greg Kroah-Hartman wrote: > > On Wed, May 01, 2019 at 09:38:03AM +1000, Tobin C. Harding wrote: > > > Hi, > > > > > > Looks like I've created a bit of confusion trying to fix memleaks in

Re: kobject_init_and_add() confusion

2019-05-01 Thread Tobin C. Harding
On Wed, May 01, 2019 at 01:10:22PM +0200, Greg Kroah-Hartman wrote: > On Wed, May 01, 2019 at 09:38:03AM +1000, Tobin C. Harding wrote: > > Hi, > > > > Looks like I've created a bit of confusion trying to fix memleaks in > > calls to kobject_init_and_add(). Its spread over various patches and >

Re: kobject_init_and_add() confusion

2019-05-01 Thread Tobin C. Harding
On Wed, May 01, 2019 at 09:54:16AM +0200, Rafael J. Wysocki wrote: > On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > > > Hi, > > > > Looks like I've created a bit of confusion trying to fix memleaks in > > calls to kobject_init_and_add(). Its spread over various patches and > >

Re: kobject_init_and_add() confusion

2019-05-01 Thread Greg Kroah-Hartman
On Wed, May 01, 2019 at 09:38:03AM +1000, Tobin C. Harding wrote: > Hi, > > Looks like I've created a bit of confusion trying to fix memleaks in > calls to kobject_init_and_add(). Its spread over various patches and > mailing lists so I'm starting a new thread and CC'ing anyone that > commented

Re: kobject_init_and_add() confusion

2019-05-01 Thread Rafael J. Wysocki
On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > Hi, > > Looks like I've created a bit of confusion trying to fix memleaks in > calls to kobject_init_and_add(). Its spread over various patches and > mailing lists so I'm starting a new thread and CC'ing anyone that > commented on one of

kobject_init_and_add() confusion

2019-04-30 Thread Tobin C. Harding
Hi, Looks like I've created a bit of confusion trying to fix memleaks in calls to kobject_init_and_add(). Its spread over various patches and mailing lists so I'm starting a new thread and CC'ing anyone that commented on one of those patches. If there is a better way to go about this discussion