From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Bartosz Golaszewski <brgl@kernel.org>
Cc: Linus Walleij <linusw@kernel.org>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 1/1] gpio: pcf857x: Use le16_to_cpu() and cpu_to_le16() in IO accessors
Date: Thu, 16 Jul 2026 20:25:40 +0300 [thread overview]
Message-ID: <alkUFLhqBfT9py62@ashevche-desk.local> (raw)
In-Reply-To: <CAMRc=MdzOrvg5bF0oy8s3nk+zarW44je=9RYtzwWknqgD8RrkA@mail.gmail.com>
On Thu, Jul 16, 2026 at 07:13:39AM -0700, Bartosz Golaszewski wrote:
> On Wed, 15 Jul 2026 18:39:44 +0200, Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> said:
> > 16-bit expander data is an __le16, use le16_to_cpu() to read it.
> > In the similar way use cpu_to_le16() to write __le16 value.
> Fixes: and Cc: stable?
It just changes the open coded approach with the provided APIs, no fix of
anything other than source code.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-07-16 17:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 16:39 Andy Shevchenko
2026-07-16 14:13 ` Bartosz Golaszewski
2026-07-16 17:25 ` Andy Shevchenko [this message]
2026-07-17 9:00 ` Bartosz Golaszewski
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=alkUFLhqBfT9py62@ashevche-desk.local \
--to=andriy.shevchenko@linux.intel.com \
--cc=brgl@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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®