Re: [PATCH] pktcdvd : add kobject_put when kobject register fails

Pekka J Enberg
2007-12-04T08:05:34Z

Hi Dave,

On Tue, 4 Dec 2007, Dave Young wrote:
> the kobject reference is get in kobject_init, and then kobject_add, if
> kobject_add fail, it will only cleanup the reference got by itsself.
>
> This topic is discussed in:
> http://lkml.org/lkml/2007/11/30/9

Ok, thanks! Please the explanation to the changelog too.

Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>

Pekka