From: Arnav Kapoor <kapoorarnav43@gmail.com>
To: Ilia Snezhkov <iasnezhkov@gmail.com>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] iio: inkern: guard fwnode_xlate with info_exist_lock
Date: Thu, 26 Nov 2026 12:25:16 +0530 [thread overview]
Message-ID: <20261126065516.678227-1-kapoorarnav43@gmail.com> (raw)
In-Reply-To: <20261126060615.63790-1-iasnezhkov@gmail.com>
On Thu, Nov 26, 2026 at 06:06:15AM +0000, Ilia Snezhkov wrote:
> Hold iio_dev_opaque->info_exist_lock with scoped_guard(mutex, ...)
> matching the rest of inkern.c, and return -EPROBE_DEFER if
> indio_dev->info is NULL.
Thanks for the respin. -EPROBE_DEFER matches what the !idev path
already returns, so the race no longer looks like the -ENODEV
"keep looking" case to the parent/map-list fallbacks, and the
unrelated num_channels check is gone. Applies to iio testing and is
checkpatch clean.
Reviewed-by: Arnav Kapoor <kapoorarnav43@gmail.com>
prev parent reply other threads:[~2026-11-26 6:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 6:06 Ilia Snezhkov via B4 Relay
2026-11-26 6:55 ` Arnav Kapoor [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=20261126065516.678227-1-kapoorarnav43@gmail.com \
--to=kapoorarnav43@gmail.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=iasnezhkov@gmail.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
all inboxes | Powered by JetHome®