From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Marcelo Machado Lage <marcelomlage@usp.br>
Cc: Jonathan Cameron <jic23@kernel.org>,
andy@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com,
Vinicius Lira <vinilira@usp.br>,
linux-iio@vger.kernel.org
Subject: Re: [PATCH v3 1/2] iio: adc: mcp3422: rewrite mask macros using bits.h macros
Date: Fri, 24 Apr 2026 11:52:14 +0300 [thread overview]
Message-ID: <aesvPuRfJk2tE6Ro@ashevche-desk.local> (raw)
In-Reply-To: <CAO=vGZrJjwsPtFeo+Nj1k8rKpHehsVUhwFCxzeTAeJinTL_ssw@mail.gmail.com>
On Thu, Apr 23, 2026 at 04:15:54PM -0300, Marcelo Machado Lage wrote:
Please, stop top-posting! It's not how we do in Linux kernel mailing lists.
> Thank you for your comments. We will correct the mistake in the commit
> message in the next version of the patch.
> Regarding the comments at
> https://sashiko.dev/#/patchset/20260420191455.529923-1-marcelomlage%40usp.br,
> we appreciate the opportunity to learn about this resource. However,
> after going through the content there, we do not feel confident to
> address other pre-existing issues in the code at the moment.
Also drop the second 'macros' in the Subject or rephrase it.
Exempli gratia: 'rewrite mask macros with help of bits.h APIs'.
> Em ter., 21 de abr. de 2026 às 12:55, Jonathan Cameron
> <jic23@kernel.org> escreveu:
> >
> > On Mon, 20 Apr 2026 16:14:54 -0300
> > Marcelo Machado Lage <marcelomlage@usp.br> wrote:
> >
> > > Rewrite MCP3422_CHANNEL_MASK, MCP3422_PGA_MASK, MCP3422_PGA_MASK
> > > and MCP3422_CONT_SAMPLING using GENMASK() and BIT() macros from
> > > bits.h.
> > https://sashiko.dev/#/patchset/20260420191455.529923-1-marcelomlage%40usp.br
> > pointed out repetition of PGA_MASK.
> >
> > The other comments are a mixed bag but it's worth taking a look to see
> > if you think any of them matter. They are all really about the existin
> > code.
> > > The other macros MCP3422_SRATE_{240, 60, 15, 3} were not changed
> > > because they are also used as array indices.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-04-24 8:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 19:14 [PATCH v3 0/2] iio: adc: mcp3422: apply bit manipulation macros Marcelo Machado Lage
2026-04-20 19:14 ` [PATCH v3 1/2] iio: adc: mcp3422: rewrite mask macros using bits.h macros Marcelo Machado Lage
2026-04-21 15:54 ` Jonathan Cameron
2026-04-23 19:15 ` Marcelo Machado Lage
2026-04-24 8:52 ` Andy Shevchenko [this message]
2026-04-20 19:14 ` [PATCH v3 2/2] iio: adc: mcp3422: write bit operations with bitfield.h macros Marcelo Machado Lage
2026-04-20 20:24 ` Andy Shevchenko
2026-04-21 14:52 ` Jonathan Cameron
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=aesvPuRfJk2tE6Ro@ashevche-desk.local \
--to=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=marcelomlage@usp.br \
--cc=nuno.sa@analog.com \
--cc=vinilira@usp.br \
/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