Re: [PATCH 7/7] thermal: qoriq: Add thermal management support

From: Hongtao Jia
Date: Sun Jun 12 2016 - 05:33:11 EST


Hi all,

I received this auto build error notice. I have something to clarify and ask:
- [cannot apply to robh/for-next soc-thermal/next]
It could apply to robh/for-next.
It could not apply to soc-thermal/next because this branch is not updated to the latest kernel.

- [auto build test ERROR on v4.7-rc1] [also build test ERROR on next-20160603]
It passed all build test under ARCH=arm/powerpc/x86.
The error log under ARCH=um "implicit declaration of function 'iounmap'" looks odd for me because
I believe it's included in <linux/io.h>. Any suggestions for me to fix this issue?

Thanks.
- Hongtao


> -----邮件原件-----
> 发件人: kbuild test robot [mailto:lkp@xxxxxxxxx]
> 发送时间: Monday, June 06, 2016 1:52 AM
> 收件人: Hongtao Jia <hongtao.jia@xxxxxxx>
> 抄送: kbuild-all@xxxxxx; edubezval@xxxxxxxxx; rui.zhang@xxxxxxxxx;
> robh+dt@xxxxxxxxxx; galak@xxxxxxxxxxxxxx; Scott Wood
> <scott.wood@xxxxxxx>; shawnguo@xxxxxxxxxx; linux-pm@xxxxxxxxxxxxxxx;
> devicetree@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; linuxppc-
> dev@xxxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; Hongtao Jia
> <hongtao.jia@xxxxxxx>
> 主题: Re: [PATCH 7/7] thermal: qoriq: Add thermal management support
>
> Hi,
>
> [auto build test ERROR on v4.7-rc1]
> [also build test ERROR on next-20160603]
> [cannot apply to robh/for-next soc-thermal/next]
> [if your patch is applied to the wrong git tree, please drop us a note to help
> improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Jia-Hongtao/dt-bindings-
> Update-QorIQ-TMU-thermal-bindings/20160603-154428
> config: um-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=um
>
> All errors (new ones prefixed by >>):
>
> drivers/thermal/qoriq_thermal.c: In function 'qoriq_tmu_probe':
> >> drivers/thermal/qoriq_thermal.c:255:2: error: implicit declaration of
> function 'iounmap' [-Werror=implicit-function-declaration]
> iounmap(data->regs);
> ^~~~~~~
> cc1: some warnings being treated as errors
>
> vim +/iounmap +255 drivers/thermal/qoriq_thermal.c
>
> 249 site |= 0x1 << (15 - data->sensor_id);
> 250 tmu_write(data, site | TMR_ME | TMR_ALPF, &data->regs-
> >tmr);
> 251
> 252 return 0;
> 253
> 254 err_tmu:
> > 255 iounmap(data->regs);
> 256
> 257 err_iomap:
> 258 platform_set_drvdata(pdev, NULL);
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation