public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
From: grondon@gmail.com
To: andriy.shevchenko@intel.com
Cc: jic23@kernel.org, nuno.sa@analog.com, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org, Gabriel Rondon <grondon@gmail.com>
Subject: Re: [PATCH v2] iio: adc: ti-ads8688: use read_avail for available attributes
Date: Mon, 30 Mar 2026 19:14:59 +0100	[thread overview]
Message-ID: <20260330181459.64390-1-grondon@gmail.com> (raw)
In-Reply-To: <acT1CDjDmR6s6iUu@ashevche-desk.local>

From: Gabriel Rondon <grondon@gmail.com>

On Thu, 26 Mar 2026 10:57:44 +0200, Andy Shevchenko wrote:
> But it will still cut the value, so you most likely would like to have
> GENMASK_U16() or alike.

Jonathan suggested keeping the original expression -(1 << (ADS8688_REALBITS - 1))
to match the existing table, since -BIT() caused overflow warnings from the
kernel test robot. Will send v3 with the original expression.

Thanks,
Gabriel

      reply	other threads:[~2026-03-30 18:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-25 11:09 [PATCH v2] iio: adc: ti-ads8688: use read_avail for available attributes Gabriel Rondon
2026-03-25 19:42 ` kernel test robot
2026-03-25 20:46 ` kernel test robot
2026-03-26  8:55 ` Andy Shevchenko
2026-03-26  8:57   ` Andy Shevchenko
2026-03-30 18:14     ` grondon [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=20260330181459.64390-1-grondon@gmail.com \
    --to=grondon@gmail.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox