Re: [PATCH -next] x86/kprobes: Fix old-style-declaration warning

2021-03-24 Thread Masami Hiramatsu
On Wed, 24 Mar 2021 14:45:02 + 'Wei Yongjun wrote: > From: Wei Yongjun > > Gcc reports build warning as follows: > > arch/x86/kernel/kprobes/core.c:940:1: > warning: 'inline' is not at beginning of declaration > [-Wold-style-declaration] > 940 | static int nokprobe_inline

[PATCH -next] x86/kprobes: Fix old-style-declaration warning

2021-03-24 Thread 'Wei Yongjun
From: Wei Yongjun Gcc reports build warning as follows: arch/x86/kernel/kprobes/core.c:940:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 940 | static int nokprobe_inline kprobe_is_ss(struct kprobe_ctlblk *kcb) | ^~ This commit fix it by moving