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

From: Hongtao Jia <hidden>
Date: 2016-06-12 09:33:08
Also in: linux-devicetree, linuxppc-dev, lkml

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@intel.com]
发送时间: Monday, June 06, 2016 1:52 AM
收件人: Hongtao Jia [off-list ref]
抄送: kbuild-all@01.org; edubezval@gmail.com; rui.zhang@intel.com;
robh+dt@kernel.org; galak@codeaurora.org; Scott Wood
[off-list ref]; shawnguo@kernel.org; linux-pm@vger.kernel.org;
devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; linuxppc-
dev@lists.ozlabs.org; linux-arm-kernel@lists.infradead.org; Hongtao Jia
[off-list ref]
主题: 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':
quoted
quoted
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-
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help