Re: usb serial driver: private data already deallocated when release function is called

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 08, 2013 at 12:14:19AM +0000, Tilman wrote:
> I added an addition port_probe, and port_remove function that do nothing but a
> "return 0". The bahavior is unchanged. The private data is already deallocated
> once the release function is called
> 
> Now, i have 2 follow up questions:
> 1) When I load and unload the kernel model, I get an error message Device
> 'usbrsatest' does not have a release() function, it is broken and must be fixed.
> I have a release function. What does this message tries to tell me ? I do have a
> release function.

It must not be the correct release function :)

Do you have a pointer to your code anywhere?  That would be the easiest
way to help you out here.  Otherwise we are just guessing as to the
issues involved.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux