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.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies