[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201709160538.8Y9H2DDl%fengguang.wu@intel.com>
Date: Sat, 16 Sep 2017 05:32:46 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: John Ogness <john.ogness@...utronix.de>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
tipbuild@...or.com, Thomas Gleixner <tglx@...utronix.de>,
Andy Lutomirski <luto@...nel.org>
Subject: [tip:core/urgent 1/1] arch/alpha/include/asm/ptrace.h:14:24: error:
implicit declaration of function 'task_stack_page'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/urgent
head: 451eb3f2053ea4eeb40f94947c542cfbd7636186
commit: 451eb3f2053ea4eeb40f94947c542cfbd7636186 [1/1] fs/proc: Report eip/esp in /prod/PID/stat for coredumping
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 451eb3f2053ea4eeb40f94947c542cfbd7636186
# save the attached .config to linux build tree
make.cross ARCH=alpha
All error/warnings (new ones prefixed by >>):
In file included from include/linux/irq.h:28:0,
from include/asm-generic/hardirq.h:12,
from arch/alpha/include/asm/hardirq.h:7,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from include/linux/kernel_stat.h:8,
from fs/proc/array.c:59:
fs/proc/array.c: In function 'do_task_stat':
>> arch/alpha/include/asm/ptrace.h:14:24: error: implicit declaration of function 'task_stack_page' [-Werror=implicit-function-declaration]
((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1)
^
>> arch/alpha/include/asm/processor.h:55:24: note: in expansion of macro 'task_pt_regs'
#define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
^~~~~~~~~~~~
fs/proc/array.c:430:10: note: in expansion of macro 'KSTK_EIP'
eip = KSTK_EIP(task);
^~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/irq.h:28:0,
from include/asm-generic/hardirq.h:12,
from arch/alpha/include/asm/hardirq.h:7,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from include/linux/kernel_stat.h:8,
from fs//proc/array.c:59:
fs//proc/array.c: In function 'do_task_stat':
>> arch/alpha/include/asm/ptrace.h:14:24: error: implicit declaration of function 'task_stack_page' [-Werror=implicit-function-declaration]
((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1)
^
>> arch/alpha/include/asm/processor.h:55:24: note: in expansion of macro 'task_pt_regs'
#define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
^~~~~~~~~~~~
fs//proc/array.c:430:10: note: in expansion of macro 'KSTK_EIP'
eip = KSTK_EIP(task);
^~~~~~~~
cc1: some warnings being treated as errors
vim +/task_stack_page +14 arch/alpha/include/asm/ptrace.h
^1da177e include/asm-alpha/ptrace.h Linus Torvalds 2005-04-16 12
e52f4ca2 include/asm-alpha/ptrace.h akpm@...l.org 2006-01-12 13 #define task_pt_regs(task) \
27f45130 include/asm-alpha/ptrace.h Al Viro 2006-01-12 @14 ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1)
^1da177e include/asm-alpha/ptrace.h Linus Torvalds 2005-04-16 15
:::::: The code at line 14 was first introduced by commit
:::::: 27f451304aa6f2bccf34ef3c2b049c01d05d6fff [PATCH] alpha: task_stack_page()
:::::: TO: Al Viro <viro@....linux.org.uk>
:::::: CC: Linus Torvalds <torvalds@...osdl.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (51645 bytes)
Powered by blists - more mailing lists