Re: linux-next: Tree for Aug 21 (drivers/thermal/qcom/qcom-spmi-mbg-tm.ko)

From: Rafael J. Wysocki

Date: Tue Aug 25 2026 - 09:37:09 EST


On Monday, August 24, 2026 9:15:16 PM CEST Randy Dunlap wrote:
>
> On 8/21/26 8:32 AM, Mark Brown wrote:
> > Hi all,
> >
> > Changes since 20260820:
> >
> > None.
> >
> > Non-merge commits (relative to Linus' tree): 7073
> > 5989 files changed, 509370 insertions(+), 156446 deletions(-)
>
> on x86_64 allmodconfig:
>
> WARNING: modpost: drivers/thermal/qcom/qcom-spmi-mbg-tm.ko: module uses symbol 'devm_iio_channel_get' from namespace 'IIO_CONSUMER', but does not import it.
> WARNING: 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.

Does the appended patch address it?

Interestingly enough, it doesn't complain for me when I build the
thermal tree merged on top of the current mainline.

How exactly do you build it?

---
drivers/thermal/qcom/qcom-spmi-mbg-tm.c | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/thermal/qcom/qcom-spmi-mbg-tm.c
+++ b/drivers/thermal/qcom/qcom-spmi-mbg-tm.c
@@ -252,5 +252,6 @@ static struct platform_driver mbg_tm_dri
};
module_platform_driver(mbg_tm_driver);

+MODULE_IMPORT_NS("IIO_CONSUMER");
MODULE_DESCRIPTION("PMIC MBG Temperature monitor driver");
MODULE_LICENSE("GPL");