Messages in this thread | | | Subject | Re: [PATCH 04/14] memstick: core: fix device_register() error handling | From | James Bottomley <> | Date | Wed, 22 Sep 2010 11:23:57 -0500 |
| |
On Wed, 2010-09-22 at 09:20 -0700, Greg KH wrote: > > What other email? ... neither you nor Kay replied after either Boaz's > > patch or the corrected one were posted. > > See my other email a minute ago in response to this thread.
Can we start again? You've been replying to a patch to do a put_device() in device_register() which everyone agrees looks wrong.
The proposal to fix all of this is to free the kobject name and NULL it out in device_add(). That fixes all the places you and kay broke when you added the variable length name stuff.
James
| |