From: Shawn Guo <shengchao.guo@oss.qualcomm.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko@intel.com>,
Amit Kucheria <amitk@kernel.org>,
Thara Gopinath <thara.gopinath@gmail.com>,
"Rafael J . Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Zhang Rui <rui.zhang@intel.com>,
Lukasz Luba <lukasz.luba@arm.com>,
Guenter Roeck <linux@roeck-us.net>, Vinod Koul <vkoul@kernel.org>,
Sebastian Reichel <sebastian.reichel@collabora.com>,
linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] thermal/drivers/qcom/spmi-mbg-tm: Import IIO_CONSUMER namespace
Date: Sat, 29 Aug 2026 17:56:24 +0800 [thread overview]
Message-ID: <apKsyKdePJ3HKT2N@QCOM-aGQu4IUr3Y> (raw)
In-Reply-To: <20260828234249.0c729e5e@jic23-huawei>
On Fri, Aug 28, 2026 at 11:42:49PM +0100, Jonathan Cameron wrote:
> On Thu, 27 Aug 2026 22:35:27 +0800
> Shawn Guo <shengchao.guo@oss.qualcomm.com> wrote:
>
> > On Thu, Aug 27, 2026 at 03:52:42PM +0300, Andy Shevchenko wrote:
> > > On Thu, Aug 27, 2026 at 06:35:55PM +0800, Shawn Guo wrote:
> > > > The IIO consumer interface symbols moved into the IIO_CONSUMER namespace,
> > > > so consumers must import it explicitly. Without it modpost fails on
> > >
> > > > 'iio_read_channel_processed' and 'devm_iio_channel_get':
> > >
> > > iio_read_channel_processed()
> > > devm_iio_channel_get()
> >
> > Sure, will update.
> >
> > >
> > > > ERROR: modpost: drivers/thermal/qcom/qcom-spmi-mbg-tm.ko: module uses
> > > > symbol 'iio_read_channel_processed' from namespace 'IIO_CONSUMER', but
> > > > does not import it.
> > >
> > > > Fixes: ebf1d03dab96 ("iio: inkern: Use namespaced exports")
> > >
> > > Shouldn't this be backported to stable kernels?
> >
> > The offending commit just landed on mainline during this merge window.
> > So there is no stable kernels concerned by this.
>
> There is a fix on the thermal tree. I though that was enough. Maybe this
> races with that fix going upstream?
Ah, I see! That's a fix from Nathan Chancellor. Ignore mine then.
Thanks Jonathan!
Shawn
prev parent reply other threads:[~2026-08-29 9:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 10:35 [PATCH] thermal/drivers/qcom/spmi-mbg-tm: Import IIO_CONSUMER namespace Shawn Guo
2026-08-27 12:52 ` Andy Shevchenko
2026-08-27 14:35 ` Shawn Guo
2026-08-28 22:42 ` Jonathan Cameron
2026-08-29 9:56 ` Shawn Guo [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=apKsyKdePJ3HKT2N@QCOM-aGQu4IUr3Y \
--to=shengchao.guo@oss.qualcomm.com \
--cc=amitk@kernel.org \
--cc=andriy.shevchenko@intel.com \
--cc=daniel.lezcano@kernel.org \
--cc=jic23@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lukasz.luba@arm.com \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=sebastian.reichel@collabora.com \
--cc=thara.gopinath@gmail.com \
--cc=vkoul@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