All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mohana Datta Yelugoti <ymdatta.work@gmail.com>
To: Greg KH <greg@kroah.com>
Cc: lukas.bulwahn@gmail.com, kernelnewbies@kernelnewbies.org
Subject: Re: Doubt on show() function of sysfs attribute
Date: Wed, 27 Jan 2021 21:51:04 +0530	[thread overview]
Message-ID: <9f0dde74-cb21-0bf8-2a20-0cd82cf0c505@gmail.com> (raw)
In-Reply-To: <YBEf7EYr3t/cFvEt@kroah.com>


> 
> 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

      parent reply	other threads:[~2021-01-27 16:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-26 17:37 Doubt on show() function of sysfs attribute Mohana Datta Yelugoti
2021-01-27  3:51 ` Valdis Klētnieks
2021-01-27  8:10 ` Greg KH
2021-01-27  9:39   ` Lukas Bulwahn
2021-01-27 16:21   ` Mohana Datta Yelugoti [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9f0dde74-cb21-0bf8-2a20-0cd82cf0c505@gmail.com \
    --to=ymdatta.work@gmail.com \
    --cc=greg@kroah.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=lukas.bulwahn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.