From: kbuild test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@01.org, Michael Ellerman <mpe@ellerman.id.au>,
Paul Mackerras <paulus@samba.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
linuxppc-dev@lists.ozlabs.org, Arnd Bergmann <arnd@arndb.de>,
Vitaly Bordug <vitb@kernel.crashing.org>,
Geoff Levand <geoff@infradead.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/5] powerpc: use time64_t in read_persistent_clock
Date: Tue, 24 Apr 2018 13:29:19 +0800 [thread overview]
Message-ID: <201804241128.zOGph6r8%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180423081114.1813726-3-arnd@arndb.de>
[-- Attachment #1: Type: text/plain, Size: 2623 bytes --]
Hi Arnd,
I love your patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.17-rc2 next-20180423]
[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/Arnd-Bergmann/powerpc-always-enable-RTC_LIB/20180423-223504
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc64-defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc64
All errors (new ones prefixed by >>):
arch/powerpc/platforms/maple/time.c: In function 'maple_get_boot_time':
>> arch/powerpc/platforms/maple/time.c:173:9: error: implicit declaration of function 'rtc_tm_to_time66'; did you mean 'rtc_tm_to_time64'? [-Werror=implicit-function-declaration]
return rtc_tm_to_time66(&tm);
^~~~~~~~~~~~~~~~
rtc_tm_to_time64
cc1: all warnings being treated as errors
vim +173 arch/powerpc/platforms/maple/time.c
139
140 time64_t __init maple_get_boot_time(void)
141 {
142 struct rtc_time tm;
143 struct device_node *rtcs;
144
145 rtcs = of_find_compatible_node(NULL, "rtc", "pnpPNP,b00");
146 if (rtcs) {
147 struct resource r;
148 if (of_address_to_resource(rtcs, 0, &r)) {
149 printk(KERN_EMERG "Maple: Unable to translate RTC"
150 " address\n");
151 goto bail;
152 }
153 if (!(r.flags & IORESOURCE_IO)) {
154 printk(KERN_EMERG "Maple: RTC address isn't PIO!\n");
155 goto bail;
156 }
157 maple_rtc_addr = r.start;
158 printk(KERN_INFO "Maple: Found RTC at IO 0x%x\n",
159 maple_rtc_addr);
160 }
161 bail:
162 if (maple_rtc_addr == 0) {
163 maple_rtc_addr = RTC_PORT(0); /* legacy address */
164 printk(KERN_INFO "Maple: No device node for RTC, assuming "
165 "legacy address (0x%x)\n", maple_rtc_addr);
166 }
167
168 rtc_iores.start = maple_rtc_addr;
169 rtc_iores.end = maple_rtc_addr + 7;
170 request_resource(&ioport_resource, &rtc_iores);
171
172 maple_get_rtc_time(&tm);
> 173 return rtc_tm_to_time66(&tm);
174 }
175
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23368 bytes --]
next prev parent reply other threads:[~2018-04-24 5:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-23 8:10 [PATCH 1/5] powerpc: always enable RTC_LIB Arnd Bergmann
2018-04-23 8:10 ` [PATCH 2/5] powerpc: rtas: clean up time handling Arnd Bergmann
2018-04-23 8:32 ` Arnd Bergmann
2018-04-23 8:10 ` [PATCH 3/5] powerpc: use time64_t in read_persistent_clock Arnd Bergmann
2018-04-23 8:28 ` Arnd Bergmann
2018-04-24 5:29 ` kbuild test robot [this message]
2018-04-23 8:10 ` [PATCH 4/5] powerpc: use time64_t in update_persistent_clock Arnd Bergmann
2018-04-23 8:10 ` [PATCH 5/5] powerpc: remove unused to_tm() helper Arnd Bergmann
-- strict thread matches above, loose matches on Subject: below --
2018-04-23 8:36 [PATCH 1/5] powerpc: always enable RTC_LIB Arnd Bergmann
2018-04-23 8:36 ` [PATCH 3/5] powerpc: use time64_t in read_persistent_clock Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201804241128.zOGph6r8%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=benh@kernel.crashing.org \
--cc=geoff@infradead.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
--cc=vitb@kernel.crashing.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).