From: Jonathan Cameron <jic23@kernel.org>
To: Ethan Tidmore <ethantidmore06@gmail.com>
Cc: andy@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] iio: light: gp2ap020a00f: Correct return type to int
Date: Sat, 14 Feb 2026 19:09:27 +0000 [thread overview]
Message-ID: <20260214190927.54031ab6@jic23-huawei> (raw)
In-Reply-To: <20260211200654.25648-1-ethantidmore06@gmail.com>
On Wed, 11 Feb 2026 14:06:54 -0600
Ethan Tidmore <ethantidmore06@gmail.com> wrote:
> The function gp2ap020a00f_get_thresh_reg() can return -EINVAL in
> its error path. Yet, the function has return type of u8. Add error
> checking for gp2ap020a00f_get_thresh_reg() return's value.
>
> Fixes: 5d6a25bad035 ("iio:gp2ap020a00f: Switch to new event config interface")
> Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Ah. I forgot to check for a v2.
See comments on v1.
Jonathan
prev parent reply other threads:[~2026-02-14 19:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-11 20:06 [PATCH v2] iio: light: gp2ap020a00f: Correct return type to int Ethan Tidmore
2026-02-14 19:09 ` Jonathan Cameron [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=20260214190927.54031ab6@jic23-huawei \
--to=jic23@kernel.org \
--cc=andy@kernel.org \
--cc=ethantidmore06@gmail.com \
--cc=linux-iio@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