Re: [PATCH] pktcdvd : add kobject_put when kobject register fails
From: Pekka J Enberg
Date: Tue Dec 04 2007 - 03:05:37 EST
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@xxxxxxxxxxxxxx>
Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/