[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510091403.6zgr6kRc%fengguang.wu@intel.com>
Date: Fri, 9 Oct 2015 14:41:19 +0800
From: kbuild test robot <lkp@...el.com>
To: AKASHI Takahiro <takahiro.akashi@...aro.org>
Cc: kbuild-all@...org, catalin.marinas@....com, will.deacon@....com,
rostedt@...dmis.org, jungseoklee85@...il.com, olof@...om.net,
broonie@...nel.org, david.griego@...aro.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
AKASHI Takahiro <takahiro.akashi@...aro.org>
Subject: Re: [PATCH v3 7/7] arm64: ftrace: add arch-specific stack tracer
Hi AKASHI,
[auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore]
config: arm64-defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64
All warnings (new ones prefixed by >>):
In file included from arch/arm64/kernel/process.c:53:0:
>> arch/arm64/include/asm/stacktrace.h:28:40: warning: 'struct stack_trace' declared inside parameter list
extern void save_stack_trace_sp(struct stack_trace *trace, unsigned long *sp);
^
>> arch/arm64/include/asm/stacktrace.h:28:40: warning: its scope is only this definition or declaration, which is probably not what you want
vim +28 arch/arm64/include/asm/stacktrace.h
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16 #ifndef __ASM_STACKTRACE_H
17 #define __ASM_STACKTRACE_H
18
19 struct stackframe {
20 unsigned long fp;
21 unsigned long sp;
22 unsigned long pc;
23 };
24
25 extern int unwind_frame(struct stackframe *frame);
26 extern void walk_stackframe(struct stackframe *frame,
27 int (*fn)(struct stackframe *, void *), void *data);
> 28 extern void save_stack_trace_sp(struct stack_trace *trace, unsigned long *sp);
29
30 #endif /* __ASM_STACKTRACE_H */
---
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/octet-stream" (16486 bytes)
Powered by blists - more mailing lists