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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dave Young <hidave.darkstar@...>
Cc: <petero2@...>, <linux-kernel@...>
Date: Tuesday, December 4, 2007 - 3:45 am

Hi Dave,

On Dec 4, 2007 3:31 AM, Dave Young <hidave.darkstar@gmail.com> wrote:

[snip]


This looks wrong to me. AFAICT the only thing that can fail
kobject_register() is kobject_add() and it cleans up after itself. Am
I missing something here?

                           Pekka
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] pktcdvd : add kobject_put when kobject register ..., Pekka Enberg, (Tue Dec 4, 3:45 am)