* [sashal-linux-stable:queue-4.4 22/34] drivers/acpi/numa.c:49:43: error: 'numa_off' undeclared; did you mean
@ 2020-11-03 8:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-03 8:58 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2958 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.4
head: c3c449fe8b08850b9146f83fad26701575cfd387
commit: 8603591e9f729fc0ec7a91664ee068931c6fb01a [22/34] ACPI: Add out of bounds and numa_off protections to pxm_to_node()
config: ia64-randconfig-r024-20201102 (attached as .config)
compiler: ia64-linux-gcc (GCC) 7.5.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=8603591e9f729fc0ec7a91664ee068931c6fb01a
git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-4.4
git checkout 8603591e9f729fc0ec7a91664ee068931c6fb01a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=ia64
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 >>):
In file included from arch/ia64/include/asm/processor.h:19:0,
from arch/ia64/include/asm/thread_info.h:11,
from include/linux/thread_info.h:58,
from include/asm-generic/preempt.h:4,
from arch/ia64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from drivers/acpi/numa.c:21:
arch/ia64/include/asm/ptrace.h: In function 'is_syscall_success':
arch/ia64/include/asm/ptrace.h:62:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return regs->r10 != -1;
^~
drivers/acpi/numa.c: In function 'pxm_to_node':
>> drivers/acpi/numa.c:49:43: error: 'numa_off' undeclared (first use in this function); did you mean 'numa_node'?
if (pxm < 0 || pxm >= MAX_PXM_DOMAINS || numa_off)
^~~~~~~~
numa_node
drivers/acpi/numa.c:49:43: note: each undeclared identifier is reported only once for each function it appears in
vim +49 drivers/acpi/numa.c
46
47 int pxm_to_node(int pxm)
48 {
> 49 if (pxm < 0 || pxm >= MAX_PXM_DOMAINS || numa_off)
50 return NUMA_NO_NODE;
51 return pxm_to_node_map[pxm];
52 }
53
---
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: 24284 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-03 8:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-03 8:58 [sashal-linux-stable:queue-4.4 22/34] drivers/acpi/numa.c:49:43: error: 'numa_off' undeclared; did you mean kernel test robot
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.