Doubt on show() function of sysfs attribute
    Mohana Datta Yelugoti 
    ymdatta.work at gmail.com
       
    Wed Jan 27 11:21:04 EST 2021
    
    
  
> 
> See the thousands of examples in the kernel of this if you need proof :)
> 
True. I was actually confused because many kernel examples use
sysfs_emit() and here in sysfs_emit(), the buffer is not completely
filled.
But, i got it now. I will experiment more and will see if i can
send a patch updating sysfs.rst accordingly.
Thank you.
Cheers,
ymdatta.
    
    
More information about the Kernelnewbies
mailing list