Files
android_kernel_xiaomi_sm8450/arch/x86/kernel
Wei Yongjun f07f3938c8 x86/kprobes: Move 'inline' to the beginning of the kprobe_is_ss() declaration
[ Upstream commit 2304d14db6595bea5292bece06c4c625b12d8f89 ]

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
Signed-off-by: Li Huafei <lihuafei1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-11 11:57:46 +02:00
..
2023-08-08 19:57:37 +02:00
2022-07-21 21:20:17 +02:00
2022-07-25 11:26:45 +02:00
2022-07-25 11:26:36 +02:00
2023-03-11 16:39:23 +01:00
2020-06-02 10:59:12 -07:00
2020-08-20 13:12:58 +02:00
2020-07-27 14:31:07 -04:00
2020-07-27 14:31:07 -04:00