[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201606031329.OCxZ4vPm%fengguang.wu@intel.com>
Date: Fri, 3 Jun 2016 13:14:57 +0800
From: kbuild test robot <lkp@...el.com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: kbuild-all@...org, daniel.lezcano@...aro.org, tglx@...utronix.de,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/6] clocksource/drivers/armv7m_systick: Add the
COMPILE_TEST option
Hi,
[auto build test ERROR on tip/timers/core]
[also build test ERROR on v4.7-rc1 next-20160602]
[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/Daniel-Lezcano/clk-Add-missing-clk_get_sys-stub/20160603-054643
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/clocksource/armv7m_systick.c: In function 'system_timer_of_register':
>> drivers/clocksource/armv7m_systick.c:74:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
iounmap(base);
^~~~~~~
cc1: some warnings being treated as errors
vim +/iounmap +74 drivers/clocksource/armv7m_systick.c
4958ebb3 Maxime Coquelin 2015-05-09 58 pr_err("failed to init clocksource (%d)\n", ret);
4958ebb3 Maxime Coquelin 2015-05-09 59 if (clk)
4958ebb3 Maxime Coquelin 2015-05-09 60 goto out_clk_disable;
4958ebb3 Maxime Coquelin 2015-05-09 61 else
4958ebb3 Maxime Coquelin 2015-05-09 62 goto out_unmap;
4958ebb3 Maxime Coquelin 2015-05-09 63 }
4958ebb3 Maxime Coquelin 2015-05-09 64
4958ebb3 Maxime Coquelin 2015-05-09 65 pr_info("ARM System timer initialized as clocksource\n");
4958ebb3 Maxime Coquelin 2015-05-09 66
4958ebb3 Maxime Coquelin 2015-05-09 67 return;
4958ebb3 Maxime Coquelin 2015-05-09 68
4958ebb3 Maxime Coquelin 2015-05-09 69 out_clk_disable:
4958ebb3 Maxime Coquelin 2015-05-09 70 clk_disable_unprepare(clk);
4958ebb3 Maxime Coquelin 2015-05-09 71 out_clk_put:
4958ebb3 Maxime Coquelin 2015-05-09 72 clk_put(clk);
4958ebb3 Maxime Coquelin 2015-05-09 73 out_unmap:
4958ebb3 Maxime Coquelin 2015-05-09 @74 iounmap(base);
4958ebb3 Maxime Coquelin 2015-05-09 75 pr_warn("ARM System timer register failed (%d)\n", ret);
4958ebb3 Maxime Coquelin 2015-05-09 76 }
4958ebb3 Maxime Coquelin 2015-05-09 77
4958ebb3 Maxime Coquelin 2015-05-09 78 CLOCKSOURCE_OF_DECLARE(arm_systick, "arm,armv7m-systick",
4958ebb3 Maxime Coquelin 2015-05-09 79 system_timer_of_register);
:::::: The code at line 74 was first introduced by commit
:::::: 4958ebb3d027886c46b936453745dba59b09c578 clocksource/drivers/armv7m_systick: Add ARM System timer driver
:::::: TO: Maxime Coquelin <mcoquelin.stm32@...il.com>
:::::: CC: Daniel Lezcano <daniel.lezcano@...aro.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (17713 bytes)
Powered by blists - more mailing lists