More info about kobj_attribute store and show functions

Greg KH greg at kroah.com
Wed Sep 3 20:56:49 EDT 2014


A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top

On Wed, Sep 03, 2014 at 09:39:50PM -0300, Lucas Tanure wrote:
> Greg, 
> 
> I'm still trying to understand the sysfs. 

Why?  What are you using "raw kobjects" for?  You should almost never
need them.

> I indeed read the documentation, I was using your "Sample kobject
> implementation" as base of my code.

Great, then it should "just work", right?  :)

Care to post your non-working code?

thanks,

greg k-h



More information about the Kernelnewbies mailing list