Jan. 27, 2021
4:21 p.m.
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.