From: kbuild test robot <lkp@intel.com>
To: Channagoud Kadabi <ckadabi@codeaurora.org>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org,
tglx@linuxtronix.de, Channagoud Kadabi <ckadabi@codeaurora.org>,
rusty@rustcorp.com.au, tj@kernel.org, akpm@linux-foundation.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] kernel: cpu: send CPU_UP_CANCELLED notification
Date: Sat, 15 Jul 2017 16:03:29 +0800 [thread overview]
Message-ID: <201707151527.70LDnqI3%fengguang.wu@intel.com> (raw)
In-Reply-To: <1500069028-24269-1-git-send-email-ckadabi@codeaurora.org>
[-- Attachment #1: Type: text/plain, Size: 1868 bytes --]
Hi Channagoud,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.12 next-20170714]
[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/Channagoud-Kadabi/kernel-cpu-send-CPU_UP_CANCELLED-notification/20170715-152954
config: x86_64-randconfig-x019-201728 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
kernel/cpu.c: In function 'cpuhp_up_callbacks':
>> kernel/cpu.c:368:4: error: implicit declaration of function 'cpu_notify' [-Werror=implicit-function-declaration]
cpu_notify(CPU_UP_CANCELED, cpu);
^~~~~~~~~~
>> kernel/cpu.c:368:15: error: 'CPU_UP_CANCELED' undeclared (first use in this function)
cpu_notify(CPU_UP_CANCELED, cpu);
^~~~~~~~~~~~~~~
kernel/cpu.c:368:15: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
vim +/cpu_notify +368 kernel/cpu.c
355
356 static int cpuhp_up_callbacks(unsigned int cpu, struct cpuhp_cpu_state *st,
357 enum cpuhp_state target)
358 {
359 enum cpuhp_state prev_state = st->state;
360 int ret = 0;
361
362 while (st->state < target) {
363 st->state++;
364 ret = cpuhp_invoke_callback(cpu, st->state, true, NULL);
365 if (ret) {
366 st->target = prev_state;
367 undo_cpu_up(cpu, st);
> 368 cpu_notify(CPU_UP_CANCELED, cpu);
369 break;
370 }
371 }
372 return ret;
373 }
374
---
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: 30650 bytes --]
prev parent reply other threads:[~2017-07-15 8:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 21:50 Channagoud Kadabi
2017-07-15 6:38 ` Greg KH
2017-07-15 8:03 ` kbuild test robot [this message]
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=201707151527.70LDnqI3%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=ckadabi@codeaurora.org \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=stable@vger.kernel.org \
--cc=tglx@linuxtronix.de \
--cc=tj@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
all inboxes | Powered by JetHome®