Re: linux-next: Tree for Aug 21 (drivers/thermal/qcom/qcom-spmi-mbg-tm.ko)
From: Randy Dunlap
Date: Tue Aug 25 2026 - 12:21:14 EST
On 8/25/26 6:27 AM, Rafael J. Wysocki wrote:
> 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?
Yes, the warnings are gone now. Thanks.
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> 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?
make O=xx64 allmodconfig
make O=xx64 -s all
>
> ---
> 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");
>
>
>
>
--
~Randy