On Tue, Dec 04, 2007 at 10:05:24AM +0200, Pekka J Enberg wrote:
> 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
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
On Dec 4, 2007 3:45 PM, Pekka Enberg <[EMAIL PROTECTED]> wrote:
> Hi Dave,
>
> On Dec 4, 2007 3:31 AM, Dave Young <[EMAIL PROTECTED]> wrote:
> > Kobject_put should be called when kobject register functioin fails, so the
> > the kobj ref count touch zero and then the proper cleanup routines will be
On Dec 4, 2007 3:45 PM, Pekka Enberg [EMAIL PROTECTED] wrote:
Hi Dave,
On Dec 4, 2007 3:31 AM, Dave Young [EMAIL PROTECTED] wrote:
Kobject_put should be called when kobject register functioin fails, so the
the kobj ref count touch zero and then the proper cleanup routines will be
called.
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
On Tue, Dec 04, 2007 at 10:05:24AM +0200, Pekka J Enberg wrote:
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:
Hi Dave,
On Dec 4, 2007 3:31 AM, Dave Young <[EMAIL PROTECTED]> wrote:
> Kobject_put should be called when kobject register functioin fails, so the
> the kobj ref count touch zero and then the proper cleanup routines will be
> called.
[snip]
> diff -upr linux/drivers/block/pktcdvd.c
Kobject_put should be called when kobject register functioin fails, so the the
kobj ref count touch zero and then the proper cleanup routines will be called.
Signed-off-by: Dave Young <[EMAIL PROTECTED]>
---
drivers/block/pktcdvd.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Kobject_put should be called when kobject register functioin fails, so the the
kobj ref count touch zero and then the proper cleanup routines will be called.
Signed-off-by: Dave Young [EMAIL PROTECTED]
---
drivers/block/pktcdvd.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff
Hi Dave,
On Dec 4, 2007 3:31 AM, Dave Young [EMAIL PROTECTED] wrote:
Kobject_put should be called when kobject register functioin fails, so the
the kobj ref count touch zero and then the proper cleanup routines will be
called.
[snip]
diff -upr linux/drivers/block/pktcdvd.c
10 matches
Mail list logo