[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201512042206.iTWg9N2r%fengguang.wu@intel.com>
Date: Fri, 4 Dec 2015 22:38:36 +0800
From: kbuild test robot <lkp@...el.com>
To: Yoshinori Sato <ysato@...rs.sourceforge.jp>
Cc: kbuild-all@...org, Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/5] clocksource: h8300: Use ioread / iowrite
Hi Yoshinori,
[auto build test ERROR on daniel.lezcano/clockevents/next]
[also build test ERROR on next-20151203]
[cannot apply to uclinux-h8/h8300-next v4.4-rc3]
url: https://github.com/0day-ci/linux/commits/Yoshinori-Sato/clocksource-h8300-driver-update/20151204-201553
base: http://git.linaro.org/people/daniel.lezcano/linux clockevents/next
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/clocksource/h8300_timer8.c: In function 'timer8_interrupt':
>> drivers/clocksource/h8300_timer8.c:50:2: error: implicit declaration of function 'ctrl_bclr' [-Werror=implicit-function-declaration]
ctrl_bclr(CMFA, p->mapbase + _8TCSR);
^
drivers/clocksource/h8300_timer8.c: In function 'timer8_set_next':
>> drivers/clocksource/h8300_timer8.c:63:2: error: implicit declaration of function 'ctrl_bset' [-Werror=implicit-function-declaration]
ctrl_bset(CMIEA, p->mapbase + _8TCR);
^
cc1: some warnings being treated as errors
--
drivers/clocksource/h8300_timer16.c: In function 'timer16_interrupt':
>> drivers/clocksource/h8300_timer16.c:61:2: error: implicit declaration of function 'ctrl_bclr' [-Werror=implicit-function-declaration]
ctrl_bclr(p->ovf, p->mapcommon + TISRC);
^
drivers/clocksource/h8300_timer16.c: In function 'timer16_enable':
>> drivers/clocksource/h8300_timer16.c:92:2: error: implicit declaration of function 'ctrl_bset' [-Werror=implicit-function-declaration]
ctrl_bset(p->ovie, p->mapcommon + TISRC);
^
cc1: some warnings being treated as errors
vim +/ctrl_bclr +50 drivers/clocksource/h8300_timer8.c
44
45 if (clockevent_state_oneshot(&p->ced))
46 iowrite16be(0x0000, p->mapbase + _8TCR);
47
48 p->ced.event_handler(&p->ced);
49
> 50 ctrl_bclr(CMFA, p->mapbase + _8TCSR);
51
52 return IRQ_HANDLED;
53 }
54
55 static void timer8_set_next(struct timer8_priv *p, unsigned long delta)
56 {
57 if (delta >= 0x10000)
58 pr_warn("delta out of range\n");
59 ctrl_bclr(CMIEA, p->mapbase + _8TCR);
60 iowrite16be(delta, p->mapbase + TCORA);
61 iowrite16be(0x0000, p->mapbase + _8TCNT);
62 ctrl_bclr(CMFA, p->mapbase + _8TCSR);
> 63 ctrl_bset(CMIEA, p->mapbase + _8TCR);
64 }
65
66 static int timer8_enable(struct timer8_priv *p)
---
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" (51717 bytes)
Powered by blists - more mailing lists