From: Akira shimahara <akira215corp@gmail.com>
To: Randy Dunlap <rdunlap@infradead.org>, greg@kroah.com
Cc: zbr@ioremap.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 5/9] w1_therm: adding resolution sysfs entry
Date: Mon, 11 May 2020 09:13:38 +0200 [thread overview]
Message-ID: <6ad0616ecc6ec6ecf4622eca878ba7e7c52c475e.camel@gmail.com> (raw)
In-Reply-To: <7eb90dc8-2924-4c24-e305-5424c5953164@infradead.org>
Hi,
Le dimanche 10 mai 2020 à 20:25 -0700, Randy Dunlap a écrit :
> Hi,
>
>
>
> The kernel-doc comment changes look good. Thanks for doing that.
>
>
>
>
>
> On 5/10/20 7:17 AM, Akira Shimahara wrote:
>
>
>
> > diff --git a/drivers/w1/slaves/w1_therm.c
> > b/drivers/w1/slaves/w1_therm.c
> > index 08579dc..b1734ae 100644
> > --- a/drivers/w1/slaves/w1_therm.c
> > +++ b/drivers/w1/slaves/w1_therm.c
> > @@ -50,12 +50,24 @@ module_param_named(strong_pullup,
> > w1_strong_pullup, int, 0);
> >
> > /* Helpers Macros */
> >
> > +/* return a pointer on the slave w1_therm_family_converter struct:
> > + * always test family data existence before
> > + */
>
>
> /*
>
> * Kernel multi-line comment coding style (except for networking
> source code)
>
> * is like this.
>
> */
>
>
>
> (in multiple places)
>
>
>
> > +/**
> > + * write_scratchpad() - write nb_bytes in the device RAM
> > + * @sl: pointer to the slave to write in
> > + * @data: pointer to an array of 3 bytes, as 3 bytes MUST be
> > written
> > + * @nb_bytes: Nb bytes to be written (2 for DS18S20, 3 for other
> > devices)
>
>
> If Nb means Number, please spell it out.
>
>
>
> > + *
> > + * Return: 0 if success, -kernel error code otherwise
> > + */
> > +static int write_scratchpad(struct w1_slave *sl, const u8 *data,
> > u8 nb_bytes);
> > +
> > /**
> > * read_powermode() - Query the power mode of the slave
> > * @sl: slave to retrieve the power mode
>
>
>
>
> thanks.
>
> --
>
> ~Randy
Thanks for your comments and your time,
well noted, I will do
accordingly.
Akira Shimahara
prev parent reply other threads:[~2020-05-11 7:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-10 14:17 Akira Shimahara
2020-05-11 3:25 ` Randy Dunlap
2020-05-11 7:13 ` Akira shimahara [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=6ad0616ecc6ec6ecf4622eca878ba7e7c52c475e.camel@gmail.com \
--to=akira215corp@gmail.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=zbr@ioremap.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®