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

Hongtao Jia hongtao.jia at nxp.com
Sun Jun 12 18:58:42 AEST 2016


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 at intel.com]
> 发送时间: Monday, June 06, 2016 1:52 AM
> 收件人: Hongtao Jia <hongtao.jia at nxp.com>
> 抄送: kbuild-all at 01.org; edubezval at gmail.com; rui.zhang at intel.com;
> robh+dt at kernel.org; galak at codeaurora.org; Scott Wood
> <scott.wood at nxp.com>; shawnguo at kernel.org; linux-pm at vger.kernel.org;
> devicetree at vger.kernel.org; linux-kernel at vger.kernel.org; linuxppc-
> dev at lists.ozlabs.org; linux-arm-kernel at lists.infradead.org; Hongtao Jia
> <hongtao.jia at nxp.com>
> 主题: 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


More information about the Linuxppc-dev mailing list