summaryrefslogtreecommitdiff
path: root/tools/arch
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-03-24 14:45:02 +0000
committerIngo Molnar <mingo@kernel.org>2021-03-25 13:07:58 +0100
commit2304d14db6595bea5292bece06c4c625b12d8f89 (patch)
tree5dc092d56a97fd8f0085708e68a826bbe15a81a1 /tools/arch
parent2f706e0e5e263c0d204e37ea496cbb0e98aac2d2 (diff)
x86/kprobes: Move 'inline' to the beginning of the kprobe_is_ss() declaration
Address this GCC warning: 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) | ^~~~~~ [ mingo: Tidied up the changelog. ] Fixes: 6256e668b7af: ("x86/kprobes: Use int3 instead of debug trap for single-step") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Link: https://lore.kernel.org/r/20210324144502.1154883-1-weiyongjun1@huawei.com
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions