From: kbuild test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: kbuild-all@01.org, Satendra Singh Thakur <sst2005@gmail.com>,
satendrasingh.thakur@hcl.com, Ingo Molnar <mingo@redhat.com>,
Will Deacon <will@kernel.org>,
linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: sched,time: Allow better constprop/DCE for schedule_timeout()
Date: Tue, 27 Aug 2019 09:26:36 +0800 [thread overview]
Message-ID: <201908270918.VOyyiSjF%lkp@intel.com> (raw)
In-Reply-To: <20190826142557.GM2386@hirez.programming.kicks-ass.net>
[-- Attachment #1: Type: text/plain, Size: 2192 bytes --]
Hi Peter,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc6 next-20190826]
[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/Peter-Zijlstra/sched-time-Allow-better-constprop-DCE-for-schedule_timeout/20190827-061612
config: x86_64-lkp (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/uaccess.h:5:0,
from include/linux/crypto.h:21,
from arch/x86/kernel/asm-offsets.c:9:
include/linux/sched.h: In function 'schedule_timeout':
>> include/linux/sched.h:222:3: error: implicit declaration of function 'schedule' [-Werror=implicit-function-declaration]
schedule();
^~~~~~~~
include/linux/sched.h: At top level:
include/linux/sched.h:233:17: warning: conflicting types for 'schedule'
asmlinkage void schedule(void);
^~~~~~~~
include/linux/sched.h:222:3: note: previous implicit declaration of 'schedule' was here
schedule();
^~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
18 real 10 user 3 sys 78.71% cpu make prepare
vim +/schedule +222 include/linux/sched.h
218
219 static inline long schedule_timeout(long timeout)
220 {
221 if (__builtin_constant_p(timeout) && timeout == MAX_SCHEDULE_TIMEOUT) {
> 222 schedule();
223 return timeout;
224 }
225
226 return __schedule_timeout(timeout);
227 }
228
---
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: 27702 bytes --]
next prev parent reply other threads:[~2019-08-27 1:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-12 5:31 [PATCH] [semaphore] Removed redundant code from semaphore's down family of function Satendra Singh Thakur
2019-08-12 9:12 ` Will Deacon
2019-08-12 13:48 ` [PATCH v1] " Satendra Singh Thakur
2019-08-22 15:51 ` Peter Zijlstra
2019-08-24 3:50 ` Satendra Singh Thakur
2019-08-26 14:14 ` Peter Zijlstra
2019-08-26 14:25 ` Peter Zijlstra
2019-08-27 0:06 ` sched,time: Allow better constprop/DCE for schedule_timeout() kbuild test robot
2019-08-27 1:26 ` kbuild test robot [this message]
2019-08-30 10:40 ` [PATCH v1] [semaphore] Removed redundant code from semaphore's down family of function Satendra Singh Thakur
2019-08-30 10:46 ` Peter Zijlstra
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=201908270918.VOyyiSjF%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=satendrasingh.thakur@hcl.com \
--cc=sst2005@gmail.com \
--cc=tglx@linutronix.de \
--cc=will@kernel.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
Powered by JetHome