From: kernel test robot <lkp@intel.com>
To: YueHaibing <yuehaibing@huawei.com>,
dan.j.williams@intel.com, vishal.l.verma@intel.com,
dave.jiang@intel.com, ira.weiny@intel.com, mingo@kernel.org
Cc: kbuild-all@lists.01.org, linux-nvdimm@lists.01.org,
linux-kernel@vger.kernel.org, YueHaibing <yuehaibing@huawei.com>
Subject: Re: [PATCH] libnvdimm/e820: Fix build error without MEMORY_HOTPLUG
Date: Thu, 27 Aug 2020 04:22:00 +0800 [thread overview]
Message-ID: <202008270417.2e1Gcd45%lkp@intel.com> (raw)
In-Reply-To: <20200826121800.732-1-yuehaibing@huawei.com>
Hi YueHaibing,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linux-nvdimm/libnvdimm-for-next]
[also build test ERROR on v5.9-rc2 next-20200826]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/YueHaibing/libnvdimm-e820-Fix-build-error-without-MEMORY_HOTPLUG/20200826-202043
base: https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git libnvdimm-for-next
config: x86_64-randconfig-r014-20200826 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/nvdimm/e820.c:21:19: error: static declaration of 'phys_to_target_node' follows non-static declaration
21 | static inline int phys_to_target_node(u64 start)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/nodemask.h:96,
from arch/x86/include/asm/numa.h:5,
from arch/x86/include/asm/acpi.h:11,
from arch/x86/include/asm/fixmap.h:29,
from arch/x86/include/asm/apic.h:11,
from arch/x86/include/asm/smp.h:13,
from include/linux/smp.h:82,
from include/linux/percpu.h:7,
from include/linux/hrtimer.h:19,
from include/linux/sched.h:20,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/platform_device.h:13,
from drivers/nvdimm/e820.c:6:
include/linux/numa.h:31:5: note: previous declaration of 'phys_to_target_node' was here
31 | int phys_to_target_node(phys_addr_t addr);
| ^~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/4c003ae129dccea4445a55e9e2c61de5922fbd37
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review YueHaibing/libnvdimm-e820-Fix-build-error-without-MEMORY_HOTPLUG/20200826-202043
git checkout 4c003ae129dccea4445a55e9e2c61de5922fbd37
vim +/phys_to_target_node +21 drivers/nvdimm/e820.c
19
20 #ifndef CONFIG_MEMORY_HOTPLUG
> 21 static inline int phys_to_target_node(u64 start)
22 {
23 return 0;
24 }
25 #endif
26
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-leave@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] libnvdimm/e820: Fix build error without MEMORY_HOTPLUG
Date: Thu, 27 Aug 2020 04:22:00 +0800 [thread overview]
Message-ID: <202008270417.2e1Gcd45%lkp@intel.com> (raw)
In-Reply-To: <20200826121800.732-1-yuehaibing@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 2881 bytes --]
Hi YueHaibing,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linux-nvdimm/libnvdimm-for-next]
[also build test ERROR on v5.9-rc2 next-20200826]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/YueHaibing/libnvdimm-e820-Fix-build-error-without-MEMORY_HOTPLUG/20200826-202043
base: https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git libnvdimm-for-next
config: x86_64-randconfig-r014-20200826 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/nvdimm/e820.c:21:19: error: static declaration of 'phys_to_target_node' follows non-static declaration
21 | static inline int phys_to_target_node(u64 start)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/nodemask.h:96,
from arch/x86/include/asm/numa.h:5,
from arch/x86/include/asm/acpi.h:11,
from arch/x86/include/asm/fixmap.h:29,
from arch/x86/include/asm/apic.h:11,
from arch/x86/include/asm/smp.h:13,
from include/linux/smp.h:82,
from include/linux/percpu.h:7,
from include/linux/hrtimer.h:19,
from include/linux/sched.h:20,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/platform_device.h:13,
from drivers/nvdimm/e820.c:6:
include/linux/numa.h:31:5: note: previous declaration of 'phys_to_target_node' was here
31 | int phys_to_target_node(phys_addr_t addr);
| ^~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/4c003ae129dccea4445a55e9e2c61de5922fbd37
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review YueHaibing/libnvdimm-e820-Fix-build-error-without-MEMORY_HOTPLUG/20200826-202043
git checkout 4c003ae129dccea4445a55e9e2c61de5922fbd37
vim +/phys_to_target_node +21 drivers/nvdimm/e820.c
19
20 #ifndef CONFIG_MEMORY_HOTPLUG
> 21 static inline int phys_to_target_node(u64 start)
22 {
23 return 0;
24 }
25 #endif
26
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30870 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: YueHaibing <yuehaibing@huawei.com>,
dan.j.williams@intel.com, vishal.l.verma@intel.com,
dave.jiang@intel.com, ira.weiny@intel.com, mingo@kernel.org
Cc: kbuild-all@lists.01.org, linux-nvdimm@lists.01.org,
linux-kernel@vger.kernel.org, YueHaibing <yuehaibing@huawei.com>
Subject: Re: [PATCH] libnvdimm/e820: Fix build error without MEMORY_HOTPLUG
Date: Thu, 27 Aug 2020 04:22:00 +0800 [thread overview]
Message-ID: <202008270417.2e1Gcd45%lkp@intel.com> (raw)
In-Reply-To: <20200826121800.732-1-yuehaibing@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 2816 bytes --]
Hi YueHaibing,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linux-nvdimm/libnvdimm-for-next]
[also build test ERROR on v5.9-rc2 next-20200826]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/YueHaibing/libnvdimm-e820-Fix-build-error-without-MEMORY_HOTPLUG/20200826-202043
base: https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git libnvdimm-for-next
config: x86_64-randconfig-r014-20200826 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/nvdimm/e820.c:21:19: error: static declaration of 'phys_to_target_node' follows non-static declaration
21 | static inline int phys_to_target_node(u64 start)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/nodemask.h:96,
from arch/x86/include/asm/numa.h:5,
from arch/x86/include/asm/acpi.h:11,
from arch/x86/include/asm/fixmap.h:29,
from arch/x86/include/asm/apic.h:11,
from arch/x86/include/asm/smp.h:13,
from include/linux/smp.h:82,
from include/linux/percpu.h:7,
from include/linux/hrtimer.h:19,
from include/linux/sched.h:20,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/platform_device.h:13,
from drivers/nvdimm/e820.c:6:
include/linux/numa.h:31:5: note: previous declaration of 'phys_to_target_node' was here
31 | int phys_to_target_node(phys_addr_t addr);
| ^~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/4c003ae129dccea4445a55e9e2c61de5922fbd37
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review YueHaibing/libnvdimm-e820-Fix-build-error-without-MEMORY_HOTPLUG/20200826-202043
git checkout 4c003ae129dccea4445a55e9e2c61de5922fbd37
vim +/phys_to_target_node +21 drivers/nvdimm/e820.c
19
20 #ifndef CONFIG_MEMORY_HOTPLUG
> 21 static inline int phys_to_target_node(u64 start)
22 {
23 return 0;
24 }
25 #endif
26
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30870 bytes --]
next prev parent reply other threads:[~2020-08-26 20:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-26 12:18 [PATCH] libnvdimm/e820: Fix build error without MEMORY_HOTPLUG YueHaibing
2020-08-26 12:18 ` YueHaibing
2020-08-26 15:28 ` kernel test robot
2020-08-26 15:28 ` kernel test robot
2020-08-26 15:28 ` kernel test robot
2020-08-26 16:34 ` kernel test robot
2020-08-26 16:34 ` kernel test robot
2020-08-26 16:34 ` kernel test robot
2020-08-26 20:22 ` kernel test robot [this message]
2020-08-26 20:22 ` kernel test robot
2020-08-26 20:22 ` kernel test robot
2020-08-27 3:54 ` Yuehaibing
2020-08-27 3:54 ` Yuehaibing
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=202008270417.2e1Gcd45%lkp@intel.com \
--to=lkp@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=ira.weiny@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvdimm@lists.01.org \
--cc=mingo@kernel.org \
--cc=vishal.l.verma@intel.com \
--cc=yuehaibing@huawei.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.